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

How to filter a table to spit out rows only with specified dates?

So I have a powerapp that collets information for a few seperate tables.  Here's what I need to happen, I need to filter out the data of a table based on that week and spit it out to some type of file to email to their boss.  So all of the data from Monday to Friday of that week.  I thought if I created another table asking for the first day of that week and the last day of the week, I could use that information to filter out the other table and get the correct output.  Although I am not getting this to work and I sorely need your guys' help!  Thanks!

6 REPLIES 6
Super User
Super User

Re: How to filter a table to spit out rows only with specified dates?

HI @Salamander94 

Can you please share a screenshot of the flow you have created? That way we might be able to assist you better. 

 

You can get the items created in the past week by filtering the ODATA filter query : Created ge ticks(addDays(utcnow(),-7)). This will get the items created in the past 7 days. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Salamander94
Level: Powered On

Re: How to filter a table to spit out rows only with specified dates?

flowcap.PNG

I hope I got the code right in there. 

Super User
Super User

Re: How to filter a table to spit out rows only with specified dates?

HI @Salamander94 

 

I was assuming that you are using a sharepoint list. Unfortunately, this "created" does not work with excel. 

 

If you work on an SP List, you would use the filter as shown in the screenshot below: 

asdswq.png

 

Hope this Helps!

 

Salamander94
Level: Powered On

Re: How to filter a table to spit out rows only with specified dates?

As in the table I need to filter has to be on a SP list?



 

Super User
Super User

Re: How to filter a table to spit out rows only with specified dates?

HI @Salamander94 

 

No! So be anywhere, excel connector does not support created on parameter at row levels. So basically, you would have to create an item for each row in the excel (cut out excel completely and use SP list as table and items as rows) only then we can benefit out of the created on/ modified on parameter. Unless you add a coulmn in the excel table and get an input as a created on date from the user. 

 

Hope this Helps!

Community Support Team
Community Support Team

Re: How to filter a table to spit out rows only with specified dates?

Hi @Salamander94,

 

There might be some limitations when using Filter query of action List rows present in a table of Excel connector.

 

Currently only single ‘eq’, ‘ne’, ‘contains’, ‘startswith’ or ‘endwith’ is currently supported in Filter query of action List rows present in a table.

 

For your scenario to get rows within specific date range, I am afraid that it is not possible to be achieved.

 

Hope this could be a reference for you.

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand 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: 369 members 4,591 guests
Recent signins:
Please welcome our newest community members: