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: 
Anonymous
Not applicable

pivot table sum before data

hello,

i have the first table in qlikview, and i would like to get the second one.

¿can you help me?

 

Year_MonthMonths012
201701 4324232
201702 5422-
201703 54--

Year_Month

Months012
201701 432474506
201702 542544-
201703 54--
4 Replies
adityaakshaya
Creator III
Creator III

Hi Mark,

you can explore rangesum function in this scenario.

Regards,

Akshaya

sergio0592
Specialist III
Specialist III

Hi,

You can use rangesum function. See my attached .qvw (i made a new sample because i'am in Personnal edition right now)

Regards

Anonymous
Not applicable
Author

it is writting the sum in places that before there wasn´t any data.

in places where now there is now data, it should  be an acummulative sum and stop where there is now data.

sunny_talwar

May be this

If(Sum(V2) <> 0, RangeSum(Sum(V1), Sum(V2)), 0)

If(Sum(V3) <> 0, RangeSum(Sum(V1), Sum(V2), Sum(V3)), 0)

Capture.PNG