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
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.
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
For each column, I further have column formula defined differently. For example - I have defined for 2 columns as follows
Column 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 BugsSUM(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,-vinod
Edit: @Gianni Ceresa ok smart-ass, go ahead and explain the whole, full concept to the OP
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.
Did you give up on that one?
Looks like it
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.
You could at least comment as to whether Gianni's alternative works
Hence the main issue with build facts logically at report run time ...
in filter fx add those columns (column1+column2+column3+..ColumnN) > 0 as a condition.