Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello people!
I would like your help with a DAX formula for this situation shown in the image:
I have in column 1 where there are random dates from 2021 to today and counting...
In the second column I gave an example of the expected result where, for example, all dates that are between July 01 and 31, 2022 in column 1, in column 2 must be 31-07-2022.
This should be in one column and not in another table.
Greetings and thanks in advance!
Solved! Go to Solution.
If I understand your requirement, I believe the ENDOFMONTH function best suits your needs:
Fecha 2 = ENDOFMONTH([Fecha 1])
Trust this works for you.
Regards,
If I understand your requirement, I believe the ENDOFMONTH function best suits your needs:
Fecha 2 = ENDOFMONTH([Fecha 1])
Trust this works for you.
Regards,
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 24 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 46 | |
| 32 | |
| 17 | |
| 17 | |
| 16 |