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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
wlandry12
Frequent Visitor

Checkbox to show closed jobs

I want to display a table on my report that shows only open jobs (Fabrication Complete = False) by default. I know I can do that by setting the page filter to 'Fabrication Complete is False'. But how could I create a slicer or visual with a single checkbox that when the viewer ticks it the closed jobs (Fabrication Complete = True) will show up in the table as well? 

 

I've tried publishing the report with False checked on the Fabrication Complete slicer and setting the slicer filter to True only (as shown below), but this still dispays the False option in the slicer and by clicking True only the closed jobs are then displayed in the tables.

wlandry12_0-1645489952696.png

wlandry12_1-1645490070876.png

Effectively, I want the report to show Fabrication Complete = False by default, then add all data where Fabrication Complete = True to the table visual by simply ticking the box. Ideally, the checkbox would say 'Show closed jobs' next to it.

 

1 ACCEPTED SOLUTION

Thanks for the reply @amitchandak. I actually found a user-friendly solution in creating buttons tied to bookmarks. I set each bookmark's filter, then I stacked the buttons and had the top button's bookmark hide the top button. Then the bottom button would show it again, effectively acting as a toggle.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@wlandry12 , Create a table with one row having value Fabrication Complete

 

Without joining it with table use this

 

if(isfiltered(Fab[Fab]), calculate(Table[Value], filter(Table, Table[Fabrication Complete]=true() )) , calculate(Table[Value], filter(Table, Table[Fabrication Complete] = false())) )

Thanks for the reply @amitchandak. I actually found a user-friendly solution in creating buttons tied to bookmarks. I set each bookmark's filter, then I stacked the buttons and had the top button's bookmark hide the top button. Then the bottom button would show it again, effectively acting as a toggle.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.