cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Salamander94
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
yashag2255
Dual Super User II
Dual Super User II

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!

flowcap.PNG

I hope I got the code right in there. 

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!

 

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



 

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!

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,766)