Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
aheavy95
Creator
Creator

Total in Pivot table

Hi all

I have a question regarding column totals in pivot table.

Might be an odd request but- is there a way to exclude a column value from the  column totals, but so it is still included with it's value

In this case, for StoreID 2 , the value 'TI' (in the bottom) of the column Transaction_Type, I want it to be excluded from the column total (-416) but so the value still appears (385)  

The 'Qty' measure is a simple: sum(Qty)

aheavy95_1-1700467051532.png

Thanks

 

Labels (5)
2 Replies
vincent_ardiet_
Specialist
Specialist

You can check SecondaryDimensionality or Dimensionality functions, for example something like this (but you need to check I never remember which one to use or which value to test).
=If(SecondaryDimensionality()=0,Sum({<StoreID-={TI}>}Qty),Sum(Qty))

Aasir
Creator III
Creator III

Use this part
sum({<Transaction_Type-={'TI'}>} Qty)