Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi.
I need to subtract an integer number of months from an existing date (e.g., -6 month from April, 1 2019).
Issue is: I have a blank cell using DATEADD(Date(2019,04,01),-6,MONTH), because date should be November, 1, 2018. It seems that date subtraction works if year does not change.
Am I missing something ?
Thanks for your help.
Solved! Go to Solution.
Hi,
Does this work?
=EDATE(Date(2019,04,01),-6)
Hi,
Does this work?
=EDATE(Date(2019,04,01),-6)
AWESOME !!! Thank you so Much.
You are welcome.
Usually this is due to the end result of the dateadd operation not existing as a date in the model so that's my educated guess.
From documentation : The result table includes only dates that exist in the dates column
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
107 | |
70 | |
70 | |
43 |
User | Count |
---|---|
148 | |
106 | |
104 | |
89 | |
65 |