Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
This dax returns first day of the previous month to today correctly. FirstDay PreviousMonth = EOMONTH(TODAY(),-2)+1
How would I replace TODAY() with my datedim i.e. slicer, so that if I went back previous months, it would still do the first day of the previous month to the selected date?
I've tried to put my datedim in place of today but this isn't correct.
Thanks
Liam
Solved! Go to Solution.
FirstDay PreviousMonth = EOMONTH(MAX(dateDim[Date]),-2)+1
FirstDay PreviousMonth = EOMONTH(MAX(dateDim[Date]),-2)+1
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
109 | |
100 | |
95 | |
38 | |
37 |
User | Count |
---|---|
151 | |
126 | |
75 | |
74 | |
57 |