This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 43 | |
| 28 | |
| 24 | |
| 22 |