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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nick2358
Helper III
Helper III

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
v-alq-msft
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.

lbendlin
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.