Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi everybody, I'm new to the DAX language, and I'm trying to create a DAX query to get the last day of each month in my dataset. The problem is that the last day isn't always correct; for example, January ends up on the 30th instead of the 31st. Once I find the last day, I need to assign "1" and "0" to all the other days of the month. I tried using EOMONTH, but it automatically creates the last day even when it's not present in the dataset. Thank you in advance!
Solved! Go to Solution.
Hi @glamanna
Please use EOMONTH DAX
Follow guide
https://dax.guide/eomonth/
https://learn.microsoft.com/en-us/dax/eomonth-function-dax
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Hi @glamanna
Please use EOMONTH DAX
Follow guide
https://dax.guide/eomonth/
https://learn.microsoft.com/en-us/dax/eomonth-function-dax
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
User | Count |
---|---|
92 | |
77 | |
71 | |
64 | |
58 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
61 |