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
nickz3
New Member

Need help to return multiple matchings rows and columns

Hi,

I am trying to return multiple matching rows and columns but keep receiving an error and not sure why.

 

I have two tables (please see below)

nickz3_0-1680033365226.png

 

and this is my desired outcome -

nickz3_1-1680033402184.png

I am trying to use power query to accomplish this. I first merged the two tables using the animal as the matching column.

nickz3_2-1680033468715.png

 

I then go to transform > group by > advanced and fill in the below

nickz3_3-1680033533553.png

 

After selecting ok, I create a custom column doing the following query but receive an erorr - 

nickz3_4-1680033773157.png

Could anyone please assist?

1 ACCEPTED SOLUTION
ChielFaber
Super User
Super User

I think you're looking for this. It uses te Text.Combine function. This will give you the result your looking for.

 

https://gorilla.bi/power-query/group-by-to-concatenate-text/

 

 

View solution in original post

2 REPLIES 2
ChielFaber
Super User
Super User

I think you're looking for this. It uses te Text.Combine function. This will give you the result your looking for.

 

https://gorilla.bi/power-query/group-by-to-concatenate-text/

 

 

Thank you!

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.

Top Solution Authors
Top Kudoed Authors