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

Clean summary table & chart when nothing is selected in the slicer

Hi,

 

I have created a slicer and a data summary and a line chart will be modified based on the selection.

 

Is there a way to make the summary table to be blank when the slicer is not selected?

 

I've tried to apply the measure that I created <Slicer Selected> under visual level filters; however, it's still not working.

 

Thanks in advance for the assistance.

 

temp1.pngtemp2.png

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

I've tried to apply the measure that I created <Slicer Selected> under visual level filters; however, it's still not working.

What formula are you using to create the <Slicer Selected> measure?

Base on my test, I can use the following formula to create the <Slicer Selected> measure, then use it as visual level filters(<Slicer Selected> is "Yes") to clean the table visual in your scenario. Smiley Happy

Slicer Selected =
IF (
    CALCULATE (
        ISFILTERED ( 'TableName'[SlicerColumn] ),
        ALLSELECTED ( 'TableName'[SlicerColumn] )
    ),
    "Yes",
    "No"
)

r1.PNGr2.PNG

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

I've tried to apply the measure that I created <Slicer Selected> under visual level filters; however, it's still not working.

What formula are you using to create the <Slicer Selected> measure?

Base on my test, I can use the following formula to create the <Slicer Selected> measure, then use it as visual level filters(<Slicer Selected> is "Yes") to clean the table visual in your scenario. Smiley Happy

Slicer Selected =
IF (
    CALCULATE (
        ISFILTERED ( 'TableName'[SlicerColumn] ),
        ALLSELECTED ( 'TableName'[SlicerColumn] )
    ),
    "Yes",
    "No"
)

r1.PNGr2.PNG

Regards

Anonymous
Not applicable

Thanks so much. After modifying my formula to match yours, it works for me now.

 

I only have the ISFILTERED in my original formula and I guess that is where I made the mistakes.

 

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.