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 Apps / Building a summarising...
Power Apps
Answered

Building a summarising app

(0) ShareShare
ReportReport
Posted on by

I am trying to build an app in Power Automate that summarises the meeting times in a o365 calendar and displays the time by category and filtered by date. 

 

One question could be 'Show total time spent on project X from 200901 to 200930

 

 

Any hints on where I can begin?

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @MatsVJ ,

     

    First use the following code to add three column to calendar events list.

    ClearCollect(colAllEvents,
    AddColumns(
     Office365Outlook.V4CalendarGetItems("Calendar").value,
     "StartDateLocal", // Start date time in local timezone
     DateAdd(
     DateTimeValue(start),
     -TimeZoneOffset(),
     Minutes
     ),
     "EndDateLocal", // End date time in local timezone
     DateAdd(
     DateTimeValue(end),
     -TimeZoneOffset(),
     Minutes
     ),
     "Duration", // The duration of event
     DateDiff(
     DateAdd(
     DateTimeValue(start),
     -TimeZoneOffset(),
     Minutes
     ),
     DateAdd(
     DateTimeValue(end),
     -TimeZoneOffset(),
     Minutes
     ),
     Hours
     )
    ))

     Then add two date picker, and a Label to display the total duration.

    Sum(Filter(colAllEvents,StartDateLocal>DatePicker1.SelectedDate, EndDateLocal<DatePicker2.SelectedDate),Duration)

     Snipaste_2020-10-28_17-18-49.png

    Hope this helps.
    Sik

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard