cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lukekgregory
New Member

Using Data Tables to Display Certain Time Periods

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

5 REPLIES 5
WarrenBelz
Super User
Super User

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.

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,

@lukekgregory ,

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

 

 

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.

Hi @WarrenBelz 

 

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

 

Cheers,

Luke

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,517)