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 / Help trying to copy ro...
Power Automate
Answered

Help trying to copy rows from one sheet to another

(0) ShareShare
ReportReport
Posted on by 51

Hi,

 

I have a sheet with the columns #, Date, Channel, Category, Title.

 

I am trying to copy rows which have the 'Date' column greater than a deadline date into another new sheet. 

I have created a flow which runs successfully but doesnt update anything.

 

Perhaps the condition I am using may be incorrect. Can someone please help with this? 

 

Flow image below - 

 

Screenshot 2019-01-08 at 5.58.41 PM.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @mowgli512,

     

    You said that the flow runs successfully but doesn’t update anything, please make sure there are items that matched the condition.

    I have made the following test.

    Before creating the flow, I have created an Excel table with the columns you mentioned, and I formatted the Date column as type of Text.

    1.PNG

    Then configured the flow likes below. Input the following code in the Condition in Advanced mode:

    @greater(formatDateTime(items('Apply_to_each')?['Date'],'yyyy-MM-dd'), triggerBody()['date'])

     

    When the button is clicked, all the items that matched the condition will be saved from Table2 to Table1.

    2.PNG3.PNG

    Please try again with it on your side. 

     

    Best regards,

    Mabel

  • Verified answer
    mowgli512 Profile Picture
    51 on at

    This worked with the below condition - 

    @greaterOrEquals(formatDateTime(items('Apply_to_each')?['Date'], 'yyyy-MM-dd'), formatDateTime(triggerBody()['date'], 'yyyy-MM-dd'))

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard