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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello, community
I have a situation where I have contracted dates for vehicles, and I need to calculate the renovation date, which is after 6 months and after one year. The thing is that I have some vehicles with starting contracts on the 1st of March, therefore when I do a formula where I add a year to it, it can happen that the result is the 2nd (If I am not wrong, Power BI just adds 365 days to it, and I am guessing for shortened February years that is a potential problem).
This is my formula:
Does anybody know how to solve that scenario?
Thanks in advance for your time 🙂
Solved! Go to Solution.
Hi @Victormar
Instead of adding a 1 to the year or 6 to the month, why not just use EDATE? EDATE ( DATE (2024, 3, 1), 18 ) is DATE (2025, 9, 1) which is 18 months after the original date. Or if you want the date 18 months prior, just use -18.
March 1, 2024 becomes
thanks! that worked really good!
Hi @Victormar
Instead of adding a 1 to the year or 6 to the month, why not just use EDATE? EDATE ( DATE (2024, 3, 1), 18 ) is DATE (2025, 9, 1) which is 18 months after the original date. Or if you want the date 18 months prior, just use -18.
March 1, 2024 becomes
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 105 | |
| 40 | |
| 33 | |
| 25 |