Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ch_riadh
Partner - Creator II
Partner - Creator II

Cumulative By MonthYear , Column Level

Hi,

I tried to create a Cumulative sum By Month, with expression :

RangeSum(Above(TOTAL Sum({<Pipeline) , 0, RowNo(TOTAL)))


it works fine when the MonthYear Dimension Row Dimension like in the straight Table,

but when i move the MonthYear Dimension up, Column Dimension like in Pivot table or use same expression in chat it goes wrong, Because it works only with row.

Please check the excel attached so you can understand more.

Thanks for help.

7 Replies
adamdavi3s
Master
Master

Try replacing Above with Before instead

ch_riadh
Partner - Creator II
Partner - Creator II
Author

No, Same Issue.

adamdavi3s
Master
Master

Hmmm weird it should work, can you share your expression as the one above looks incomplete (missing set analysis brackets)

Missing Manual - Before() and After()

ch_riadh
Partner - Creator II
Partner - Creator II
Author

RangeSum(Above(TOTAL Sum(Pipeline) , 0, RowNo(TOTAL))) this is work fine when the monthyear dimension is a row dimension,

but i move it up to Column dimension goes wrong.

I tried 'before' , 'after' . not working

If you can do it for me i ll be thankful.

you can use the data in the excel u shared.

Thanks for help.

tresesco
MVP
MVP

Before() should work unless you are using multiple expressions in the chart and wishing to add up all of them. Could you post a sample qvw that demonstrates the issue?

ch_riadh
Partner - Creator II
Partner - Creator II
Author

I share with you the excel, can you try to do it ?

Thanks

ch_riadh
Partner - Creator II
Partner - Creator II
Author

hello, you did it ?