Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have this:
Solved! Go to Solution.
@NingMel try this:
WO with Code TF1 or TF2 =
COUNTROWS (
FILTER (
WORK_ORDER,
CONTAINS (
RELATEDTABLE ( EQUIPMENT ),
EQUIPMENT[EQUIPMENT_CATEGORY_CODE], "TF1"
)
|| CONTAINS (
RELATEDTABLE ( EQUIPMENT ),
EQUIPMENT[EQUIPMENT_CATEGORY_CODE], "TF2"
)
)
)
@NingMel try this:
WO with Code TF1 or TF2 =
COUNTROWS (
FILTER (
WORK_ORDER,
CONTAINS (
RELATEDTABLE ( EQUIPMENT ),
EQUIPMENT[EQUIPMENT_CATEGORY_CODE], "TF1"
)
|| CONTAINS (
RELATEDTABLE ( EQUIPMENT ),
EQUIPMENT[EQUIPMENT_CATEGORY_CODE], "TF2"
)
)
)
@SpartaBI Thank you so much it works!!! I knew it was something to do with this || but I never use it before. I tried below but it didn't work. Anyway thank you so much.
@NingMel my pleasure 🙂
Please don't forget to accept my previuos reply as a solution for community viasabilty and appreciate your kudos 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
27 | |
23 | |
13 | |
8 |
User | Count |
---|---|
73 | |
51 | |
45 | |
16 | |
12 |