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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

rangesum with multiple dimensions

I have a pivot table with three dimensions:

1. Calculated dimension (calcdim)

2. Week

3. Year

The year-dimension values are columns

I want a running total over calcdim and week

I use this expression :

=rangesum(above( count(distinct employees)  ,0, rowno() ))

When calcdim is collapsed running total is  calculated correct but when expanded , every calcdim it starts from zero.

Is it possible to keep the cumulative total running ?

2 Replies
Anil_Babu_Samineni

May be look here How to use - Dimensionality()

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
swapniltaz
Contributor III
Contributor III

 

Use the below expression and check if it helps , Use of Total can help you with that 

=rangesum(above( Total count(distinct employees)  ,0, rowno(Total) ))