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

$Filter function using AND with STARTS date

I need to return an ID using the V2CALENDARGETITEMS which needs to contain a $FILTER function.  I am going to pass the SUBJECT EQ, with a AND followed by the STARTS EQ because I might have named a MEETING with duplicate names.  The STARTS EQ should narrow down which entry because there is NO possibility of the same meeting occurring twice in the same day.  For testing, I've setu[ a LABEL containing the LOOKUP so can at least validate the results/returns.  I am on EST time zone, so I'd generally pass 2021-08-11T21:00:00EST?  I am getting an error when I do this.  I've added 2 appointments with the same name in different times, so I know I have 2 records.  I got the SUBJECT EQ working so I just need help with the DATETIME.  Please understand, I will be passing my own DATETIME and not bind it to any DATE+TIME controls.

 

TIA

John

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @johncosmas :

If you want to get a meeting by adding date conditions, you can nest a lookup outside the formula.

For example:

LookUp(
Office365Outlook.V2CalendarGetItems(YourCalendarID,{'$filter':"Subject eq 'jjj'"}).value,
Start >TimeValue("2020/08/11 21:00:00")
)

 Best Regards,

Bof

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @johncosmas :

If you want to get a meeting by adding date conditions, you can nest a lookup outside the formula.

For example:

LookUp(
Office365Outlook.V2CalendarGetItems(YourCalendarID,{'$filter':"Subject eq 'jjj'"}).value,
Start >TimeValue("2020/08/11 21:00:00")
)

 Best Regards,

Bof

View solution in original post

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 (1,704)