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 Apps
Answered

Sum Function

(0) ShareShare
ReportReport
Posted on by

Hi,

 

in my table 1 I would like to add the total of the amount column only for shift 1 and data now. It's possible ?
someone help me.

 

jcnascime1_1-1660425660841.png

 

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,752 Most Valuable Professional on at

    Hi @jcnascime1 ,

    Try this - the With() statement is only to manage Delegation as Sum() is not Delegable. NOTE this will only Sum item numbers in Turno 1 up to your Delegation Limit.

    With(
     {
     wList:
     Filter(
     YourDataSource,
     Turno = 1
     )
     },
     Sum(
     wList,
     Turno
     )
    )

     

    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.

    Visit my blog Practical Power Apps

     

  • LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    I believe he is using a DataTable, judging by the screenshot. If so, Filter will not work.

  • Verified answer
    WarrenBelz Profile Picture
    156,752 Most Valuable Professional on at

    @LuizVicente ,

    It will if you filter the Data Source, not the Data Table. You are correct you cannot Sum the contents of a Data Table  as in a Gallery

    Sum(
     Filter(
     GalleryName.AllItems, 
     Turno = 1
     ),
     Turno
    )
  • CU06021343-1 Profile Picture
    on at

    I managed to get the expected result. Thank you for your help.

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard