Hi@Alois,
Based on the issue that you mentioned, do you want to view the items whose status is "In Progress" and update them to "Completed" when necessary?
Could you please share a bit more about the scenario?
In your scenario, there should be at least 2 'Detailed Information' screen, one for displaying the "Undelivered" items and set a button to update the status, and another one for displaying the "In Progress" items and set another button to update the status into "Completed".
The key is you should create a collection to store the SP data, and when you want to remove a certain item from the Gallery which will not affect the data source.
I have a test on my side, please take a try as below.
Add a Button in the fist Gallery screen and set the OnSelect property as below:
Collect(ColAss,Assignments)
Note: 'Assignments' is my SP list name.
Set the Items property of the Gallery as below:
ColAss
Click the ">" button and add a Button within the detail screen, set the OnSelect property as below:
Patch(
Assignments,
BrowseGallery1.Selected,
{Status: {Value: "In Progress"}}
);
RemoveIf(
ColAss,
Status.Value = "In Progress"
);
Navigate(Screen1)
After it navigates you to the screen1, there is a Gallery and you can set the Items property as below:
Filter(Assignments,Status.Value="In Progress")
Add another button to update the status, you need to set the OnSelect property as below:
Patch(Assignments,Gallery1.Selected,{Status:{Value:"Completed"}})
Note: Gallery1 is to display the "completed" item, if you do want to update its status, you should select it within Gallery1 firstly in order to make the "Gallery1.Selected" work.
If you want to view the item that is in the "Completed" status, you can add another Gallery and set the Items property as below:
Filter(Assignments,Status.Value="Completed")
All the above operation is aimed to remove the selected "undelivered" item from the Gallery rather than the SP list in order to view it from another Gallery again.
Best Regards,
Qi