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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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