Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi all,
Maybe it's possible, maybe not. I have the following question:
I have a table that looks a bit like this.
Company Name ID
Test1 John 100
Test2 Joe 100
Test1 Testname 101
I have a table visual where i can select the name value.
What i want is that when i select the value John with id 100 it also automatically grabs Joe with id 100.
Is there a possibilty in Powerbi for what i want?
Many thanks all!
Solved! Go to Solution.
Hi @Joe_100,
Please check out a demo here.
1. Create a new table full of names.
Table = VALUES(Table1[Name])
2. Establish relationship. Modify the relationship to 1:* and single filter direction.
3. Create a measure.
Result =
VAR selected_id =
CALCULATE (
IF ( HASONEVALUE ( 'Table'[Name] ), MIN ( Table1[ID] ), BLANK () ),
ALL ( Table1[Company], Table1[Name] )
)
RETURN
CALCULATE (
IF ( MIN ( 'Table1'[ID] ) = selected_id, 1, BLANK () ),
ALL ( Table1 )
)
Best Regards,
Dale
Hi @Joe_100,
Please check out a demo here.
1. Create a new table full of names.
Table = VALUES(Table1[Name])
2. Establish relationship. Modify the relationship to 1:* and single filter direction.
3. Create a measure.
Result =
VAR selected_id =
CALCULATE (
IF ( HASONEVALUE ( 'Table'[Name] ), MIN ( Table1[ID] ), BLANK () ),
ALL ( Table1[Company], Table1[Name] )
)
RETURN
CALCULATE (
IF ( MIN ( 'Table1'[ID] ) = selected_id, 1, BLANK () ),
ALL ( Table1 )
)
Best Regards,
Dale
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 67 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |