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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I am encountering this issue (function switch does not support comparing values of type integer with value of type true/false.) Can anyone help me to fix it?
Solved! Go to Solution.
Hi @Anonymous,
Any update on thsi? Did the above suggestions help with your scenario? If that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
try to write like this
@Anonymous
Please refer to this post https://community.powerbi.com/t5/Desktop/Power-BI-DAX-Function-SWITCH-does-not-support-comparing-values/m-p/793463
Regards,
Ritesh
I have refered this and change my column to text format but still getting the same error. please help