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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Amitkr174
Helper III
Helper III

Dax Help required

I need help in creating a measure based on the below condition:-

1st condition….Instructor=Delivery but not equal to Order, then “Yes”

2nd Condition… Instructor ,Delivery, Order all are different then “Yes” Please suggest.

1 REPLY 1
themistoklis
Community Champion
Community Champion

@Amitkr174 

 

If Delivery, Instructor and Order are all columns and not values you can try the following formula.

 

Create a column not a measure.

 

Column =
SWITCH (
    TRUE (),
    'Table'[Instructor] = 'Table'[Delivery] && 'Table'[Instructor] <> 'Table'[Order], "Yes",
    'Table'[Instructor] <> 'Table'[Delivery] && 'Table'[Instructor] <> 'Table'[Order]) && 'Table'[Delivery] = 'Table'[Order] &, "Yes",
    BLANK()
)

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.