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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
hi
i am trying to calculate the number of months between a certain date and the current date,
can u help me.
i only find solutions for 2 dates but i need the second date to be dynamic
thanks
Solved! Go to Solution.
Hi,
If you have a date column, for example [dateColumn], you can use the following DAX calculation:
new column = DATEDIFF([dateColumn], NOW(), MONTH)
Hi,
If you have a date column, for example [dateColumn], you can use the following DAX calculation:
new column = DATEDIFF([dateColumn], NOW(), MONTH)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |