I have a report which shows data as follows,
Source Count
Internal 200
External 300
Miscellaneous 100
The expression for source is as follows "case when Source is null then 'Miscellaneous' else Source end"
The drill through is made on the 'count column' values.
So, when we click the count column corresponding to each source, the drillthrough keeps on running.
In the drillthrough, I have written the filter as "case when Source is null then 'Miscellaneous' else Source end" is prompted.
When I include the above filter the report runs for a long time.
When I exclude that, I get the drillthrough in seconds but the count doesn't match as the data is not filtered.
Any feedback on how to optimize?
Related
I created an item record saved search that also uses transaction data. The results load in 20-30 seconds, awesome. But, as soon as I try to do any of the 3 items below, the report runs and runs and times out without results. I would like to know why? Hopefully, this will give me a better understanding of how the Netsuite engine works.
Set the Results Sort by Formula Numeric (first formula is "Alert Level")
Export results to Excel
Click the "Alert Level" column to sort
I have two different reports in Cognos.
Whereas in both the reports I have the field called "%Target".
In the report 1 the field is directly coming from db and in the report 2 the field is formulated.
My question is for e.g. if a value is 98.47% (directly coming from db) in report 1 where after applying formatting it give me the rounded value as 98.5% but however in report 2 (where the field is calculated e.g. A/B) this value is populated as 98.4%
Can anyone please explain why this happening.
However I tried using ceiling function. But nothing is working on the report.
I created a crystal report and I have grouped my data with distinct count >1 like I have part number I filtered the parts the present more than once and I want to filter out the groups with a specific number at the group level like if the part number is present in specific stock sat 59 show all the stock number along with 59 for that specific part number?
it's really important for me so help me if anyone know's anything
Please describe your sample data properly as I understand you need to add group on stock_number and suppress group header and footer, after that by going 'Section Expert',select detail section click button against suppress then in formula windows, write formula
If({stock_number}=59) then false else true;
I have a report with 2 columns, both columns measure Sales. I would like 1 column to filter on a supplier while the second column would be overall sales so that I can compare the sales of the supplier to the total sales. This report would be used on a dashboard, however I cannot figure out how to get the total sales column to ignore the prompt for the supplier. Is there any clauses I can use to ignore the dashboard prompt for this one column?
Method:
The prompt sets the variable
Report A calls on the variable to tell it what to include
Report B calls on the variable to tell it what to exclude
How-to
Setup Prompt for “INCLUDE” variable.
Notice the "Set a variable" is set to Presentation Variable:
Report A
Report Filter: Setup Report Variable to accept “Include”:
Report B
**Save a copy of the report and say “is not equal to”
To compare the “All Other except for” report
Below is a simple example on a dashboard.
With no filter set, notice that the "exclude" side is showing all results:
A user must then select an item from the prompt (setting the "Include" variable)
Once the user presses apply you notice that the left side is including the selections and the right side is including everything EXCEPT for whats on the left side:
Pretty new to CR
I have a grouped survey report filtered by a parameter so (of course) all the summary's in the report are being filtered by the parameter.
I need a "average" summary on a group (question) that is not filtered by the parameter.
Not sure on how to go about this.
Thanks
There are many options to tackle this problem, but the one that will require the fewest changes to your report will be if you use a SQL Expression (basically a subquery) to get that unfiltered average.
Let's say that you're grouping your report by {table.group} and looking for the average of {table.number}. You could create an expression like:
case when "table"."group" is null then null
else (select average(number)
from table
where group="table"."group")
end
Note that the double-quoted fields refer back to the main query, so you're effectively correlating the average per group back to each row from the main report which can then be used in the Group Footer or Group Header.