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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lucarizziero
Partner - Contributor III
Partner - Contributor III

Pivot table with Running sum as subtotal

Hi

I have the following Pivot Table                                             

productcolourdatecust. Orderrunning sum
141MBACAL0094CR3101/02/144545
141MBACAL0094CR3102/02/141964
141MBACAL0094CR3101/03/14367
141MBACAL0094OL7101/02/145252
141MBACAL0094OL7102/02/142678

I'm not able to obtain the column named [running sum]: it should contains the running sum of the cust. Order column restarting each change of the combination product+colour dimensions.

Thanks

5 Replies
v_iyyappan
Specialist
Specialist

Hi,

Use like this running sum

=If(Alt(Above(Sum(cust. Order)),0) = 0, Sum(cust. Order),  (Sum(cust. Order) + Above(Sum(cust. Order)))

Regards,

Not applicable

Please see attached

Not applicable

Hi

I am also trying to do something similar to this. I would appreciate the help. I already tried what you suggested and it didn't work.

Thanks in advance,

Alba

Not applicable

Thanks a lot for the example. I got it working!!

lucarizziero
Partner - Contributor III
Partner - Contributor III
Author

Your suggestioni is ok for my requirements: thanks a lot

Luca Rizziero

Da: V.Iyyappan Venkidusamy

Inviato: martedì 24 settembre 2013 18.25

A: Luca Rizziero

Oggetto: Re: - Pivot table with Running sum as subtotal

<http://community.qlik.com/> QlikCommunity

Pivot table with Running sum as subtotal

risposta da V.Iyyappan Venkidusamy <http://community.qlik.com/people/V.IYYAPPAN?et=watches.email.thread> su App Development - Visualizza la discussione completa <http://community.qlik.com/message/396486?et=watches.email.thread#396486>