Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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)
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
101 | |
87 | |
35 | |
35 |
User | Count |
---|---|
152 | |
100 | |
83 | |
63 | |
54 |