Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
How to suppress rows having all entries as ZEROs?

I have a report let us say has following output. In the below table, if I wish to suppress the rows where all columns are zero what should I do?
How to achieve this functionality? Kindly help.
Regards
-vinod
Answers
-
Depends on what your columns composing the rows are.
Are they independent measures? If yes => add a filter to not select when they are all zeros.
0 -
Can you please explain a bit more? I would like to understand what you mean by "independent measures"?
At the report level, I have very generic filter like
- Product ID is equal to / is in xxxx;
For each column, I further have column formula defined differently. For example - I have defined for 2 columns as followsColumn 1: All bugs
SUM(CASE WHEN ("Bug Header"."Status" IN (11, 17, 25, 26, 30, 40, 87) then 1 else 0 END)
Column 2 : Sev 1,2 Bugs
SUM(CASE WHEN ("BUG HEADER"."SEVERITY" IN (1,2) AND "Bug Header"."Status" IN (10, 16, 11,17, 25, 26, 30, 40, 87)) then 1 else 0 END)So in such cases, how do I still suppress rows which has all ZERO return values?
Thanks,
-vinod0 -
Edit: @Gianni Ceresa ok smart-ass, go ahead and explain the whole, full concept to the OP
1 -
Just apply De Morgan's laws : you want a NOT(A=0 AND B=0 etc), so the filter is A<>0 OR B<>0 etc.
Build a filter with all your columns in that way (with <> 0 and OR between the conditions), if the row is only 0 it isn't returned.
0 -
Did you give up on that one?
0 -
Looks like it
0 -
Well, each column is not simple and they themselves are of summary type. So wasn't sure how to go about it. Hence didn't pursue.
0 -
You could at least comment as to whether Gianni's alternative works
0 -
Hence the main issue with build facts logically at report run time ...
0 -
in filter fx add those columns (column1+column2+column3+..ColumnN) > 0 as a condition.
0