Forum Discussion

bastianki's avatar
bastianki
New Member
3 years ago

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

  • 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.?