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 / SQL Date Filter - Get ...
Power Automate
Unanswered

SQL Date Filter - Get Rows

(0) ShareShare
ReportReport
Posted on by 77

Hello Community,

 

I have an SQL table from where I get data by using the "Get Rows" function.

The table contains thousands of entries, so I would like to filter them.

 

Goal:

Filter the SQL table for the field "created_on" for entries that got entered later than 2020 January 1st.

 

Question:

How can I add a filter to the Filter Query of Get Rows to achieve the goal?
I tried several possibilities I found online, also here in the community. None of them seem to work.

 

When I use the select function to see what the data looks like, I get the following:

Markus44_0-1680687535999.png

 

 

Also, when I download the output from the Get Rows function, I can see the created_on date looks like the following:

 

Markus44_1-1680687582483.png

 

For example, when I enter

created_on ge date(2020-01-01T00:00:00.000Z)

in the Filter Query, the flow seems to run fine but it does not provide any values, however, I know there are some.

 

I am a bit lost and desperate, any idea would be much appreciated.

 

Thanks and regards

Markus

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Markus44 

     

     

    Try  filter qery

     

    created_on ge date(2020-01-01T00:00:00Z)

     

    A while ago I answered this. Please see this post.

     

    Solved: Re: SQL GetRows OData Date Filter - Page 2 - Power Platform Community (microsoft.com)

  • Markus44 Profile Picture
    77 on at

    Hello @abm ,

     

    thanks a lot for your reply.
    However, this also does not work for me. The flow runs, however it does not provide any results even though there are multiple entries later than 2020.

     

    Markus44_0-1680699816491.png

     

    I simply do not understand why it does not return any values.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Markus44 

     

    Thanks for your reply. Is your SQL column created_on data type DateTime?

     

    Thanks

  • Markus44 Profile Picture
    77 on at

    Hello @abm 

     

    Thanks for the reply!

    Unfortunately I do not have access to the SQL table. I will reach out to the admin to check this out.
    Thanks!

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard