Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |