Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
pkpandey
Contributor III
Contributor III

Aggregation Help in Chart

Hi All

I need help in a chart where I have to show the value and percentage of value on group total. I have attached the sample file. Presently percentage is showing only on 3 rows.

1 Solution

Accepted Solutions
mithilesh17
Partner - Creator II
Partner - Creator II

Hi,

Kindly check my solution.

Hope that helps.

Regards,

Mithilesh

View solution in original post

4 Replies
mithilesh17
Partner - Creator II
Partner - Creator II

Hi,

Kindly check my solution.

Hope that helps.

Regards,

Mithilesh

pkpandey
Contributor III
Contributor III
Author

Hi

But all the items not showing in the charts.

Regards

PKP

sunny_talwar

I would steer you away from Aggr() function as they take a toll on performance. You can try this expression:

Sum(Value)/Sum(TOTAL <Group>Value)

Capture.PNG

sunny_talwar

For the chart, you can try this:

Sum(Value)/Sum(Aggr(Sum(TOTAL <Group> Value),Group, Item))


Capture.PNG