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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
First, create a calculated measure that will evaluate if the demand exceeds the allocated capacity or not. Use the following logic in the DAX formula:
DemandVsCapacity =
IF(
SUM(SalesTable[Total Demand]) > SUM(SalesTable[Model Allocated Capacity]),
1,
0
)
After creating the DAX measure DemandVsCapacity, add it to your Matrix visual.
Go to the Values area of the Matrix visual, click the dropdown next to the new measure DemandVsCapacity, and select Conditional Formatting > Background Color.
In the conditional formatting settings, choose Field Value and select the measure DemandVsCapacity.
Define the colors for the output:
Now, based on the comparison of demand and capacity, your Matrix visual will show cells with red or green backgrounds.
If you have still issue with this problem pleaes feel free and contact with me.
First, create a calculated measure that will evaluate if the demand exceeds the allocated capacity or not. Use the following logic in the DAX formula:
DemandVsCapacity =
IF(
SUM(SalesTable[Total Demand]) > SUM(SalesTable[Model Allocated Capacity]),
1,
0
)
After creating the DAX measure DemandVsCapacity, add it to your Matrix visual.
Go to the Values area of the Matrix visual, click the dropdown next to the new measure DemandVsCapacity, and select Conditional Formatting > Background Color.
In the conditional formatting settings, choose Field Value and select the measure DemandVsCapacity.
Define the colors for the output:
Now, based on the comparison of demand and capacity, your Matrix visual will show cells with red or green backgrounds.
If you have still issue with this problem pleaes feel free and contact with me.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |