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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
MW_TSC
Frequent Visitor

Calculating Overdue Dates based on a Column Value

Hi!

I am trying to create a dashboard for different visuals around customer payments - this visual is specifically for whether or not a payment is overdue, however there are different variables based on domestic and commercial customers.

 

Commercial customers have 30 days after the invoice date before payment is due

Domestic customers have 14 days after the invoice date before payment is due

 

I have got to this stage in my formula creation where no syntax erros have been detected, however the column is still returning "Error" down all lines.

 

Please can anyone help? Screenshot below:

 

MW_TSC_0-1710417701283.png

 

MW_TSC_1-1710417730404.png

 

 

 

1 ACCEPTED SOLUTION
m_dekorte
Super User
Super User

Hi @MW_TSC,

 

You can't add numbers and dates, these are two different types of values

Use the Date.AddDays function instead.

 

To illustrate:
Date.AddDays( [Invoice Date], 30)

View solution in original post

2 REPLIES 2
MW_TSC
Frequent Visitor

That's great, thankyou!

m_dekorte
Super User
Super User

Hi @MW_TSC,

 

You can't add numbers and dates, these are two different types of values

Use the Date.AddDays function instead.

 

To illustrate:
Date.AddDays( [Invoice Date], 30)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Kudoed Authors