web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete a row if its mo...
Power Automate
Answered

Delete a row if its more than 30 days old

(0) ShareShare
ReportReport
Posted on by 58

Hi, i'm looking to delete row in a spreadsheet if it more than 30 days old. This is what I have so far. 

 

flow1.png

Compose 2 is addDays('1899-12-30',int(outputs('Compose')),'dd-MM-yyyy')

Condition is output of compose 2 'equal to' addDays(utcNow(),-30)

 

even though I have rows that would qualify the condition result is False.

 

Grateful for help. 

 

Categories:
  • Verified answer
    beanybone Profile Picture
    58 on at

    Solved myself, just changed Is 'equal to' to is 'less than or equal to'. 

  • Javier Gallego Profile Picture
    Microsoft Employee on at

    Hi beanybone

     

    Thanks for sharing the solution.

     

    Regards,

    JAvier

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard