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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
User12321
Contributor III
Contributor III

Compute Percentage

Hi,

I have a dataset with fields Supplier and Amount.

How do I compute the sum of amount by the supplier divided by the total amount for each year. 

Please advise. Thank you.

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

If the supplier has already been selected via filter, and you're trying to calculate that supplier's amount from the total amount for the year (for all suppliers):

Sum(Amount) / Sum({< Supplier = >} Amount)

View solution in original post

1 Reply
Or
MVP
MVP

If the supplier has already been selected via filter, and you're trying to calculate that supplier's amount from the total amount for the year (for all suppliers):

Sum(Amount) / Sum({< Supplier = >} Amount)