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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to hide all values in a table that is filtered by another table

Hi all,

I have something that I think should be easy enough to do but I'm having a bit of a problem getting it work like I would hope.

 

I have a table visualization, we'll call it "Summary". It looks like this:

<Division>|<Team>|<Person>|Month|Day|Task|Sum of completed tasks

AAA|ABC Team|Jack|April|10|Do stuff|12

AAA|ABC Team|Jill|April|11|Do other stuff|1

 

When I click on the "Task" entries, I want a second table visual to populate with the individual tasks and how long they took. I can do that part, actually, with filters. And it works. When I click, for example, on "do stuff" i get entries in Table2 showing the details of said task.

 

HOWEVER, when no task is selected, I want that table to be blank (or ideally, invisible entirely). At the moment, for whatever reason, if I don't have a task selected, it's showing me ALL tasks in my data source, until I limit it down to a specific one.

 

Hopefully that makes sense. I can try to show more examples if needed.

 

Thank you!

Josh

1 ACCEPTED SOLUTION

Hello, @Anonymous ,
Are you using the measure in the Filter Pane?
I mean, I took your provided dataset and recreate the measure and it just works:

vojtechsima_0-1650902817601.pngvojtechsima_1-1650902825644.png

 


I am providing sample pbix file you can use to play around.

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

This may be what i'm looking for (or at least a way to make it behave the way I want). Will experiment and report back: https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

vojtechsima
Super User
Super User

Hi, @Anonymous 
Something like this:

vojtechsima_1-1650643976118.png

 

vojtechsima_0-1650643971568.png

Measure like this and inside the visual as filter:

FilterLimit = IF(ISCROSSFILTERED('Table 1'[Service Name (Unique)]), 1, 0)



vojtechsima_2-1650643992739.png

 

@Anonymous 
Technically, if you play with the colours and stuff you can completely hide it:

vojtechsima_3-1650644138175.png

 

Anonymous
Not applicable

@vojtechsima this may be pointing me in the right direction, but...in my case, my initial table visualization and the details visualization come from the same underlying data source table, and the ISCROSSFILTERED function appears to require separate tables (not visualizations) to function correctly (looking at the docs, anyway).

 

When I use the formula you show above, it isn't filtering my results, and my interpretation of said docs is that it's not doing so because both sets of data are from the same source table. Is that correct or am I missing something?

I do *not* have "cross filters" turned on for the page, I'm doing this by "Editing Interactions" and telling the details table that it is filtered by the base table. So, I may be doing that wrong, too.

 

Thank you for your help!

Hi, @Anonymous 
Can you try putting there "ISFILTERED" instead of crossfiltered and lemme know if that works?

Anonymous
Not applicable

@vojtechsima tried that with no luck. Also tried (just to see what would happen) adding my field to the "Cross-report" filter section, with no change.

Anonymous
Not applicable

Maybe IF(HASONEVALUE (Summary[Task]),1,0) ?

Anonymous
Not applicable

Unfortunately, that does not change the behavior.

Hello, @Anonymous ,
Are you using the measure in the Filter Pane?
I mean, I took your provided dataset and recreate the measure and it just works:

vojtechsima_0-1650902817601.pngvojtechsima_1-1650902825644.png

 


I am providing sample pbix file you can use to play around.

Anonymous
Not applicable

Hi @vojtechsima you are correct! I was making Stupid Human Trick kind of mistakes in using your examples above. I apologize for the added confusion. Your solution DOES indeed work.

 

The link I provided is the "how to make this all look smooth" example. I think I've probably found a few ways to improve upon it, with what you suggested. Thank you for your help!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.