Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
PowerBI seems to have a hard time converting "1" and "0" to TRUE and FALSE.
Is the best way here to convert to Whole Number first then add another step to convert to True/False??
Expression.Error: We couldn't convert to Logical.
Details:
1
Solved! Go to Solution.
Either through Power Query or DAX i'd make another column. The formula would just be [Value] = 1. That way if [Value] is 0, you will get a false, and if it is 1 you will get a true.
I agree with the comment above. You could also nest type transformation in one step by using Advanced Editor.
Either through Power Query or DAX i'd make another column. The formula would just be [Value] = 1. That way if [Value] is 0, you will get a false, and if it is 1 you will get a true.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 19 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 41 | |
| 40 | |
| 30 |