Forum Discussion
karimm
Helper III
1 year agoFiltering a slicer using an external single checkbox slicer
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 ...
- 1 year ago
rajendraongole1
Super User
1 year agoHi karimm -Please find the attached pbix file with slicer filtering
if you choose yes,
Hope this works. please check and let know.
- karimm1 year ago
Helper III
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.
- danextian1 year ago
Super User
- karimm1 year ago
Helper III
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 :
- Updated this data tableShowInactiveOption = DATATABLE("Show Inactive", STRING,{{"Show Inactive"},{"No"}})
- Updated this measure:Release Filter =VAR ShowInactive = SELECTEDVALUE( ShowInactiveOption[Show Inactive], "No" )RETURNIF(ShowInactive = "Show Inactive",1,IF( SELECTEDVALUE(dimrel[ReleaseStatus]) = "Active", 1, 0 ))