Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have been trying to figure this out for sometime and finally decided it is time I asked the community.
I have a bar graph that I'm displaying:
Dimension1: Month
Dimension2: Type
Measure: -NORMINV((Count([ReturnedQTY])/Sum([ShippedQTY])), 0, 1)
Associated Month and Type in data manager.
Results I'm getting:
Only if "ReturnedQTY" of a "Type" is present for a particular "Month", it will display results as expected.
Results I wish to have:
If "ReturnedQTY" of a "Type" is not present in "Month" /data file, display 6.
Else just return the above calculation.
Essentially, each "Month" should display all "Type" A,B,C,D.
I have tried an IF statement but it doesn't work:
if(([ReturnedQTY]<1), 6, -NORMINV((Count([ReturnedQTY:])/Sum([ShippedQTY])), 0, 1))
Any thoughts/ideas?
Any help very much appreciated.
try
-NORMINV(alt(Count([ReturnedQTY:])/Sum([ShippedQTY]),6))
Hi @vinieme12 , I've tried but:
also, it seems that alt doesn't work with aggregation functions (count in my case).