Forum Discussion

hanami001's avatar
hanami001
Frequent Visitor
8 years ago

How to calculated difference value from fixed value

Hello Everyone,

 

I have created the measure for calculating a difference value, but the value in column DiffPrices is not collect as below.

 

 

Please see column TG DiffPries (Red and Green highlighted), I want as this (PG DiffPrices - TG DiffPrices).

 

 

As below is the measure formula.

 

DiffPrices = 
VAR DiffPG = CALCULATE([Average of Currency.Use], FILTER('RAW Data','RAW Data'[Infare-CarrierNumber.Number] = 1))
VAR DiffOth = [Average of Currency.Use]
RETURN DiffOth - DiffPG

 

Please advise me.

 

Regards,