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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using Data Tables to D...
Power Apps
Unanswered

Using Data Tables to Display Certain Time Periods

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I am currently building an app to showcase data for who is On Call within a certain time period. However, when I insert the formula attached into the data table on the screen, the data table brings the entirety of the data rather than just the next 7 or 14 days which is what I am after.

 

Can anyone offer assistance on the correct formula to enter to bring up the relevant data?

 

Cheers,

L

Formula.JPG
Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @lukekgregory ,

    Something like this should do the job

    Filter(
     'Exec On Call',
     DateDiff(
     Today()
     'On Call From’,
     Days
     )<= 7 &&
     DateDiff(
     Today()
     'On Call From’,
     Days
     )>=0
    )

    You will get a Delegation warning as Date filters are not Delegable.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • lukekgregory Profile Picture
    4 on at

    Hi @WarrenBelz

     

    I tried entering your formula, but it is still coming up with an error symbol as shown in the attached. Do I need to add anything else to the formula?

     

    Cheers,

    Capture2.JPG
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @lukekgregory ,

    That is not an error - it is the Delegation warning I was referring to. How many records are in your table?

     

     

  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @lukekgregory ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • lukekgregory Profile Picture
    4 on at

    Hi @WarrenBelz 

     

    I have managed to find my own solution to the problem now. Thanks for all your help though.

     

    Cheers,

    Luke

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard