Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Using SUM function help please

Hello everyone, I was hoping someone could help me please


I have a Sharepoint list called Cost with 2 columns,  item name and costs 

I have a label in my app, that I would like to show the sum of all costs associated with a gallery that is filtered to the current logged in user.

So for example,  if I were logged in the gallery would show all my items , and I would like the label to show the sum of all item costs.

The gallery is called Gallery_Myitems


I then have this on the label, but it doesnt work. I've never used the sum function before so was hoping someone could help please?
Sum(Filter(Costs , Cost ,Gallery_Myitems.AllItems)


Thank you in advance

Super User
Super User

On the Gallery, change the formula to:

Filter(AddColumns('Sharepoint1',"Cost",LookUp(Cost,Title='Sharepoint1'[@Equipment],Cost)), Contact = User().FullName)


Then in your Label:



If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel


View solution in original post


Amazing, thank you. That works

@KvB1 Thank you so much for your time. I've accepted the solution further down the page. Thanks again

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,484)