Hi PowerApps community!
I am creating an inventory app for our internal use. I have a gallery of data from a SharePoint list with a checkbox for each item. When the item is checked, it adds it to a collection which is then pulled into another gallery on a pop window.
If you check multiple items, then deselect any one of them, the Notify action reads it all as no checked boxes. The pop up window to update quantities doesn't come back up until you uncheck everything, then the Update button works as intended. Screenshots are below.
Update Button Code: If(Checkbox2.Value=true,Set(_popup,true),Notify("Please select one or more options."))
Deselect Red 10 ft. and the Notify action goes.
Any thoughts would be insanely helpful!
Solved! Go to Solution.
hi @rknight this function check the last check box value your acted on, so it is false for that checkbox and false for "all". add a counter to check if any checkbox is true, something like Set(_Checked, CountRows(Filter(Gallery1.AllItems,Checkbox2.Value=true))) then evaluate that variable to show the pop up
If(_Checked > 0,Set(_popup,true),Notify("Please select one or more options."))
Hope it helps
hi @rknight this function check the last check box value your acted on, so it is false for that checkbox and false for "all". add a counter to check if any checkbox is true, something like Set(_Checked, CountRows(Filter(Gallery1.AllItems,Checkbox2.Value=true))) then evaluate that variable to show the pop up
If(_Checked > 0,Set(_popup,true),Notify("Please select one or more options."))
Hope it helps
You rock! Worked flawlessly. Thank you for your assistance!