Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Toggle Control

I have two toggle switch in a gallery.

The first one(CompletedTask) is used to filter the gallery as per criteria.

The second toggle is (TaskComplete) used to patch value back to SQL.


The problem I am having is when check the TaskComplete toggle, it patches true back to SQL and the record is gone from the list. When I check the CompletedTask Toggle, I see that record. However when I uncheck the CompletedTask Toggle to see the remaining task list, the top most record is automatically marked as taskcomple to true back to SQL.


Why is the first toggle even trying to control the second toggle and trying to patch when the list is just filtering as per the first toggle?

Super User II
Super User II

Hi @chaitanyaChavan,

First, make sure both toggles are inside the gallery. Please post the location of the patch function in the toggle’s property, ie OnChange, OnCheck,etc. and finally the actual Patch() functions in order to troubleshoot your problem. Also, why do you have two toggles when you can have one do both functions?

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,371)