Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I want to create two measures that i can drag into a table visual against a common column.
The data is as following
Table 1:
Table 2
Final Desired Table- I wish to drag contact_id from Table 1 and the two measures to give following
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
The first way:
Using @Tahreem24 's method: Create relationship
Another way: Do not need to create relationships.
Create a measure:
Measure =
CALCULATE (
MAX ( 'Table'[Segment] ),
FILTER (
ALL ( 'Table' ),
'Table'[CONTACT_ID] = SELECTEDVALUE ( Table_1[contact_id] )
)
)
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
The first way:
Using @Tahreem24 's method: Create relationship
Another way: Do not need to create relationships.
Create a measure:
Measure =
CALCULATE (
MAX ( 'Table'[Segment] ),
FILTER (
ALL ( 'Table' ),
'Table'[CONTACT_ID] = SELECTEDVALUE ( Table_1[contact_id] )
)
)
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous You need to have a relationship between these two tables based on common key (let's say Contact_ID) then you can drag them all together.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 40 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 184 | |
| 123 | |
| 106 | |
| 78 | |
| 52 |