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

Filtering display by this date

Hello,

 

I created a PowerApp where I want to display todays events from a SP-list, I am using this filter to do so; 

Filter(Utlån;Start=Today())

But that doesnt seem to show anything, why?

If I add a > right after start, it shows events up to todays-date. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver II
Resolver II

Re: Filtering display by this date

Hi @NP1 ,

 

Your problem is probably due to the date format in your Start column.

 

If you have hours, minutes, and seconds, it will filter on something like this:

   Start as (08/03/2019 10:50:00) = Today() as (08/03/2019 00:00:00)

They are not strictly equals but if you ask for a superior date, it will come out.

 

A solution is to use a second compare by asking a Start before tomorrow:

Filter(
   Utlån;
      Start >= Today() &&
      Start < DateAdd(Today() ; 1 ; Days)
)

Hope this will help you 

View solution in original post

1 REPLY 1
Highlighted
Resolver II
Resolver II

Re: Filtering display by this date

Hi @NP1 ,

 

Your problem is probably due to the date format in your Start column.

 

If you have hours, minutes, and seconds, it will filter on something like this:

   Start as (08/03/2019 10:50:00) = Today() as (08/03/2019 00:00:00)

They are not strictly equals but if you ask for a superior date, it will come out.

 

A solution is to use a second compare by asking a Start before tomorrow:

Filter(
   Utlån;
      Start >= Today() &&
      Start < DateAdd(Today() ; 1 ; Days)
)

Hope this will help you 

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,249)