Try this one @Meghna_Jain ,
Common CheckBox:
1. OnCheck:
ClearCollect([TempYourCollection],[YourCollection])
ForAll([TempYourCollection] As Record,
Patch([YourCollection],LookUp([YourCollection],ID = Record.ID),{[YourCheckBoxColumnName]:true})
)
1. OnUnCheck:
ClearCollect([TempYourCollection],[YourCollection])
ForAll([TempYourCollection] As Record,
Patch([YourCollection],LookUp([YourCollection],ID = Record.ID),{[YourCheckBoxColumnName]:false})
)
Gallery CheckBox:
1. OnCheck:
Patch([YourCollection],LookUp([YourCollection],ID = ThisItem.ID),{[YourCheckBoxColumnName]:true})
1. OnUnCheck:
Patch([YourCollection],LookUp([YourCollection],ID = ThisItem.ID),{[YourCheckBoxColumnName]:false})
Note:
Please consider marking my post as the solution by clicking "Accept" if it assisted you in resolving your issue. This action will make it easier for others to find the solution and will close the item. If you found the content helpful in other respects, please consider giving it a thumbs up.