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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Calendar event to Exce...
Power Automate
Unanswered

Calendar event to Excel spreadsheet (Recurring)

(1) ShareShare
ReportReport
Posted on by

Hi y'all! I was able to create a flow that updates an excel document from my Outlook Calendar events from a specific category. 

 

Capture.PNG

 

The problem here is that every time I run the flow, it copies all calendar appointments from a determined period. Instead, I would like it to add only calendar invitations from the month previous to the report (If I schedule a report to be ran by August 1st, adding all events from July, for example). 

 

Does anyone have a workaround for this?

 

Thank you!

 

Categories:
I have the same question (0)
  • Verified answer
    Caspar_Rubin Profile Picture
    831 on at

    Hey,

     

    if you run the flow on the first day you could get the dates you need dynamically using the "add to time" action with negative values.

     

    1. Use the "Current Time" action to get Today's Date. (This would be the 1st of the month, when you run the flow)

    2. Use the "Add to time" action with "Base time" set to the above action (current time) and set its "Interval" to "-1" and the "Time unit" to "Month". So this will always return the 1st day of the last month.

    3. Use the "Add to time" action with "Base time" set to the above action (current time) and set its "Interval" to "-1" and the "Time unit" to "Day". So this will always return the last day of the last month (Yesterday), if you run the flow on the first day of a month.

    4. You can now use the dynamic values from step 2 and step 3 as values for your "Get calendar view of events" action.

     

    AddToTime.png

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    hope this works, let us know. 😃

     

    cheers

  • Community Power Platform Member Profile Picture
    on at

    @Caspar_Rubin thank you so much! This is very helpful!

     

    Here is one "little" collateral effect that is going on right now. Even if I am running the flow once, it's adding the same calendar events to the excel file multiple times. 

     

    I am using the highlighter in this screenshot so you can better visualize what I am talking about. 

     

    Would you have any solution to this?

     

    Thank you so much again!

     

    Capture-2.PNG

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard