Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

Filter Get Items with O Data

Hi Community - 


I am having some issues when trying to filter my Get Items step. I am storing data in a Sharepoint List which is populated with submissions from PowerApps. The data is stored in a field called "Submitted Date" in the Sharepoint List as a Single line of text. Examples of the data would include 9/28/2020, 10/1/2020. I am looking to filter the Get Items step to capture any requests that happen within a specific week. At that point, I can take the data and send it to my team in an email (I have this part figured out).


I am not sure if this is impacting the current situation but no dynamic content is available when trying to filter. In the past, I have been able to filter using something along the lines of 'Title' eq "Dynamic Content Field". Also, unclear if the data being stored as text is a major issue here.


Thanks all for the support in advance.




Accepted Solutions
Responsive Resident
Responsive Resident

That syntax looks wrong. It should be:

PWD ge '2020-10-05T01:55:09.5913172Z' and PWD le '2020-10-12T01:55:09.6381941Z'

Please remove the ' from both PWD

View solution in original post

Community Support
Community Support

Hi @tlevine ,


Could you please share the screenshot of the configuration of your flow?

What the special week that you mentioned? 


You could take a try to refer to screenshot below to create the flow:



Best regards,



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


thanks for the quick reply, @v-alzhan-msft - how can i ensure that the date is dynamic? the code that i use in powerapps to find the Monday of the current week is Today() - Weekday(Today(), MondayZero). I then use Today() + 7 - Weekday(Today(), MondayZero) to determine the Monday of the following week. basically, this is what i want to do in order to establish my range for the filter

Responsive Resident
Responsive Resident


You can use these 2 functions to get:

1. Monday this week:

2. Monday next week:


This gets:


Then do either:



Or to jump ahead 7 days from the current day use adddays(utcNow(),7)


Hope this helps,

Aman T

If my post helps you with your problem or answers your question, please mark it Solved or Answered. This helps anyone with similar challenges. If you like my response, please give it a Thumbs Up.

Hi @Amanthaper  - thank you for the suggestion, i see that my variables work properly and assign the correct dates to them. however, the flow still fails when trying to execute the query. could this be due to my field called 'PWD' (this field contains the dates) is stored as text in my sharepoint list?

Responsive Resident
Responsive Resident

What's the error? Can you share a snip of your flow?

The date format should already be text but try this with both functions: 


hi @Amanthaper  - this is the error I am currently receiving


Screen Shot 2020-10-03 at 9.47.11 PM.png

i will try to update my variables using the next format you provided, will advise on results


It looks like the dates are being recognized properly with each variable.


Screen Shot 2020-10-03 at 9.55.47 PM.png

This is the filter query result with the error I receive from Get Items:


PWD' ge '2020-10-05T01:55:09.5913172Z' and 'PWD' le '2020-10-12T01:55:09.6381941Z'

Responsive Resident
Responsive Resident

That syntax looks wrong. It should be:

PWD ge '2020-10-05T01:55:09.5913172Z' and PWD le '2020-10-12T01:55:09.6381941Z'

Please remove the ' from both PWD

Thank you for your help in finding the solution. @Amanthaper 

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,258)