Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi all
I have a table that looks like this
I am trying to calculate penetration by using a measure, if I have an aggregated matrix view below
I would like to calculate penetration in such a way that segment A is always the denominator, so my final result should look like this.
Solved! Go to Solution.
Hi @Kasonga2018
Please try
Percentage =
VAR Numerator =
SUM ( 'Table'[Population] )
VAR Denominator =
CALCULATE ( SUM ( 'Table'[Population] ), 'Table'[Segmant] = "A" )
RETURN
DIVIDE ( Numerator, Denominator )
Hi @Kasonga2018
Please try
Percentage =
VAR Numerator =
SUM ( 'Table'[Population] )
VAR Denominator =
CALCULATE ( SUM ( 'Table'[Population] ), 'Table'[Segmant] = "A" )
RETURN
DIVIDE ( Numerator, Denominator )
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |