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

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.

Reply
Anonymous
Not applicable

Display table details based on click on another table

I have previously used this wonderful guide to hide/show data on my report: Show or Hide a Power BI Visual Based on Selection - Excelerator BI

 

However, I now have two tables that are linked (data actually comes from the same source), and for the status of presentation I would only like the 'information table' to display information when a tick box in the 'summary table' above is clicked. 

 

The 'information table' deals with HTML, so uses that additional view to effectively display the data - whilst the 'summary table' is actually a Table Visualization.

 

So, if the above table has a summary of countries - UK, France, Spain, etc - I only want the below information table to provide the additional information when one of the rows above is clicked. 

 

Currently, the click does display the relevant detail; but if nothing is selected a collection of data is displayed below which although not report breaking, is not ideal. 

 

Any ideas as to solutions? 

 

Many thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I fixed this by taking filters off and then changing the table interactions (so it doesn't automatically filter now, and therefore only displays results when it is clicked on). 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I fixed this by taking filters off and then changing the table interactions (so it doesn't automatically filter now, and therefore only displays results when it is clicked on). 

Anonymous
Not applicable

Thanks - sorry for not being clear, I'll see if I can share something. 

 

Essentially, I don't want a filter/slicer; I want a table (which is already displaying results) that then controls the detail that is displayed (or not) in another visualisation. 

v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous ,

Do you want to display others when no content is selected?

You can make an IF statement judgment after your measure

1. Create some data:

vyangliumsft_0-1624869979579.png

2. Create measure.

Measure =
var _1=SELECTEDVALUE('Table'[countries])
return
IF(MAX('Table'[countries])=_1,
MAXX(FILTER('Table','Table'[countries]=_1),'Table'[info]),
"no select")

3. Result.

When selecting, display the corresponding value.

vyangliumsft_1-1624869979583.png

When it is not selected, "no select" is displayed.

vyangliumsft_2-1624869979595.png

If the result does not meet your expectations, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.