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 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 40 |