Hello
I have solved that problem now it is working fine.
Thanks for your reply . if I will stuck any other task in future I will contact to you. If you do not mind can I get your Gmail id.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am creating one application in PowerApps .where I am select the date like Monday To Friday and its data show in Gallary where its button for delete the date but if I select the button its not delete the Monday To Friday Data to select any of the button. If I select any one button like 22 ,23,24,25 august date its will delete this four record.
I use Remove(datasouce,thisitem);
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hello
I have solved that problem now it is working fine.
Thanks for your reply . if I will stuck any other task in future I will contact to you. If you do not mind can I get your Gmail id.
Dear Rizwan,
I may need some time to do a test and I'll update here as soon as possible.
Thanks for your understanding and patience.
Sincerely,
Cliff | Microsoft Community Moderator
ok i will wait
Dear Rizwan,
Sorry for the late reply.
I use the SharePoint list as the data source and do a test and verify that the formula Remove(datasouce,thisitem) should only remove the selected item.
If you also use the SharePoint list as the data source, I'd like you to check whether you type Items = the site list name in your gallery. If yes, I suggest you try Remove(listname,[galleryname].Selected) to see if the delete action is successful in your environment.
Generally, to clear all items in a gallery, you may create the delete button on the screens and type Remove(listname,[galleryname].AllItems) on OnSelect of the button.
If you create a new list and do a test, what's the result? May I know whether you create a collection and display it by using the gallery?
Sincerely,
Cliff | Microsoft Community Moderator
Hello Sir
This is not working actually I have two requirement.
1- if I select the date for one day means I want to book a meeting room for one day and I want to reject the this one so only delete this one day booking , not for all.
2- I select the date for one weekdays like Monday to Friday and book meeting room for one weekdays and I want to reject the this one weekdays so only delete this one weekday data not one day data.
Remove(listname,[galleryname].AllItems);
This Function delete all data from gallery .
Either I want to delete one day data or one weekdays data.