Forum Discussion
MoM DAX
I also tried with
Please help.
Thank you in advance.
Kind regards,
Miro
4 Replies
- v-chenwuz-msftCommunity Support
Hi MiroVranes ,
OK, please note that when the physical date field of the table should be the field you specify when using PREVIOUSMONTH.
In your case, you should use the Month in the PREVIOUSMONTH( field ) the same as the Month used in the table visual( below).
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MiroVranesFrequent Visitor
Hi,
I hope I did as you have instructed. Please see result. What is problem now?
Kind regards,
Miroslav
- v-chenwuz-msftCommunity Support
Hi MiroVranes ,
PREVIOUSMONTH(<Dates>)
The dates should be a column which is date type. please do not use .[month], just the 'SQLresultTmp'[Datum].
You can refer this guide
PREVIOUSMONTH function (DAX) - DAX | Microsoft Learn
Best Regards
Community Support Team _ chenwu zhu
- MiroVranesFrequent Visitor
More info. Maybe it could help you to see what is problem.