Forum Discussion

Steg's avatar
Steg
Icon for Helper I rankHelper I
5 years ago
Solved

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? 

  • 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

2 Replies

  • 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