cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Hide unchecked boxes on toggle

I want to be able to hit a toggle button and it only shows the checkboxes that are selected. This is my items for the gallery Filter(
collCCBMasterData,
If(
IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = "All",
true,
'Functional Area' in ComboBox1.SelectedItems
) && If(
IsBlank(ComboBox1_1.Selected.Result) || ComboBox1_1.Selected.Result = "All",
true,
'Backlog Status' in ComboBox1_1.SelectedItems
) && If(
IsBlank(Filter.Text),
true,
Filter.Text in 'Requirement Source'
) && If(
IsBlank(Search_.Text),
true,
Search_.Text in Name
)
). How can I add a toggle to filter the data so only that only checked boxes are shown ?

23 REPLIES 23

@powerapps890 ,

Not without patching a value to the list. You could do the Patch part and not the Default and then sort by Checked.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Couldn't I just remove the toggle and update the filter to just filter it to the top? I need what it's the default now because it saves the previous responses @WarrenBelz 

Can you help with this or should I start a new post? @WarrenBelz 

@powerapps890 ,

I am not sure how the flag can affect this - you need a value in your data the same as the checkbox so you can sort the gallery by this - you can Patch to this as I suggested and it will sort as required, but unless the checkbox is linked to it, the previous box will reset.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (95,630)