web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : PSqfrt51EDqucU5E5ctEhC
Power Apps - Microsoft Dataverse
Answered

How to create a view to show current events

Like (0) ShareShare
ReportReport
Posted on 30 Nov 2022 02:27:38 by 120

I feel that this question would've been asked by thousands but I failed to find any mention of it in the internet...

 

Dataverse provides a whole lot of date filters like Equals, On, On or before/after, Next/Last N week/month/year...etc. But I can't find a way of using this filters to construct a view that returns just the current Event records. By 'current', I mean

  • Start Date is current date or before current date, and
  • End Date is current date or later than current date

How do other people construct the view to achieve this requirement?

I had used Start Date Last 1 year and End Date Next 1 year, but feel this isn't perfect.

I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,076 Super User 2025 Season 2 on 30 Nov 2022 at 22:26:31
    Re: How to create a view to show current events

    You have to use "Last ..." and "Next..." there is no way to do "on or before" etc based on todays actual date.  Today, Tomorrow, Yesterday are standalone and can't be used in things like on or before.

     

    For more complex situations you end up with nested AND and OR blocks in the query

  • Conway Profile Picture
    120 on 30 Nov 2022 at 20:20:18
    Re: How to create a view to show current events

    Thanks @gowrihalan04 but I am not able to enter 'current date' in the filter. When On or before is selected it expects a date value.

    Conax_0-1669839491918.png

    My impression of the above condition will fix the date to always 30 Nov 2022, which means its only valid for that day.

  • Gowri Halan Profile Picture
    262 on 30 Nov 2022 at 13:05:19
    Re: How to create a view to show current events

    @Conax Are you looking to achieve in single condition? you can add 

    1. Start date equal to On or Before 'current date' And End Date equals to On or After 'current date'

    Try this condition.

     

    If it satify the condition then mark the solution as accepted.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 917 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 387 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 334 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics