Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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