Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bastianki
New Member

Creating matrix visual with certain values having a different formula

Hi everyone

 

I have created a matrix visual in the below format

Service LineHoursRevenueCostRPHCPH
Category 1     
Actual6136311138596102.954362.96248
Budget1741284703968516.3526722.79437
Estimate741274703868537.0715252.20648
Forecast1354905817728166.8988257.07607
Variance387-62111-37596zzzzzzzz
Category 2     
Actual     
Budget     
Estimate     
Forecast     
Variance     
Category 3     
Actual     
Budget     
Estimate     
Forecast     
Variance     

 

RPH = Revenue / Hours

CPH = Cost / Hours

Variance = Budget - Forecast

 

The rows Actual, Estimate, Budget, Forecast and Variance is coming from the table loaded via PowerQuery and hence all calculations are done in powerquery and it comes correctly. RPH and CPH are measures. Hence, when it comes to Variance of the measures RPH and CPH, the answer would be incorrect in those two highlighted cells.

 

Is there a way to make amendments to those two cell calculations alone?

1 REPLY 1
bastianki
New Member

Hello all


I could tweak the settings by conditionally formatting the last two columns for all rows where Variance appears - I made the font color same as background color and made it invisible.

 

Is there any other alternate solution available.? 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.