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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I'm going crazy trying to get a simple formula working. I want to say, if location_ID is like 'AA%' THEN Y ELSE N. I've tried:
Solved! Go to Solution.
CONTAINS searches through a column of values for a particular value. You want to search text for a substring, so CONTAINSSTRING is probably closer to the function you want but LEFT might be a good choice for this situation too.
CONTAINS searches through a column of values for a particular value. You want to search text for a substring, so CONTAINSSTRING is probably closer to the function you want but LEFT might be a good choice for this situation too.
Yes, thank you, CONTAINSSTRING works!