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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression against Partial Sum

Hi all, just hoping someone can suggest if there is a way of displaying an expression referencing a Partial Sum row but showing the expression on the same row, in my very basic example I want to show the percentage of Sum of Section B divided by the number of say closed Calls (Section A) but I want it to show on the same row as the Partial Sum Total of Section B.

Also this has to be in a Pivot table as users want to see Company across the top along with potentially other dimensions like Month etc..., e,g.

Pivot_Sample.PNG

Many thanks!

1 Solution

Accepted Solutions
sunny_talwar

This may be

=If(Section = 'B' and Dimensionality() = 1, Num(Sum(Measure)/Only({<Description = {'Total Complaints Closed'}>} TOTAL <Company> Measure), '##.##%'), Sum(Measure))

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

This may be

=If(Section = 'B' and Dimensionality() = 1, Num(Sum(Measure)/Only({<Description = {'Total Complaints Closed'}>} TOTAL <Company> Measure), '##.##%'), Sum(Measure))

Capture.PNG

Not applicable
Author

That's a nice solution, works perfectly, many thanks!!!