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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

partial sum of the column on a pivot table

Hello,

I need help, I have this pivot table:

Fig.1:


The column A : count(distinct id) and It's correct.

The column B is wrong :

Fig.2:

The column B must be (red bold):

greetings thank you very much

Valentina

14 Replies
Not applicable
Author

1,2,3 in column 'Risposta' are string and the column A is: count(id) and not the sum of  'Risposta'.

the column B must be the partial sum of count(id).

bbi_mba_76
Partner - Specialist
Partner - Specialist

Could you give same sample data?

Not applicable
Author

     

A:count(Id)

B:Count(Total<Mese> Distinct Id)

B is not correct.

the result must be :

bbi_mba_76
Partner - Specialist
Partner - Specialist

=aggr(nodistinct count(distinct Id), Domanda, Mese)

Not applicable
Author

B:Count(Total<Domanda, Mese> Distinct Id)

Perfect

thank you very much Valentina