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.
I have two tables: a table names and roles (A) and a table with case numbers (B)
Table A
CaseID | Name | Role |
1 | John | Applicant |
1 | Jim | Applicant |
1 | Patrick | Defendant |
2 | Emma | Applicant |
2 | Bernard | Defendant |
Table B
CaseNr | CaseID |
4567 | 1 |
4589 | 2 |
I need to built a report that show per CaseID, the CaseNr, (first) Applicant and the (first) Defendant. Like this:
CaseNr | Applicant | Defendant |
4567 | John | Patrick |
4589 | Emma | Bernard |
Is there an easy way to realize this report?
Solved! Go to Solution.
@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
@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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |