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

Percentage calculation by Set Analysis

I have this

Percentage calculation.png

And the Mesure is calculated by

Sum(SaleAmount)/SUM(total SaleAmount)

But what I really want is that each category to have its own 100%, and not the 100% of all the categories

Does anyone knows how to do it by Set Analisys?

Thanks

MAC

3 Replies
dineshkumar
Contributor III
Contributor III

hi martha,

   its actually showing in proper manner. if there is any sub category of your dimension it is possible , share your qvw.

rubenmarin
MVP
MVP

This question is duplicated (and possibly answered) here: Percentage calculation by Set Analysis

jagan
Partner - Champion III
Partner - Champion III

Hi,

Check this expression

Sum(SaleAmount)/SUM(total <Category> SaleAmount)


Note: Replace Category with your actual field name.


Hope this helps you.


Regards,

Jagan.