cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

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
Highlighted
Dual Super User
Dual 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!

Highlighted
Helper IV
Helper IV

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. 

Highlighted
Dual Super User
Dual 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!

 

Highlighted
Helper IV
Helper IV

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?



 

Highlighted
Dual Super User
Dual 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!

Highlighted
Community Support
Community Support

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (10,592)