Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello , I was hoping someone could help please with an IF statement I am struggling with please.
I have a column called ID's, in this column are ID's that start with numbers, and ID's that start with letters.
There is another column called State which has various strings.
I need to create a measure that says IF the ID column record begins with a number AND the State is READY , then give me true
AND if the ID column begins with letters AND the state is COMPLETE, then True, everything else is False.
I then want to put this measure on a visual
Could anyone help with this please?
Manh thanks in advance
Solved! Go to Solution.
Is this what you want?
Column =
var _CHECK=IFERROR(LEFT('Table (2)'[ID],1)*1,999)
RETURN IF(_CHECK=999 && 'Table (2)'[State]="COMPLETE" , TRUE(),if(_CHECK<>999&&'Table (2)'[State]="READY",TRUE(),FALSE()))
Proud to be a Super User!
Is this what you want?
Column =
var _CHECK=IFERROR(LEFT('Table (2)'[ID],1)*1,999)
RETURN IF(_CHECK=999 && 'Table (2)'[State]="COMPLETE" , TRUE(),if(_CHECK<>999&&'Table (2)'[State]="READY",TRUE(),FALSE()))
Proud to be a Super User!
you are welcome
Proud to be a Super User!
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |