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!View all the Fabric Data Days sessions on demand. View schedule
I am trying to replicate this Matrix in Power BI:
I can create the subtotal percentage and the counts. But, when I include the months into Columns, then % subtotals no longer make sense.
Here is my dax to calculate the % Subtotal:
%Total (Count) =
CALCULATE ( DISTINCTCOUNT( (Query1[item_No] ) )
/ CALCULATE (
DISTINCTCOUNT( Query1[item_No] ),
ALLEXCEPT ( Query1, Query1[SubCategory])
))
Thank you in advance for any of you, who are willing to help. I am but a humble servant.
Solved! Go to Solution.
I was able to figure it out. Just needed to add Month into the allexcept statement
I was able to figure it out. Just needed to add Month into the allexcept statement
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!