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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MichaelWild
Regular Visitor

Combine data from multiple rows

I use a matrix visual to show an overview table on my report page and I am stuck with one of the columns.

My matrix visual looks like that - I am struggling with the last column "Impacted products":

ID_nrCauseOwnerApproverImpacted products
123ProblemJoeHugo 
456IssueHannaFritz 
789FailureLauraPaul 

 

From a second table I receive the information about the Impacted products however they are in the following format:

ID_nrImpacted product
123Product A
123Product C
123Prodcut D
456Product A
456Product F
789Product F
789Product A
789Product D
789Product X

 

In the end I to end up with the final overview table like that:

ID_nrCauseOwnerApproverImpacted products
123ProblemJoeHugoProduct A, Product C, Product D
456IssueHannaFritzProduct A, Product F
789FailureLauraPaulProduct F, Product A, Product D, Product X

 

Unfortunately I cannot wrap my head around how to filter the data to come up with the desired outcome. 

Any help is greatly appreaciated.

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

 

Picture1.png

 

Impacted products measure : =
IF (
ISFILTERED ( Table1[ID_nr] ),
CONCATENATEX ( RELATEDTABLE ( Table2 ), Table2[Impacted product], ", " )
)
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

 

Picture1.png

 

Impacted products measure : =
IF (
ISFILTERED ( Table1[ID_nr] ),
CONCATENATEX ( RELATEDTABLE ( Table2 ), Table2[Impacted product], ", " )
)
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you very much - works like a charm.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.