Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
Solved! Go to Solution.
pls review the tutorial I provided. You can use Merge function in PQ to get the expected result
Proud to be a Super User!
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
Proud to be a 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.
| Main Table | ||||
| Account ID | Account Name | Country | Key (AccountID& Country) | Customer Name |
| 12 | Pink | UnitedState | 12UnitedState | |
| 16 | Blue | Canada | 16Canada | |
| 19 | Green | Singapore | 19Singapore | |
| 42 | Yellow | Malaysia | 42Malaysia | |
| 78 | Orange | India | 78India |
| Seconed Table | ||||
| Account ID | Account Name | Country | Key (AccountID& Country) | Customer Name |
| 12 | Pink | UnitedState | 12UnitedState | DILIP |
| 12 | Pink | UnitedState | 12UnitedState | Sheyansh |
| 12 | Pink | UnitedState | 12UnitedState | Amit |
| 16 | Blue | Canada | 16Canada | Ram |
| 16 | Blue | Canada | 16Canada | Gaurav |
| 16 | Blue | Canada | 16Canada | Shipra |
| 19 | Green | Singapore | 19Singapore | Deepak |
| 19 | Green | Singapore | 19Singapore | Shibu |
| Result Table | ||||
| Account ID | Account Name | Country | Key (AccountID& Country) | Customer Name |
| 12 | Pink | UnitedState | 12UnitedState | DILIP |
| 12 | Pink | UnitedState | 12UnitedState | Sheyansh |
| 12 | Pink | UnitedState | 12UnitedState | Amit |
| 16 | Blue | Canada | 16Canada | Ram |
| 16 | Blue | Canada | 16Canada | Gaurav |
| 16 | Blue | Canada | 16Canada | Shipra |
| 19 | Green | Singapore | 19Singapore | Deepak |
| 19 | Green | Singapore | 19Singapore | Shibu |
| 42 | Yellow | Malaysia | 42Malaysia | Blank |
| 78 | Orange | India | 78India | Blank |
pls review the tutorial I provided. You can use Merge function in PQ to get the expected result
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |