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 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |