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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Expiscornovus Profile Picture

Expiscornovus 185 Most Valuable Professional

#2
harshdeol Profile Picture

harshdeol 167 Moderator

#3
S-Venkadesh Profile Picture

S-Venkadesh 159 Moderator

Last 30 days Overall leaderboard