Forum Discussion
Anonymous
3 years agoNot applicable
DAX Function not recognising measure as ColumnTable
Hi, I'm new in DAX. I'm trying to create a measure to show in a card, volume sales for the previous month (current month is still live so its not a full month). I have found the below example fun...
- 3 years ago
Hi Anonymous
SUM functions accepts only column as its argument and does not accept a measure. To recalculate a mesure no need to use SUM just use
Previous Month = CALCULATE ( [Physical Cases Direct Actual], PREVIOUSMONTH ( 'DateTime'[DateKey] ) )
tamerj1
Community Champion
3 years agoHi Anonymous
SUM functions accepts only column as its argument and does not accept a measure. To recalculate a mesure no need to use SUM just use
Previous Month =
CALCULATE (
[Physical Cases Direct Actual],
PREVIOUSMONTH ( 'DateTime'[DateKey] )
)
- Anonymous3 years agoNot applicable
Thank You!