cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Only showing data in a second table when a single row is selected in first table

I have a list of contacts who attended events. I can see a table of the most recent event they attended.


Each contact can be a part of one or more office. Offices are shown in a second table.
I only want to show the offices in the second table, when a single contact ( or row in the first table) is selected.

As i have no measures on the tables and am not aggregating, im unsure how to tackle this.

 

The below link is to a sample pbix illustrating the issue, . I want to only see the offices in the Contacts Office table, when a user selects a single contct row in the attendance table.

 

Link to pbix

 

Appreciate any advice on this.

4 REPLIES 4
Super User I
Super User I

Re: Only showing data in a second table when a single row is selected in first table

@wilson_smyth if i click a row in the table with contact name it shows only the office selected, so dont understand what your issue is exactly?  maybe screen shot and show the problem


Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!
Highlighted

Re: Only showing data in a second table when a single row is selected in first table

Apologies, I did not ask the question correctly.

 

Currently, if no rows are selected, all offices are displayed in the offices table.


I want 0 rows to show in the offices table, unless a row is selected in the contacts & events table. 

 

Gazzer Member
Member

Re: Only showing data in a second table when a single row is selected in first table

I don't believe what you want is currently possible.

Maybe it would be worth suggesting as an update?
I would vote for the idea...

Microsoft v-jiascu-msft
Microsoft

Re: Only showing data in a second table when a single row is selected in first table

Hi @wilson_smyth,

 

There could be a workaround. But I can't do it in your mode. It's something like this: adding a tag column.

tag =
IF (
    ISFILTERED ( Office[Office Name] ),
    COUNT ( Contact[Contactname] ),
    BLANK ()
)

Only_showing_data_in_a_second_table_when_a_single_row_is_selected_in_first_table

 

 

Please create an idea here for the new feature.

 

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
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors