Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I want to show 0 in Product B under Stage 2. How can I restrict it in dimension or in expression please.
Time in Hours | ||||
Product | Stage 1 | Stage 2 | Stage 3 | Total |
A | 5 | 2 | 4 | 11 |
B | 1 | 2 | 3 | 6 |
C | 7 | 8 | 6 | 21 |
Hi Shoaib
How do you decide when you'd like a 0 to show ? Is there a rule?
Hi Richard,
By default Product B under Stage should be 0. But the the application can have more than one products. e.g. application has product A and B. In this case my code shows the same time in A and B i.e. 2. But actually under B and Stage 2 it should be 0.
Hi Shoaib,
Try the below condition in script (if Product and Stage2 are in a same table).
if(Product='B',0,Stage2) as Stage2
If the above doesn't help please share the sample app to understand it better.
--
Vinoth
Sure shoaib.
At the same time if you got the answer for the above thread please mark the correct answer and close the thread.
--
Vinoth