Forum Discussion
Kurt4597
3 years agoHelper I
Filtering Measure By Date
Hello All, I have been stuck on this issue for a few hours and really can't seem to fix it. Any help would be greatly appreciated. DateDim Table Deals Table I have a...
rsbin
3 years agoCommunity Champion
Kurt4597 ,
Looks to me like you are comparing a MonthYear column to a YearMonth value (2022-04).
Try changing your [MonthYear] in your Measure to [YearMonth].
Regards,
- Kurt45973 years agoHelper I
Apologies, that was just a mistake I made when pasting over from the sample file. The issue is still present
- rsbin3 years agoCommunity Champion
Kurt4597 ,
Can you please post the Measure you have for "Previous Date"?
Unfortunately, my network here won't allow me to access your link above.
- Kurt45973 years agoHelper I
PreviousDate = date(if( Values(DateDim[Month]) = 1, Values(DateDim[Year]) -1, Values(DateDim[Year])), if(Values(DateDim[Month]) = 1,12, (Values(DateDim[Month])-1)), "01")