Forum Discussion
Anonymous
4 years agoNot applicable
Differentiate between Text & Number and if Text return as Zero
Hello Everyone, I have a column having results which comprise numbers and text. I am looking to create a new measure which shall work on the logic that if there is a number value in the existing col...
- 4 years ago
Hi Anonymous
you can try this measure
when the current row contains "BDL", CONTAINSSTRING() will return true, then test will return 0, else return current row.
test = IF(CONTAINSSTRING( MIN('Table'[Existing Column]),"BDL"),0,MIN('Table'[Existing Column]))Regards,
OliT
OliT
Resolver I
4 years agoHi Anonymous
you can try this measure
when the current row contains "BDL", CONTAINSSTRING() will return true, then test will return 0, else return current row.
test = IF(CONTAINSSTRING( MIN('Table'[Existing Column]),"BDL"),0,MIN('Table'[Existing Column]))
Regards,
OliT