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: 
francisco_cohen
Contributor III
Contributor III

Calculate wheight value

Hi,

I need to add a measure to calculate the wheight of each of my table rows:

CustomerAmountWeight
A50027%
B100054%
C35019%
TOTAL1850100%

 

How can I do this?

Thank you,

FC.

Labels (1)
1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Use total qualifier
Assuming your Amount Expression is Sum(Amount)
new expression for weight Sum(Amount)/Sum(total Amount)
reference for the total qualifier below
https://community.qlik.com/t5/Qlik-Design-Blog/What-does-the-TOTAL-qualifier-do/ba-p/1472990

View solution in original post

1 Reply
dplr-rn
Partner - Master III
Partner - Master III

Use total qualifier
Assuming your Amount Expression is Sum(Amount)
new expression for weight Sum(Amount)/Sum(total Amount)
reference for the total qualifier below
https://community.qlik.com/t5/Qlik-Design-Blog/What-does-the-TOTAL-qualifier-do/ba-p/1472990