cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Model Driven App - Filter View column to earlier than today

Within a model driven app, is it possible to filter a view on a custom entity so that it filters records which have a date earlier than today (and dynamically works out what date it is at runtime)?

 

I had a look for the option but can't see it, it only allows me to use a fixed date

 

OnOrBeforeToday.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Spikyface ,

 

Your requirement can be implemented by Out-Of-Box Older Than X Days criterion.

By using the following two filter conditions on any entity’s date field will provide the list of all records Older Than Today:

Snipaste_2020-10-09_15-55-38.png

We need the additional Yesterday filter because the Older Than X Days operator only accepts a value from 1 to 500 and doesn’t support 0.

Hope this helps.

Sik

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @Spikyface ,

 

Your requirement can be implemented by Out-Of-Box Older Than X Days criterion.

By using the following two filter conditions on any entity’s date field will provide the list of all records Older Than Today:

Snipaste_2020-10-09_15-55-38.png

We need the additional Yesterday filter because the Older Than X Days operator only accepts a value from 1 to 500 and doesn’t support 0.

Hope this helps.

Sik

View solution in original post

@v-siky-msft that's great, thanks for your help!

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,688)