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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculating % contribution

Hi,

I have data similar to the one below

Name --- Sales

A               100

B               234

C               500

I need to know the percentage Sales contribution of A compared to A, B and C. Can this be achieved using aggr() function? How do I do it?

Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
abeyphilip
Creator II
Creator II

Hi,

If you are looking for % sales contribution of A w.r.to the total sales. Then you can use the TOTAL identifier for calculation. Attaching a sample.

If you are not looking for this, please mention the sample output required.

Regards,

Abey

View solution in original post

1 Reply
abeyphilip
Creator II
Creator II

Hi,

If you are looking for % sales contribution of A w.r.to the total sales. Then you can use the TOTAL identifier for calculation. Attaching a sample.

If you are not looking for this, please mention the sample output required.

Regards,

Abey