Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

how to delete records based on month wise

(0) ShareShare
ReportReport
Posted on by

i have sharepoint list ,for date using default coloumn 'Created'.

i connect to list to gallery.

now i want to delete records by bulk using Default Date coloumn. ( records should delete by month wise ). 

how to do this ?

Categories:
  • Talha_Dar Profile Picture
    870 Super User 2024 Season 1 on at
    Re: how to delete records based on month wise

    Hi @venky232,

     

    You can create two datepicker controls to select the start and end dates for the records that you want to delete. Then, use the following formula on the 'OnSelect' property of a button to delete all the records between these dates.

     

    RemoveIf(
     YourListName,
     DateColumn >= StartDatePicker.SelectedDate &&
     DateColumn <= EndDatePicker.SelectedDate
    );

     

    If you found my answer helpful, please consider giving it a thumbs-up or a like. Your feedback is greatly appreciated!

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • timl Profile Picture
    34,933 Super User 2025 Season 1 on at
    Re: how to delete records based on month wise

    Hi @venky232 

    You can bulk delete records by calling the RemoveIf function.

    For example, here's how to delete records created in June 2023

    RemoveIf(YourSharePointList,
     Created >= Date(2023,06,01) && Created < Date(2023,07,01) 
    )

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard