Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there
I have a slicer in my report showing dropdown list of releases from table dimRelease.
This table contains ReleaseName and ReleaseStatus (Active or Inactive).
The slicer is set to show ReleaseStatus as first level and ReleaseName as second.
We want to provide the user with a checkbox of "Show Inactive Releases".
By default it should be ticked, and the user can untick it to make the slicer hide the inactive ones.
It should look like this:
How can this be implemented?
I know I could do this with bookmarks , but I would like to avoid this approach.
Is there a way to use the checkbox capabilities of slicers for this "Show Inactive Releases"?
I tried using fields parameters but not sure how to capture the state of whether the checkbox is selected or not.
Appreciate your help
Solved! Go to Solution.
Hi @karimm
Modify @rajendraongole1's solution a bit.
Hi @karimm ,
Thank you for reaching out to the Microsoft Fabric Community forum. Also thank you @burakkaragoz and @rajendraongole1 for providing possible solution.
I wanted to check if you had the opportunity to review the information provided by @danextian . Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
'
Thank you.
Hi @karimm ,
You can do this without bookmarks by using a disconnected table and a simple measure to filter your slicer dynamically.
ShowInactive = DATATABLE("Show Inactive", STRING, {{"Yes"}, {"No"}})
Add this as a slicer (checkbox style).
Create a measure to control visibility:
ShowInactiveFilter = IF( SELECTEDVALUE(ShowInactive[Show Inactive]) = "No", "Active", "Active" // or "Active" & "Inactive" depending on your logic )
This way, when the user unchecks "Show Inactive", the slicer will only show active releases.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Translation and text editing supported by AI
Thank you for your reply.
Regarding this step:
Add this as a slicer (checkbox style).
won't this cause the slicer to show 2 checkboxes( Yes and No)? I need only 1 checkbox
Hi @karimm -Please find the attached pbix file with slicer filtering
if you choose yes,
Hope this works. please check and let know.
Proud to be a Super User! | |
Hi
Thank to for your reply.
I know how to do this but this doesn't answer my requirement of having a single checkbox. Your solution has a big filter with Yes and No. I need a compact solution where the checkbox behaves like a toggle.
Hi @karimm
Modify @rajendraongole1's solution a bit.
Thank you @danextian and @rajendraongole1 for your help.
I really appreciate your help.
With the last changes from danextian, it's working now!
I'm trying to attach the final pbix file so others can use it if needed. But seems not to be possible for me.
So I'm listing here the changes that didn't show clearly in @danextian GIF :
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |