Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
beck_bakytbek
Master
Master

only last value

Hi Folks,

i have one problem,

i use this expression:

M2:

sum(aggr(rangesum(below(total sum({<Month=>}Amount),1,2)),Month)) ,it does work great,

but i want see only last value of selected period, how can i make invisible other value / or to set to Zero.

thanks a lot

beck

14 Replies
beck_bakytbek
Master
Master
Author

sorry, it doesn't show anything

sunny_talwar

Would you be able to share a sample app?

beck_bakytbek
Master
Master
Author

Of course Sunny,

you find my problem under expression: M2 plus test 2

Thanks a lot

sunny_talwar

May be this:

If(Month = Max({<Type = {'UK'}>} TOTAL Month), Sum(Aggr(RangeSum(Below(Sum({<Month=>}Amount), 1, 2)), Month)))

beck_bakytbek
Master
Master
Author

Sunny Thanks a lot for your Help and Taking the time to find Solution

Thanks a lot