Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Samikshadixit
New Member

Match

I have two tables and both have uniques key based on the key I wanted to get customer name for the accounts, one account has multiple customer name ,i want that based on key match i get all the customer name for each account and if key dosent match than return blank

1 ACCEPTED SOLUTION

@Samikshadixit 

pls review the tutorial I provided. You can use Merge function in PQ to get the expected result1.PNG2.png3.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@Samikshadixit 

you can use merge in the PQ.

pls check the combine queries in the turotial below

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@Samikshadixit ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

  Main Table  
Account IDAccount NameCountryKey (AccountID& Country)Customer Name
12PinkUnitedState12UnitedState 
16BlueCanada16Canada 
19GreenSingapore19Singapore 
42YellowMalaysia42Malaysia 
78OrangeIndia78India 
Seconed Table
Account IDAccount NameCountryKey (AccountID& Country)Customer Name
12PinkUnitedState12UnitedStateDILIP
12PinkUnitedState12UnitedStateSheyansh
12PinkUnitedState12UnitedStateAmit
16BlueCanada16CanadaRam
16BlueCanada16CanadaGaurav
16BlueCanada16CanadaShipra
19GreenSingapore19SingaporeDeepak
19GreenSingapore19Singapore

Shibu

 

  Result Table  
Account IDAccount NameCountryKey (AccountID& Country)Customer Name
12PinkUnitedState12UnitedStateDILIP
12PinkUnitedState12UnitedStateSheyansh
12PinkUnitedState12UnitedStateAmit
16BlueCanada16CanadaRam
16BlueCanada16CanadaGaurav
16BlueCanada16CanadaShipra
19GreenSingapore19SingaporeDeepak
19GreenSingapore19SingaporeShibu
42YellowMalaysia42MalaysiaBlank
78OrangeIndia78IndiaBlank

 

@Samikshadixit 

pls review the tutorial I provided. You can use Merge function in PQ to get the expected result1.PNG2.png3.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.