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 have two different tables 1(data table) 2(standard table) , i want dealer name from data table to be same as mentioned n standard table to make a join .sharing an image with dummy data.
Thank you in advance
Hi @Anonymous
The example provided seems to be over simplified. This is one is easy to handle but I guess the real data is much bigger with much more variations. Please provide a descent amount of editable sample data that really reflects all the possible cases.
Hello @tamerj1 ,
Thank you for your reply , sharing link to the editable file
https://docs.google.com/spreadsheets/d/1tZd7UxrheU39KNfTJXsqXyT9T3tJpgYc/edit?usp=sharing&ouid=10564...
@Anonymous
code is required to access the file
Hi @Anonymous
Please refer to attched sample file with the proposd solution.
Dealer (Standard) =
VAR String1 = Table1[Dealer]
VAR Items1 = SUBSTITUTE ( String1, " ", "|" )
VAR Length1 = COALESCE ( PATHLENGTH ( Items1 ), 1 )
VAR T1 = GENERATESERIES ( 1, Length1, 1 )
VAR T2 = SELECTCOLUMNS ( T1, "@Item", PATHITEM ( Items1, [Value] ) )
VAR T3 =
ADDCOLUMNS (
Standard,
"@%Match",
VAR String2 = Standard[Dealer]
VAR Items2 = SUBSTITUTE ( String2, " ", "|" )
VAR Length2 = COALESCE ( PATHLENGTH ( Items2 ), 1 )
VAR T4 = GENERATESERIES ( 1, Length2, 1 )
VAR T5 = SELECTCOLUMNS ( T4, "@Item", PATHITEM ( Items2, [Value] ) )
VAR T6 = INTERSECT ( T5, T2 )
RETURN
DIVIDE ( COUNTROWS ( T6 ), COUNTROWS ( T5 ) )
)
VAR T7 = TOPN ( 1, T3, [@%Match] )
RETURN
MAXX ( T7, Standard[Dealer] )
I have shared complex data is other sheet of the file ,Plwase check
@Anonymous
Same solution is working. I have updated the sample file my the original reply with the detailed data. Seems to work just fine. Please refer to my original reply for the updated sample file
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |