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

View all the Fabric Data Days sessions on demand. View schedule

Reply
lardo5150
Microsoft Employee
Microsoft Employee

How to When no selection in Slicer, show nothing

In my table I have a slicer to pick which day to show data.

of course if i dont select anything it shows them all.

This is going to build so this is not ideal.

How can I set the slicer, so that when nothing is selected, it does not show the day columns, but still shows the engineer column?

 

lardo5150_0-1648211376560.png

 

4 REPLIES 4
lardo5150
Microsoft Employee
Microsoft Employee

@Jihwan_Kim that did not work for me sorry.

I got closer with this:

dayselection2 = IF(ISBLANK(SELECTEDVALUE(crb3f_totalcases[crb3f_date])),0,1)
When nothing is selected, nothing shows.
The only problem here is I am still wanting the full list of engineers to show, and it is not doing that.
lardo5150_0-1648226538524.png

 

So the idea is when nothing in the Date slicer is selected, the only column that should show up is the full list of engineers.

Now, using what I have above, if I choose 1 item in the slicer, I get 1 item.

lardo5150_1-1648226720843.png

 

but if I select two or all, nothing shows up.

 

What i am expecting to happen is this:

1. If nothing in the slicer is selected, the only column that should show up is the list of engineers on the left.

2. if I select something int he slicer, it shows that column, if I select another, that column, etc.

 

I even tried taking the slicer out and just adding that as a filter for the table, same thing:

 

lardo5150_2-1648226833837.png

 

 
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

I hope you can apply the similar concept to your data model.

Please be noted that the column used for slicer visual is not the same column as that is used in the matrix visual.

 

Picture1.png

 

Value total: =
SWITCH (
    TRUE (),
    ISFILTERED ( 'Calendar'[Date] ), SUM ( Data[Value] ),
    BLANK ()
)

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
mh2587
Super User
Super User

You can HASONFILTER() OR HASONVALUE() function on date column to acheive this


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



lardo5150
Microsoft Employee
Microsoft Employee

How would you set the HASONFILTER?

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