Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 151 | |
| 130 | |
| 109 | |
| 79 | |
| 54 |