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 / 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:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard