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

Compare Datetime error for Get Rows Filter

I am using a SQL Get Rows action that connects to an on premise SQL instance.

 

I have the filter set up like this:

filterQuery_datetime_compare.PNG

 

This results in the error:

flow_datetime_comparision_query.PNG

 

 

Any idea on why i am getting this error and what the best way to compare datetime is?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Compare Datetime error for Get Rows Filter

Hi @jonathanO,

 

Could you please explain a bit for the Odata Query formula, why adding the minutes () function after the day function?

I tested it from my side (on premise SQL Server) and it works:

44.PNG

 

Would you please try it again?

 

Further, if the issue insists, please post the running detail URL, which should contain the FLow and the Runs GUID.

For example:

https://asia.flow.microsoft.com/manage/environments/Default-9e51064f-f6a5-41a2-89a9-9785a9d6c706/

flows/77c37940-4734-4c8f-9XXXX66b734/

runs/085869252612XXXX47256941063

?backUrl=%2Fflows%2F77c37940-4734-4c8f-97cb-e872b366b734%2Fdetails&runStatus=Succeeded

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jonathanO
Level: Powered On

Re: Compare Datetime error for Get Rows Filter

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 78 members 5,387 guests
Recent signins:
Please welcome our newest community members: