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
Steg
Helper I
Helper I

Report with (first) information from two separate tabels

I have two tables: a table names and roles (A) and a table with case numbers (B)

 

Table A

CaseIDNameRole

1

JohnApplicant
1JimApplicant
1PatrickDefendant
2EmmaApplicant
2BernardDefendant

 

Table B

CaseNrCaseID
45671
45892

 

I need to built a report that show per CaseID, the CaseNr, (first) Applicant and the (first) Defendant. Like this:

CaseNrApplicantDefendant
4567JohnPatrick
4589Emma Bernard

 

Is there an easy way to realize this report? 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Steg , Join A and B on CaseID

Create a Matrix

Row -> B[CaseNr]

Column -> A[Role]

 

Values = Min(A[Name]) //you can use max/first/last too

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Steg , Join A and B on CaseID

Create a Matrix

Row -> B[CaseNr]

Column -> A[Role]

 

Values = Min(A[Name]) //you can use max/first/last too

Thanks, works perfect. 

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.