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 / Total of sharepoint li...
Power Apps
Unanswered

Total of sharepoint list column

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I have a sales list on sharepoint (office 365 E3) and would like to get the column total.

Used the Customize in Power App but couldn't do it, any help please 

 

And if its possiable, will I get the correct total with the filtered column/s?

 

Kind regards,

2018-08-17.png
Categories:
I have the same question (0)
  • Gentleman Profile Picture
    2 on at

    Any Help please?

  • dinusc Profile Picture
    Microsoft Employee on at

    Have you tried using the "Sum" function on the SP list? Test example:

    1. Create an empty app and add a button (Buitton1) and a label (Label1)

    2. Button1.OnSelect=ClearCollect(SPList, {name:"one",val: 10},{name:"two",val: 20},{name:"three",val: 30},{name:"four",val: 40}) This is for faking your SP list.

    3. Label1.Text="Total Sum of column 'val' is " & Sum(SPList, val)

    4. Click on Button

    For the "filtered" columns, do you mean the columns filtered in Powerapps (Filter function) or in SharePoint? You can certeinly calculate the sum on a column that is filtered in Powerapps. For example, you can hide a column in Gallery or DataTable control and still calculate the sum by running the formula on the list (as opposed to the Gallery.AllItems for example). I don't think this will work with columns filter in SharePoint though.

     

     

  • SureshMemmi Profile Picture
    9 on at

    This should be marked as the correct answer

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