Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
Can someone please guide how can we get the 'first day of last month' & 'last day of last month' using DAX measure.
Thanks.
Solved! Go to Solution.
Hi @vishu263 ,
Maybe something like this?
Last day of last month:
Measure = EOMONTH(TODAY(), -1)
First day of last month:
Measure = EOMONTH(TODAY(), -2) + 1
Let me know, if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! |
#proudtobeasuperuser |
Hi @vishu263 ,
Maybe something like this?
Last day of last month:
Measure = EOMONTH(TODAY(), -1)
First day of last month:
Measure = EOMONTH(TODAY(), -2) + 1
Let me know, if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! |
#proudtobeasuperuser |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
27 | |
23 | |
14 | |
11 |
User | Count |
---|---|
77 | |
63 | |
44 | |
17 | |
12 |