Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Show Total of Contents in Fields in a Row in Total Field at End of Row

(0) ShareShare
ReportReport
Posted on by 5,049 Super User 2025 Season 1

I need to tally a row of fields into a 'Total' field. I can grab the first in the row and replicate in the 'Total' but my attempt to 'Sum', or add the all together, isn't working. What am I missing?

 

Phineas_0-1701105548814.png

Phineas_2-1701106126861.png

 

 

Categories:
  • Verified answer
    Phineas Profile Picture
    5,049 Super User 2025 Season 1 on at
    Re: Show Total of Contents in Fields in a Row in Total Field at End of Row

    Got it, (courtesy of a previous conversation with @WarrenBelz)
    With(
    {
    _Time_1:
    Value(
            First(
                   Split(
                          Label10.Text,
                   ":"
               )
               ).Value
               ) +
                 Value(
                 Last( 
                     Split(
                          Label10.Text,
              ":"
            )
                 ).Value / 60
           ),
                _Time_2:
                Value(
                     First(
                          Split(
                              Label10_1.Text,
                ":"
             )
                       ).Value
                       ) +
                        Value(
                  Last(
                         Split(
                              Label10_1.Text,
               ":" 
           )
                  ).Value / 60
          )
    },
    With(
           {
               _Hours: 
                        Sum(
                             _Time_1 + _Time_2,
              0
             )
          },
                 Text(_Hours) &
                 ":" &
                 Text(
                      Mod(
                         (_Time_1 + _Time_2),
                 _Hours
                            ) * 60,
                    "00"
           )
    )
    )

  • Phineas Profile Picture
    5,049 Super User 2025 Season 1 on at
    Re: Show Total of Contents in Fields in a Row in Total Field at End of Row

    Same result of '0', should be '8:00'.

    Phineas_0-1701110560687.png

     

  • Rajkumar_M Profile Picture
    3,693 Super User 2025 Season 1 on at
    Re: Show Total of Contents in Fields in a Row in Total Field at End of Row

    Hi @Phineas 

     

    You need to convert these text values into numbers before summing them. You can use the Value function to convert text to numbers.

     

    Value(Label10.Text) + Value(Label10_1.Text)

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1