Forum Discussion
amanuit
4 years agoRegular Visitor
Power query editor-Add column
Hello, I am very new to power BI. I am trying to add a conditional column and in condition, I want to compare a column with "." or any text but i am getting error and it is asking to provide numbe...
jennratten
4 years agoSuper User
Hello - the columns you are comparing need to be of the same data type. If you change the actual type of the column it could have subsequent negative consequences. For example, if you convert a number to text and you are later summing that number, the sum function will fail because it is text. If you need to compare a number to text, you can add a column that compares the text value of another column to the comparison text. That way your original value is not impacted.