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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Do anyone know how to create a measure so that it is the sum of male including option 1, 2, 3, my expected outcome is 109+140+30=279?
Hi,
Do you want to have a Card as shown the sum of the Number for Male and 1,2,3 ?
If yes, you could use the below code to create the measure :
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Value sum: =
SUM( Data[Value] )
Expected value sum: =
CALCULATE (
[Value sum:],
KEEPFILTERS ( Gender[Gender] = "Male" ),
KEEPFILTERS ( 'Group'[Group] IN { 1, 2, 3 } )
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!