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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Checkbox Slicer

Hi!

 

I have a table with a "Count" column. Values are 0 and greater.

 

I would like to use a Checkbox Slicer "[x] Include Zeros" or something similar that would work.

 

1] When the Checkbox Slicer is checked "[x] Include Zeros" 

I would like to chage the table filter for the column "Count" to "Count >= 0"

 

2] When the Checkbox Slicer is un-checked "[ ] Include Zeros"

I would like to chage the table filter for the column "Count" to "Count >= 1" or "Count >= All"

 

Thanks

4 REPLIES 4
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous , 

It seemed wired for your logic:

for the column "Count" to "Count >= 0" and "Count" to "Count >= 1" or "Count >= All"

the data in [Count] column>=1 must >=0, so which one should the data show? And what is the logic of "Count>=All"?

Could you please offer a sample data and your desired result if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi!

 

Summary Table with Counts for each ItemSummary Table with Counts for each Item

Based on the picture above you can see that I have in the "Count" column rows with values from 0 to n. (> 0)

 

I would like a slicer that works like a checkbox (or a toggle button) , something like "[ ] Show only non-zero Items" with just two states.

 

1] "[ ] Show only non-zero Items" - If un-checked it shows all Items.

2] "[x] Show only non-zero Items" - If checked it shows only Items that have a Count > 0

(All the rows with "Status" = "green traffic light" would be filtered out)

 

Hope that makes it clear.

 

Thanks

Anonymous
Not applicable

@Anonymous did u find solution? if so can u share here

Anonymous
Not applicable

Hi!

 

No yet ! 😞

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.