cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
kpiana
Level: Powered On

Condition: Custom Column Date is Less than " ? "

Hello,

 

I have a condition I set up that used to be: Modified - is less than - addDays(utcNow(),-180)

This was readying the modified column on sharepoint where it should say "6 days ago" for example.

I added a new custom column on sharepoint and called it Revised Date and I have a manually entered date for each item on the list in the format for example of 11/1/2019.

 

There for I change the Condition to be: Last Revised - is less than - ????

 

I am having trouble figuring out what function to replace it with that would make it so that if a item has been revised over 160 days ago it would consider it a YES.

Capture8.PNG

Let me know if you have any questions!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Condition: Custom Column Date is Less than " ? "

Hi @kpiana 

 

Try to format using formatDateTime(addDays(utcNow(),-180),'yyyy-MM-dd') on both ends of the IF condition.

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

Community Support Team
Community Support Team

Re: Condition: Custom Column Date is Less than " ? "

 

Hi @kpiana ,

 

In fact, if it is used to compare time, you can ignore the date format, in other words, you can still use the expression you used before.

 

If you want the current date to be formatted in the same format as Last Revised, then you can also consider using the following expression:

addDays(utcNow(),-160,'yyyy-MM-dd')

 

Best Regards,

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

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Condition: Custom Column Date is Less than " ? "

Hi @kpiana 

 

Try to format using formatDateTime(addDays(utcNow(),-180),'yyyy-MM-dd') on both ends of the IF condition.

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

Community Support Team
Community Support Team

Re: Condition: Custom Column Date is Less than " ? "

 

Hi @kpiana ,

 

In fact, if it is used to compare time, you can ignore the date format, in other words, you can still use the expression you used before.

 

If you want the current date to be formatted in the same format as Last Revised, then you can also consider using the following expression:

addDays(utcNow(),-160,'yyyy-MM-dd')

 

Best Regards,

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,709)