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
danextian
Super User
1 year agokarimm
Helper III
1 year agoThank 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 ))