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

Change total in pivot table

Hi everyone,

I have a pivot table with 2 dimensions (operation and part) and 1 measure.  The table shows a partial sum for the dimension 'operation'.

I would like the partial sum to be over all dimensions, except for dimension 'FSB', while still showing 'FSB' in the table.  Is this possible ?

I have enclosed the qvw file.

All suggestions are welcome.

Thanks in advance.

1 Solution

Accepted Solutions
sunny_talwar

May be using this:

=If(Dimensionality() = 0, Sum({<Operation -= {'FSB'}>} LocationInv), Sum(LocationInv))

View solution in original post

2 Replies
sunny_talwar

May be using this:

=If(Dimensionality() = 0, Sum({<Operation -= {'FSB'}>} LocationInv), Sum(LocationInv))

Anonymous
Not applicable
Author

Hi Sunny,

Works perfectly.  Thanks for your help