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 not sure why my power Query M below kept getting error on
if Text.Contains([User status], "CANC") and Text.Contains([System status], "CLSD) then "Non-Compliant"
else if not (Text.Contains([User status], "CANC")) and Text.Contains([System status], "CLSD") then "Complaint"
else if Text.Contains([System status], "TECO") then "Compliant"
else "Non-Complaint"
See following screenshot.
Solved! Go to Solution.
Hi,
"" double qoutes are missing. "CLSD"
Please correct and try.
Thanks,
Surya teja
I think you are missing a closing quote.
Hi,
"" double qoutes are missing. "CLSD"
Please correct and try.
Thanks,
Surya teja
User | Count |
---|---|
89 | |
70 | |
68 | |
53 | |
27 |