Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Hoaile_dev
Contributor II
Contributor II

Show or hide "Show totals" on pivot table

Hello,

Do we have any way to Show/hide the Total amount on the dimension of the pivot table.

Example we have 2 dimensions : Profit center and company.

if the profit center P1 have more than one companies ( A,B) => show the total amount.

and if the profit center P2 has only one company A => hide the total amount.

Thanks in advance.

Hoai

 

 

 

1 Solution

Accepted Solutions
GaryGiles
Specialist
Specialist

Try this in your measure field:

if(count({$}distinct Company)>1,sum({$} Amount),'')

View solution in original post

2 Replies
GaryGiles
Specialist
Specialist

Try this in your measure field:

if(count({$}distinct Company)>1,sum({$} Amount),'')

Hoaile_dev
Contributor II
Contributor II
Author

Thanks but that is not I need.