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.
Hi team,
I have the data in following two tables where i want to match phone numbers in one of the column without country code with another column in a different table that contains phone number and country code together. I was envisioning an approach that uses Text.End function based on the length dynamically.
Table A
Phone Number |
9823456789 |
9923456788 |
9022334455 |
Table B
Phone (with country code) | id |
19022334455 | 3344 |
919923456788 | 3311 |
Final Output
Phone Number | id |
9823456789 | null |
9923456788 | 3311 |
9022334455 | 3344 |
Solved! Go to Solution.
You could use add a column like:
Table.AddColumn(TableOrPriorStepName, "NewValues", each Table.FindText(TableB, [Phone Number]))
--Nate
You could use add a column like:
Table.AddColumn(TableOrPriorStepName, "NewValues", each Table.FindText(TableB, [Phone Number]))
--Nate
Hi @Anonymous
Thanks for your response. It works but can we please improve performance by specifying a column in TableB?
You can try this:
Table.AddColumn(TableOrPriorStepName, "NewValues", each Table.FindText(TableB[[Phone (with country code)id]], [Phone Number])
--Nate
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.