Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

aggregate the column values

Hi all,

i have a column in pivot table     product%      it is showing % correct   

 

but i need to show that total      aggregating all columns values /no of rows   .  

 

how to achieve this?

 

 

Labels (1)
  • pivot

1 Solution

Accepted Solutions
sunny_talwar

May be try this

((Sum(Total(Aggr(fabs(sum(FC_QT)-sum(AP_QT)),ID)))*sum(AP_QT))/sum(total AP_QT))
/
Count(DISTINCT id)

View solution in original post

6 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

I suggest you post some sample data and your required output to better explain your requirements. Post as text, not as images and you will get more relevant and accurate responses.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
soniasweety
Master
Master
Author

HI  

attached sample 

sunny_talwar

What is your expression that you are using for Product%?

soniasweety
Master
Master
Author

Hi @sunny_talwar   

 

below is the used expression

=()

sunny_talwar

May be try this

((Sum(Total(Aggr(fabs(sum(FC_QT)-sum(AP_QT)),ID)))*sum(AP_QT))/sum(total AP_QT))
/
Count(DISTINCT id)
soniasweety
Master
Master
Author

its worked thank you 🙂