cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnttiKuisma
Helper I
Helper I

Sum gallery column values

Hello,

I have a dataset from Excel which I display in the gallery, every gallery row has a number column, and I would like to display the sum of all items number column in a label as a text.

How this could be done? 

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Super User
Super User

Hi @AnttiKuisma 

 

I believe you can do this with Sum as follows, albeit I wonder if you will have problems on larger datasets.

 

Sum(Gallery.AllItems,lblYourExcelLabel)

 

Damien

View solution in original post

2 REPLIES 2
DamoBird365
Super User
Super User

Hi @AnttiKuisma 

 

I believe you can do this with Sum as follows, albeit I wonder if you will have problems on larger datasets.

 

Sum(Gallery.AllItems,lblYourExcelLabel)

 

Damien

Hey @DamoBird365 !

It worked perfectly thank you!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (4,459)