Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
samc_26
Helper IV
Helper IV

Adding number of days to a date based on another column

Hi, so I have a column with dates and then another coulm with number of days until a service is due on some data and I can't work out how to get the desired output. I don't think I can use the Date add days thing as the number of days change depending on the row. I tried just adding them together but it just gave me errors. 

My data looks like this: 

 

DateDays(Output I'm hoping for)
01/01/253031/01/25
01/02/252526/02/25

 

If anyone can advise I would be very grateful! Thank you 

1 ACCEPTED SOLUTION
pankajnamekar25
Super User
Super User

Hello @samc_26 

You can create a calculated column

 

Service Due Date =

    'Table'[Date] + 'Table'[Days]

 

 

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

View solution in original post

3 REPLIES 3
pankajnamekar25
Super User
Super User

Hello @samc_26 

You can create a calculated column

 

Service Due Date =

    'Table'[Date] + 'Table'[Days]

 

 

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

Brill thank you, I was doing that sum but in power query which wasn't working, this worked great! 

Vijay_Chethan
Super User
Super User

Hello samc_26,
can you explain what exactly do you mean by "giving error",because im sure we could use dax calculated columns to get your desired output

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors