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! Request now

Reply
justincordasco
Frequent Visitor

Add a column of "days" to a set date and return a future date

I have a column of dates and a colum of "Avg days to collect". I want to calculate the expected date of collection by adding the number of days the dates in the first column. Suggestions? 

 

 

Capture.PNG

5 REPLIES 5
Anonymous
Not applicable

If your existing date field is recognised as date type you can either add it as a column or create a measure.

Column:

Column = 'Table'[date] + 'Table'[add date]

Measure:

Measure = sumx('Table';'Table'[date] + 'Table'[add date])

Kind regards
Joren Venema

Data & Analytics Consulant
If this reply solved your question be sure to mark this post as the solution to help others find the answer more easily.

Thanks, but what if they each column is from a different table? I've tried adding them together, but it keeps defaulting the date to a Count of Date. 

Anonymous
Not applicable

Assuming you have a relation between the 2 tables you can use the related() function.

Try the following:

Measure = sumx('Table';'Table'[Date] +RELATED('Table (2)'[add date]))

 

Kind regards
Joren Venema

Data & Analytics Consulant
If this reply solved your question be sure to mark this post as the solution to help others find the answer more easily.

Thank you. Still having an issue. I have a relationship between the tables, but for some reason I am getting an error that they are not related. See screenshots below. One of each table and one of the error. They are both related by the client ID. Error.PNGOpen Invoices.PNGCollection Summary.PNG

Anonymous
Not applicable

Would you mind sharing the report with a limited amount of data?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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