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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 )