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
Hi All
I am getting this error when making a custom column the syntax is accepted and closes, when I look at the column it has errors which reference the error message in the subject above.
Using custom column in PQE, I entered = Table.AddColumn(#"Added Campaign Class", "Custom", each if (not Text.Contains([Name], "Europe") and Text.Contains([Name])=" uk car sale") then " uk car sale" else "no")
I want a column that will tell me where the name is not europe but contains uk car sale then label this as uk car sale
any ideas on what I am doing wrong here ?
Solved! Go to Solution.
Thanks Antriksh this seems to have worked !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!