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 / How to get events cale...
Power Apps
Answered

How to get events calender with multiple date?

(0) ShareShare
ReportReport
Posted on by 16

Hi All,
I'm Trying to get event calender using Office365.GetEventsCalendarViewV2 function from multiple date, but always get a null value.
GetRecurDatesCollection

Result
8/31/2020
9/1/2020


Formula:

 

ClearCollect(
 getExchangeroom,
 ForAll(
 GetRecurDatesCollection,
 Filter(
 Office365.GetEventsCalendarViewV2(MyCalendar, 
 Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC), 
 Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
 ).value,
 Organizer=MyName.Mail
 )
 )
);

 

 but if I try this formula without using the ForAll function, it can return the actual value

 

ClearCollect(getExchangeroom,
 Filter(
 Office365.GetEventsCalendarViewV2(MyCalendar, 
 Text(DateAdd(DateTimeValue("8/31/2020"), -1, Hours), UTC), 
 Text(DateAdd(DateTimeValue("8/31/2020"), 1, Days), UTC)
 ).value, 
 Organizer=MyName.Mail
 )
);

 

 Any help is appreciated. Thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    What if you try one of these:

    ForAll(GetRecurDatesCollection,
        Collect(getExchangeroom,
            Filter(
                Office365.GetEventsCalendarViewV2(MyCalendar,
                Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC),
                Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
                ).value,
                Organizer=MyName.Mail
            )
        )
    );

     

    ForAll(GetRecurDatesCollection,
        Collect(getExchangeroom,
            Office365.GetEventsCalendarViewV2(Filter(MyCalendar, Organizer=MyName.Mail),
            Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC),
            Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
            ).value
        )
    );

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard