Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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)
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
86 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |