Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
JonasM95
Contributor II
Contributor II

Aggregation of limited dimensions

Hi together,

I need to calculate a percentage in a chart with 2 dimensions. One is a category for materials and the other is time.

Now I need to divide the category sum by the sum for all categorys. This would be easy, if I could just use TOTAL, but my problem is, that TOTAL also does the sum for the complete selected time frame. I would prefer to see the percentage for each period.

Has anyone a solution for this problem? Thanks in advance.

Best regards

Jonas

Labels (4)
1 Solution

Accepted Solutions
sunny_talwar

May be you need this

Sum(Measure)/Sum(TOTAL <Time> Measure)

or may be this

Sum(Measure)/Sum(TOTAL <Category> Measure)

 

View solution in original post

2 Replies
sunny_talwar

May be you need this

Sum(Measure)/Sum(TOTAL <Time> Measure)

or may be this

Sum(Measure)/Sum(TOTAL <Category> Measure)

 

JonasM95
Contributor II
Contributor II
Author

The first one works. Thank you!!