Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
51 | |
50 | |
48 |