Hello everyone!
i create a powerapp where i can weekly track the best before date of food. The value of this dates i pick up with a datepicker and save back to a sharepoint list.
First Problem: i cannot find a formular for a button, where i can delete only the selected datepicker entry (and reset the datepicker to empty as it was before from begining- without date) and delete the entry from the sharepoint list also.
Second Problem: also i need a formular for a button where i can delete and reset the hole datepickers in the App to empty and also in Sharepoint list.
Hope someone can help!
Thank you,
BR, Tom
RemoveIf('YourDataSource',YourDateColumn=DatePickerCanvas2.SelectedDate)
This assumes that all dates in your datasource are unique. You might also want to use additional conditions for the RemoveIf.
WarrenBelz
146,552
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional