Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Ive such a simple question but im unable to fix it.
I need to plan an activity base upon another activity and therefore i need to subtract 14 days from a date column but the result returns a date in the year 1899
The formula is simple
Solved! Go to Solution.
Hi, it will depend in where you solve this. You have to create a new column. If you want to solve it in edit queries check "AddDays" function. If you want to solve this with DAX check "DATEADD" function. In order to make it work the column has to be date type.
Hope this helps,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!
@ibarrau ive corrected the problem and the right formula should be
Hi, it will depend in where you solve this. You have to create a new column. If you want to solve it in edit queries check "AddDays" function. If you want to solve this with DAX check "DATEADD" function. In order to make it work the column has to be date type.
Hope this helps,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!
@ibarrau ive corrected the problem and the right formula should be
Power bi by default won't help you with working days. This is something you have to create, do some data modeling first.
Check this post talking about them: https://www.sqlbi.com/articles/counting-working-days-in-dax/
Right now your formula just substract days in general.
Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!
I have to substract two columns one date and other number .
want to substract date
eg
c1 c2 c3(expected)
21-08-2020 11 07-08-2020
10-08-2020 6 03-08-2020
17-08-2020 13 30-07-2020
want c3 = c1-c2 excluding weekends ...
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 38 | |
| 31 | |
| 26 |