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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

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

8 REPLIES 8
Anonymous
Not applicable

Is there a solution using multiple slicers?

jneuey5
Frequent Visitor

Is there a similar solution when using Cards?

v-yulgu-msft
Employee
Employee

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.

thank you so much

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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