Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Ashkan
Contributor
Contributor

Change the total formula in pivot table

Hello everyone

This is my data:data.png

 

And this is my pivot table:pivot table.png

 

I want to show the TOTAL of B column instead of TOTAL of A.final table.png

 

Please tell me the formula if it's possible.

Thanks in advance.

 

 

 

 

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try the Dimensionality function to calculate different expressions at different levels:

If(Dimensionality()>0, sum(Plan), sum(aggr( ...etc )) )


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

Try the Dimensionality function to calculate different expressions at different levels:

If(Dimensionality()>0, sum(Plan), sum(aggr( ...etc )) )


talk is cheap, supply exceeds demand