Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Joe_100
Helper I
Helper I

Table visual automatically select multiple values

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!

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

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 )
    )

Table_visual_automatically_select_multiple_values

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

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 )
    )

Table_visual_automatically_select_multiple_values

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.