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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
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 (2)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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

soniasweety
Master
Master
Author

Hi @sunny_talwar   

 

below is the used expression

=()

sunny_talwar
MVP
MVP

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 🙂