Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Dear All - I need your help to create a measure as below
If Code is = “AAEA” or “CAPJ” or “MRAJ-1” or “12786” then return PASS else FAIL
DATA
| CODE |
| AAEA |
| CALJ |
| CAPJ |
| AU31 |
| AU04 |
| GROJ |
| MORJ |
| MRAJ |
| MRAJ-1 |
| 12786 |
| MRAJ-2 |
| 87979 |
Pls try this
Column = if('Table'[CODE] in {"AAEA","CAPJ","MRAJ-1" , "12786" },"PASS","FAIL")
Measure = if(max('Table'[CODE]) in {"AAEA","CAPJ","MRAJ-1" , "12786" },"PASS","FAIL")
Proud to be a Super User!
Hi @ryan_mayu - With the measure you suggested, it is taking a lot of time to load. Also, I am getting the below error.
I did not try the column as I am keener to achieve this through the measure.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 60 | |
| 47 | |
| 20 | |
| 16 |