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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Subtotal for a Particular Pivot Dimension

Hi,

I have the following Pivot (Table1) and I need to subtotal the 'Sub Indicator' dimension only where Area is = 'Two'.  Can anyone help on the correct expression please?

sub_total_example.png

Many thanks,

Tom

2 Replies
marcus_sommer

This isn't directly possible - sub-totals for any field yes or no. But you could create an additionally field-value 'Total' in 'Sub Indicator' and use an If-loop in your expression.

- Marcus

Not applicable
Author

Hi Tom,

Marcus is right but you can cheat QV using dimensionality() and colors

in background and text , test the dimension Area and the dimensionality() and play with text and background color

enjoy it

best regards

Chris