I found a few videos in youtube and google about this but still can't figure out why i can't patch the data in sharepoint.
Problem no.1

I have this sharepoint called as "Receiving CKD K7". In this case, when I want to bulk check the check box of the data in gallery, the pillar, subpillar and storage bin will appear the same value. this is what it looks like in powerapps.

but unfortunately, when i select the data that i want to choose the pillar, sub pillar and storage location, it only appear in one data only like the first picture.
The code is already messy. Its been two weeks i try to solve but still can't solve the problem. I found a few people solve the problem but they didn't provide the full code which is hard for me as a beginner to understand the code.