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, I'm trying to create a DAX Measure or column to calculate a percent of subtotal by category on the left. For example, the total percent should be 100% for each category, and the % by asset class should be a percent of the subtotal, not the grand total. I've tried sumx, allselected, etc. but having trouble getting to what i need.
Solved! Go to Solution.
[% of Category Subtotal] =
DIVIDE(
[Total Holdings],
CALCULATE(
[Total Holdings],
REMOVEFILTERS('YourTable'[Asset Class])
)
)
This gives you percent of subtotal by category—each category totals to 100%, not the grand total. Clean and dynamic.
[% of Category Subtotal] =
DIVIDE(
[Total Holdings],
CALCULATE(
[Total Holdings],
REMOVEFILTERS('YourTable'[Asset Class])
)
)
This gives you percent of subtotal by category—each category totals to 100%, not the grand total. Clean and dynamic.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.