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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
walnei
Helper III
Helper III

Sum Date + Number

Hello friends. Could help me with the following question ?   I'm trying to create a custom column in power query with the following parameter .   I have 2 columns , column A that has dates and the B column has numbers , I would add the column (data) + Column B (number) and the result would come as a date.  Example: Column A = 01.01.2016 ( Date ) Column B = 10 (number) Sum of Two would = 01.11.2016

 

 

1 ACCEPTED SOLUTION
arify
Microsoft Employee
Microsoft Employee

Hi,

 

You can add a custom column with this formula:

 

Date.AddDays([A], [B])

View solution in original post

3 REPLIES 3
arify
Microsoft Employee
Microsoft Employee

Hi,

 

You can add a custom column with this formula:

 

Date.AddDays([A], [B])

Anonymous
Not applicable

Thank you, this was exactly what I needed, and it worked perfectly!


Thanks for the solution

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.