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
Nathanael04
Frequent Visitor

Dax Messure Error

Hi, made this DAX ne messure and it give me this error.

 

Dispatch Status =
    SWITCH(
        TRUE(),
        [order_estimated_delivery_date] - [order_delivered_carrier_date] >= 5, "On Time",
        [order_estimated_delivery_date] - [order_delivered_carrier_date] < 0, "Late Dispatch",
        "Disputable"
    )
 
and it give me this error.
"The value for 'order_estimated_delivery_date' cannot be determined. Either the column doesn't exist,"
 
anyone can me any insite for this. thank you
 
 
1 ACCEPTED SOLUTION

hi @Nathanael04 

 

your code is good for adding a calculated column, not good for a measure. 

 

p.s. please consider @ someone, if you seek further suggestions. 

View solution in original post

3 REPLIES 3
Nathanael04
Frequent Visitor

column

 

hi @Nathanael04 

 

your code is good for adding a calculated column, not good for a measure. 

 

p.s. please consider @ someone, if you seek further suggestions. 

FreemanZ
Super User
Super User

hi @Nathanael04 

is order_estimated_delivery_date a measure or column?

 

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.