cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SK123456 Visitor
Visitor

Create a query with values from one table copied down rows to match values from another

I have 2 tables and I am looking to have a query that will return a single table:

 

Name Type NameType
Name1 Type1 Name1Type1
Name2 Type2 Name1Type2
Name3 Type3 Name1Type3
    Name2Type1
    Name2Type2
    Name2Type3
    Name3Type1
    Name3Type2
    Name3Type3

 

Preferably the end refult table would also be updated when I refresh my 2 based tables

 

Thank You

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Create a query with values from one table copied down rows to match values from another

Hi @SK123456 ,

 

I think you can refer to the merge queries: 

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

Here's a blog for your better understanding:

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Create a query with values from one table copied down rows to match values from another

Hi @SK123456 ,

 

I think you can refer to the merge queries: 

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

Here's a blog for your better understanding:

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Community Support Team
Community Support Team

Re: Create a query with values from one table copied down rows to match values from another

Hi @SK123456 ,

 

If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!

Best regards,
Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 46 members 968 guests
Please welcome our newest community members: