cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SK123456
Regular 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
v-diye-msft
Community Support
Community Support

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
v-diye-msft
Community Support
Community Support

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

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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors