Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |