Forum Discussion
EMSSS22
Helper I
3 years agoWriting a measure to subtract two columns same table with filters
Hi I have 2 columns that i would like to subtract from one another after applied filters. Eg. Column B (with version type x and month number x) - Column A (with version type x and month ...
johnt75
Super User
3 years agoTry something like
ForecastCMVariance =
CALCULATE (
SUMX (
FilteredCommercial,
FilteredCommercial[Forecast] - FilteredCommercial[Capital Rental]
),
FilteredCommercial[Version] = "x",
FilteredCommercial[month number] = y
)