Forum Discussion
If function with a text column and a mixed column with both text and number
- 7 years ago
You could use this Dax function to make a new column.
IFERROR(VALUE(Table2[Column B]);1000000)
This will change all text values and errors to 1.000.000. (Feel free to chose another number, but it does have the be a number)
Then use the new column as replacement for the column B in your formula.
If you don't want a new column, you can type it all in one Formula.
IF(Table2[Column A]="No" && IFERROR(VALUE(Table2[Column B]);1000000)<5;"Yes";"No")
Hope this will help. :-)
You could use this Dax function to make a new column.
IFERROR(VALUE(Table2[Column B]);1000000)
This will change all text values and errors to 1.000.000. (Feel free to chose another number, but it does have the be a number)
Then use the new column as replacement for the column B in your formula.
If you don't want a new column, you can type it all in one Formula.
IF(Table2[Column A]="No" && IFERROR(VALUE(Table2[Column B]);1000000)<5;"Yes";"No")
Hope this will help. :-)
Solution : {"Material", Any.Type},
Change it to DAX code. can accomodate both type no and text
In column data type you can able to see ABC/123