Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have a problem with my report. After running some tests, I noticed that the coverage percentage is considering surplus personnel. When I checked the surplus measurement, it doesn't subtract the assets that are considered surplus. The way it works is as follows:
If active personnel > authorized personnel, then it displays the result of the subtraction between authorized personnel and active personnel. Otherwise, it displays 0.
Can I share the PBIX
Heres an example: Apparently the surplus formula only works in the rows but not in the column totals.
Solved! Go to Solution.
Hi @alanshake23
Try to have the surpluse logice within the measure.
Coverage % =
VAR Authorized = SUM('Table'[Autorizado])
VAR Active = SUM('Table'[Activos])
VAR Surplus = IF(Active > Authorized, Active - Authorized, 0)
VAR AdjustedActive = Active - Surplus
RETURN
DIVIDE(AdjustedActive, Authorized)
Please provide the expected output along with the screenshot if this doesnt work
Hi @alanshake23 ,
I’ve updated the surplus and coverage logic so it now functions correctly for both individual rows and the totals. The calculations should now match your expectations, particularly regarding surplus personnel.
FYI:
The PBIX file is attached for your review. If you notice anything unusual or need further adjustments, please let me know.
Regards,
Yugandhar.
Hi @alanshake23
Try to have the surpluse logice within the measure.
Coverage % =
VAR Authorized = SUM('Table'[Autorizado])
VAR Active = SUM('Table'[Activos])
VAR Surplus = IF(Active > Authorized, Active - Authorized, 0)
VAR AdjustedActive = Active - Surplus
RETURN
DIVIDE(AdjustedActive, Authorized)
Please provide the expected output along with the screenshot if this doesnt work
Thanks man!!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 26 | |
| 24 | |
| 19 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 46 | |
| 46 | |
| 43 | |
| 36 | |
| 33 |