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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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