Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Community,
I am getting this error as I am trying create a calculated column and convert Boolean value to string for comparing it with text value in another column.
Below is the sample dataset screenshot
Any help will be appreciated as to how to rectify this error
Solved! Go to Solution.
If the exception column is a true/false type, which it looks like it is, then I don't think you need the VALUE function. You should just be able to compare the exception column to TRUE().
You've got a single &, that's the concatenation operator. You need &&, which is logical AND.
If the exception column is a true/false type, which it looks like it is, then I don't think you need the VALUE function. You should just be able to compare the exception column to TRUE().
Thanks @johnt75 , this worked. But still don't know how. Because we didn't convert the Boolean type to text and compared it to text value
I think its because VALUE expects a text value and you were passing in a boolean. The error message could be phrased better.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
22 | |
17 | |
17 | |
11 | |
7 |
User | Count |
---|---|
27 | |
26 | |
12 | |
12 | |
12 |