cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Merging queries One to Many

Hello everyone,

 

Here is my problem today. I have 2 tables that I want to merge to have combined information. 

Table1 has the name showing once and Table2 has the name showing several times.

 

Table1                                 Table2

Name                                  Name                           Status

Merchant X                         Merchant X                  Processing

                                            Merchant X                  Null

                                            Merchant x                   Null

 

My issue is Merchant X will show three times as "Null" and I need to show it once as "Processing" and twice as "Null" in my Matrix. 

 

Does anyone know how I can do that? 

 

Of course I use Table1 because of other info in this table otherwise I'd only use Table2 😉 

 

Thanks,

 

Nick,

2 REPLIES 2
Community Support
Community Support

Hi, @Nick2358 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

g1.png

 

You may go to 'Query Editor' and add an index column.

g2.png

 

Result:

g3.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User III
Super User III

Your explanation and your sample don't match.  Please be more specific.  Merging a single cell table with another table has no effect whatsoever.

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors