Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Would like to know how and what's the best approach to create result as per the table below in QV. Any suggestion is much appreciated!
Description | Amount |
---|---|
1.Direct Premium Amount | Formula 1 |
2.Assumed Premium Amount | Formula 2 |
3.Licensed Premium Amount | Formula 3 |
Total of 1+2-3 | Formula 4 |
The description is basically "hard-coded". While each row is using different formula to calculate.
dimension
valuelist('1.Direct Premium Amount', '2.Assumed Premium Amount')
expression
if(valuelist('1.Direct Premium Amount', '2.Assumed Premium Amount')='1.Direct Premium Amount', formula 1,
if(valuelist('1.Direct Premium Amount', '2.Assumed Premium Amount')='2.Assumed Premium Amount', formula 2
))
add 3 and 4
Another way:
No dimensions, four expressions. What you have in "Description" is the expression label. And, check "Horizontal" on the Presentation tab.
Thanks! It works!
please close this thread (mark useful and correct answer); thanks
also possible:
Pick(Match(Valuelist(value1,value2,value3),value1,value2,value3), expression1,expression2,expression3)
hope this helps
regards
Marco