Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
lessassy
Creator
Creator

SubTotal in pivot table

Hello everyone all,



I have the following table:

TOTAUX.PNG


It is a pivot table.

In the sub-total section, I would like to add the percentages instead of adding the percentages, while keeping the direction column.

Because I know that I can achieve the average by removing this column but I would prefer to find another solution.

Thank you in advance.
Labels (3)
3 Replies
Taoufiq_Zarra

as i said you can change your expression by

=avg(aggr(TONEXPRESSION,Direction,Département))
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
lessassy
Creator
Creator
Author

Thank you,

 

It works if i have only keep one dimension "Departement"

But if i add the other dimension "Direction" I don't have the nulber i want

Brett_Bleess
Former Employee
Former Employee

I suspect the following Design Blog post may get you what you need or on the right track:

https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.