Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table: Showing Total Sum

Hello!

I have a Pivot Table with the following data:

ActionAccount
-3

Selected

001
002
Inspected001
Planned003

The thing is that the total for Account is 3 because it counts 3 unique Accounts, but I'd like to see it as 4 (the number of rows).

I also have an expression at the right that counts the distinct Account IDs in this table.

I believe you can solve this in the Straight Table when you put Sum of Rows under Expression tab.

Is there any way to do something like that in Pivot Table?

Thank you!!!

3 Replies
Not applicable
Author

Could you share a sample qvw?

TKendrick20
Partner - Specialist
Partner - Specialist

Count Account IDs, not distinct Account IDs? That should give you 4.

Or use a straight table.

jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hi,

Maybe Count(Distinct AccountID & Action)

regards