Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
Is it possible to filter Data in table report based on measure value ?
my Requirement is to eliminate rows where sum(M1+M2)=0
Dim | M1 | m2 |
AA | 100 | 344 |
BB | 655 | 33 |
CC | 333 | -333 |
DD | 44 | -44 |
EE | 234 | 4432 |
FF | 323 | -323 |
GG | 3534 | 666 |
e.g : in above example I want to Hide( Dim CC,DD,FF as sum of M1 & M2 =0 for these dim rows.) in my report.
Any help is highly appreciated.
Make your dimension a calculated one based on your condition you want to excluded
If(AGGR(SUM(M1)+SUM(M2),DIM)=0,NULL(),DIM)
Then exclude null values on the dimension.
Regards
Andy
Eliminate means you want to remove them permanently or want to hide them?
LOAD Dim,
M1,
M2
FROM
(ooxml, embedded labels, table is Sheet2)where (M1+M2)<> 0;
Hi Ishtdeep,
I want to hide them in my report.
Above is the answer. Let me know.
But there are other visualizations which are using same dimension, and if we restrict at load we gonna lose these dimension values permanently.
That means you need solution at UI level. Correct?
Make your dimension a calculated one based on your condition you want to excluded
If(AGGR(SUM(M1)+SUM(M2),DIM)=0,NULL(),DIM)
Then exclude null values on the dimension.
Regards
Andy
=if (SUM(M1)+ SUM(M2) <> 0,Dim)
Thank you Andy !!