Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 5 | |
| 3 |