Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello, I am comparing customer names from two different columns to find any mismatches. I am using the following formula:
Solved! Go to Solution.
HI @Anonymous
You just need to adjust the formula as below:
LEFT(RELATED ('ECS_EZQuery44'[Customer_Name]), 12)
MismatchCusName = IF (
(LEFT('SRC_Customers'[CUSTOMER_NAME],12)) = LEFT(RELATED ('ECS_EZQuery44'[Customer_Name]), 12),
"Match",
"Mismatch")
Regards,
Lin
Check if you can use mid/left function in comparison
left(table[name],12)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin
HI @Anonymous
You just need to adjust the formula as below:
LEFT(RELATED ('ECS_EZQuery44'[Customer_Name]), 12)
MismatchCusName = IF (
(LEFT('SRC_Customers'[CUSTOMER_NAME],12)) = LEFT(RELATED ('ECS_EZQuery44'[Customer_Name]), 12),
"Match",
"Mismatch")
Regards,
Lin