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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregating and Calculating %

Hello,

I am new user of Qlikview and am trying to calculate the % for each product based on the following data set.

TypeAccountProductUnits
AXXABC10
AXXDEF50
AXXGHI72
AYYABC62
AYYDEF17
AYYGHI46

I need the results to be as follows

TypeAccountProduct%
AXXABC7.58%
AXXDEF37.88%
AXXGHI54.55%
AYYABC49.6%
AYYDEF13.6%
AYYGHI36.8%

Please advise on most optimal way of doing this.

Thanks

Labels (1)
2 Replies
marcus_sommer

Try something like this in a pivot-expression: sum(value) / sum(total <Type, Account> value)

- Marcus

maxgro
MVP
MVP

sum(Units) / sum(TOTAL <Account> Units)

1.jpg