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 / Convert calculated fie...
Power Apps
Answered

Convert calculated field stored as day value in SharePoint List to hh:mm

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a SharePoint list that records people's start and finish time for a shifts, and records the difference between the two dates as a day like so:

AndyNewcastleUK_1-1644488602399.png

I would like to display these values in Sum a sum function in a PowerApp, but displaying as 08:00, rather than a decimal representing days, as below. Any advice would be appreciated! Thank you.

AndyNewcastleUK_2-1644488836579.png

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Check this thread:

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Displaying-date-difference-in-both-hours-and-minutes/td-p/278958

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • Verified answer
    CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @Anonymous ,

    Sharepoint calculated columns are not quite reliable in relation with PowerApps. So I wonder why don’t calculate the difference between two times values in powerapps directly. There is a function to do it:

    DateDiff(StartTime,EndTime,Hours)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks @gabibalaban - your advice about calculating the difference in powerapps directly was spot on.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard