cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Table Visualisations blank until something selected in a slicer

I have a slicer to filter customer names and I have a table visual which displays columns associated with the customer when nothing is selected on the slicer the table displays all the values for all customers, but is it possible that the table only displays values only when a customer is selected and otherwise it doesn't show anything.

Is it possible to do that?

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft
Microsoft

Hi @Anonymous,

 

Please new a measure:

Measure1 =
CALCULATE ( IF ( ISFILTERED ( TB1[Customer] ), 1, 0 ), ALLSELECTED ( TB1 ) )

Add this measure to visual level filters, and set its value to 1.

1.PNG2.PNG

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

7 REPLIES 7
ST7
Regular Visitor

Is there a solution using multiple slicers?

jneuey5
Frequent Visitor

Is there a similar solution when using Cards?

v-yulgu-msft
Microsoft
Microsoft

Hi @Anonymous,

 

Please new a measure:

Measure1 =
CALCULATE ( IF ( ISFILTERED ( TB1[Customer] ), 1, 0 ), ALLSELECTED ( TB1 ) )

Add this measure to visual level filters, and set its value to 1.

1.PNG2.PNG

Best regards,

Yuliana Gu

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

Beautiful 👍

Thank you

Thanks @v-yulgu-msft , this solution works, however it seems to have an unintended consequence.  When I click on an item in the list filtered by the suggested measure, it blanks out the list I've just clicked on.  Is that supposed to happen? Is there a way around that?

Enable Drillthrough on the filtered table, but don't specify any drillthrough columns.

Anonymous
Not applicable

Thank you @v-yulgu-msft

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors