Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum divided by Sum of all

Hi,

How can I calculate the following Mix % column?

i'm sure it is straight forward...

The row value divided by the Grand Total.

ValueMix %
Alpha10013%
Beta20025%
Charlie20025%
Delta20025%
Echo10013%
Grand Total800100%

thanks

Derrell

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

There are different ways to calculate the same...

1.Use the measure as sum(Value) and make the Relative check box selected in  the expression tab.

2.If you don't want to obey the % value according to the dimension used in the chart then use the measure as sum(Value)/sum(TOTAL {<Dimension  = >}Value) and change the number formatting settings to show in percentage.

Hope this helps.

Thanks,

Vignesh

View solution in original post

5 Replies
Not applicable
Author

try this

sum(Value)/sum(Total Value)

and under number format set Mix % format to integer and check show in percentage option

SunilChauhan
Champion II
Champion II

sum(Value)/sum(Total <dimensionName>Value)

Sunil Chauhan
SunilChauhan
Champion II
Champion II

sum(Value)/sum(all Value)

Sunil Chauhan
Anonymous
Not applicable
Author

Hi,

There are different ways to calculate the same...

1.Use the measure as sum(Value) and make the Relative check box selected in  the expression tab.

2.If you don't want to obey the % value according to the dimension used in the chart then use the measure as sum(Value)/sum(TOTAL {<Dimension  = >}Value) and change the number formatting settings to show in percentage.

Hope this helps.

Thanks,

Vignesh

Anonymous
Not applicable
Author

thank you everyone, all your suggestions works.

happy holidays!