Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Can Sunny SET expression be modify to make it more dynamic ?

Hi All

I have got this SET expression from Mr sunny :-


Money(RangeSum(
Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), 0, RowNo()))),
-Sum({<GL_CODE = {50010}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), YearMonth)))
, $(vMoneyFormatK_GL))

My question is , it is possible to modify to change the above expression to make it more dynamic. So when user not select any date it will display current month and year amount.

If user click on year=2015 , month = march. The above above amount will change to Last year same period amount.

Paul

3 Replies
paulyeo11
Master
Master
Author

my QVF

sunny_talwar

What would be a expected value when you select 2015 and March?

paulyeo11
Master
Master
Author

Hi Sunny

1.5 million.png