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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
abn00122
Frequent Visitor

Show blank if nothing is selected in the slicer

Hi All, 

I hope you can help me with this problem. I am try to only display the rows in the table visual if there is a date selected in the slicer. The slicer is a Date, while the table visual only have columns of Category and Count of Product.

Thank you!

1 ACCEPTED SOLUTION

Hello @abn00122 ,

 

use this measure

Filterselected =
IF(
    CALCULATE(ISFILTERED(sampledata[Region]),ALLSELECTED(sampledata[Region])),
    1,
    0
)


Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello @abn00122 ,

 

@AnkitaaMishra  approach is correct, but if the region column is in the table then it won't hid because it would be taking the filter from the column in the table, then the dax should be modified.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hello! Thank you for pointing this out. Will you be able to show how to fix this, please? Thank you!

 

Hello @abn00122 ,

 

use this measure

Filterselected =
IF(
    CALCULATE(ISFILTERED(sampledata[Region]),ALLSELECTED(sampledata[Region])),
    1,
    0
)


Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




AnkitaaMishra
Super User
Super User

Hi @abn00122 , Hope you are doing well.

Please create a measure with below DAX (Please modify the dax as per your date column) : 

Filterselected =
IF(
    ISFILTERED(sampledata[Region]),
    1,
    0
)

Use above measure to filter for your table visual and set it to 1 as shown below : 
AnkitaaMishra_0-1723095593051.png


the output will be : 
when you select something on Region filter then the table will show respective data else it will show blank table : 

AnkitaaMishra_1-1723095658351.png


Let me know if this works for you or give additional details about your requirement.
Thanks,

Ankita

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors