The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
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()
)
User | Count |
---|---|
12 | |
8 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |