Forum Discussion
Anonymous
2 years agoNot applicable
Measure to ignore date slicer help
I am trying to calculate the sum of sales (in combined table) for the Version and 2 clients listed in the measure below when the Revenue Date (column in the Combined Table) equals the EOM of the slec...
mh2587
Super User
2 years agoTest = //Try this one
VAR _SelDate = MAX('Date'[Date])
VAR _Day = SELECTEDVALUE('Date'[Day])
VAR _EOM = EOMONTH(_SelDate, 0)
RETURN
CALCULATE(
[Combined Total Revenue],
'Combined All'[Version] = "Prediction",
'Combined All'[Profitability Customer] IN {"ClientA", "ClientB"},
FILTER('Date', 'Date'[Date] = _EOM)
)