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 / Sum through a sharepoi...
Power Apps
Unanswered

Sum through a sharepoint calculated column

(0) ShareShare
ReportReport
Posted on by 98

Goodnight.

I'm trying to bring the value in hours from a calculated column in SharePoint and add the hours by pulling it from a gallery.

I got the information in parts, but I don't know how to turn it into hours


Sum field and the formula.png
Column formula.png
Sharepoint Column.png
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    Hi @Fioravanti ,
    SharePoint Calculated columns have significant compatibility/consistency issues when used in Power Apps and should be avoided. If you do the same calculation in a Lable in the gallery, you should be able to get the sum of that.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Fioravanti Profile Picture
    98 on at

    Good evening Warren,

    Could you please explain to me how to make this configuration?

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    Good Morning @Fioravanti (10:45am Wed here),

    Just use the same formula, but with ThisItem. in front of the field names.

     

  • Fioravanti Profile Picture
    98 on at

    ThisItem = HOUR([Quantidade de horas])+MINUTE([Quantidade de horas])/60

    I think I'm doing something wrong

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @Fioravanti ,

    It would be

    Hour(ThisItem.'Quantidade de horas') + Minute(ThisItem.'Quantidade de horas')/60

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Fioravanti Profile Picture
    98 on at

    This way it worked, but when entering the hours of 22:26 the number does not come out as hours

     

    i have 22,4333333333

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @Fioravanti ,

    What result are you expecting ? If you only want two decimal places

    Round(
     Hour(ThisItem.'Quantidade de horas') + 
     Minute(ThisItem.'Quantidade de horas')/60;
     2
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 638

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard