Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Show only fields of a dimension that meet a certain condition, is it possible?
Hi D,
you could do this with set analysis.
Sum({<AGENT={"=sum(sales)>5"}>} sales)
Joe
u can add a calculated dimension with your conditions
Couple of ways you can handle it. As suggested you can use a calculated dimension with if statement and use suppress when null check box on dimensions tab with properties or you can use set analysis within your expression which restricts the dimension fields for only those which you want to see. Others will automatically removed.
HTH
Best,
Sunny
Ok. Example:
My Dimension is AGENT
And I have an expression sum(sales)
I want ony show AGENT that accomplished this condition: sum(sales)>5
How can I do?
Thanks!!
Hi,
One way to achieve is to use System Functions (ex;getselectedcount(),getfieldselections etc) depends on your requirement.
Regards,
Sridhar
Yes,it's 100% possible,u have to specify those conditions with expression or script whenever implementing.
try using if(sum(Sales)>5,Agent) in calculated dimension
Hi D,
you could do this with set analysis.
Sum({<AGENT={"=sum(sales)>5"}>} sales)
Joe
Thank you but ERROR
you'd need to adjust to
if(Aggr(sum(Sales)>5,Agent),Agent)
for a calculated dimension like this
Joe