Forum Discussion
LuisCaston82
2 years agoNew Member
Switch and add a result
Dear all, I've this formula: Actual YTD + Forecast = var _YTD = CALCULATE([Amount], BIFRF000[Report] = "", BIFRF000[Period Type] = "T", BIFRF000[Type] = "V") var _Forecast = CALCULATE([...
- 2 years ago
LuisCaston82
Please try this measure:Actual YTD + Forecast = VAR _YTD = CALCULATE ( [Amount], BIFRF000[Report] = "", BIFRF000[Period Type] = "T", BIFRF000[Type] = "V" ) VAR _Forecast = CALCULATE ( [Amount], BIFRF000[Report Type] = "T" ) RETURN IF ( _YTD = 0, _Forecast, _YTD )
LuisCaston82
2 years agoNew Member
Awersome @Fowmy !!
Thank you so much! Works perfectly.
One doubt more Fowmy : Do you know why the total doesn´t sum the real?
Total sum is: 60.350.227 not 51.951.034.