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
I'm having some trouble understanding how to get the percent of a total count for category.
I have a measure that counts the rows for a given criteria (where the days late are >=1).
What I need to do is provide the percent Total_Carrier_Lates per carrier compared to the total of all Total_Carrier_Lates:
So in the table above, I'm look to add a new column that says late weighting... row 1 would be 6614/12621...
How do I get the sum of the total counts?
Every example I've seen uses SUM to add some thing like a sales amount column, but I need to count the instances that match the critera and then add those up?
My measure counting the late shipments is:
Appreciate any help.
Solved! Go to Solution.
Probably should have known it would click after posting....
Hi @ekroll
please try
% Late =
DIVIDE (
[Total_Carrier_Lates],
CALCULATE ( [Total_Carrier_Lates], ALL ( 'EAP LTL Shipments'[Category] ) )
)
Probably should have known it would click after posting....
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!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 20 | |
| 18 | |
| 16 | |
| 14 | |
| 14 |