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
Unanswered

Sumif

(0) ShareShare
ReportReport
Posted on by 4

Hi All,

 

I have a table "fruit"

 

fruit          quantitiy

apple        1

apple        1

orange      3

orange      2

 

how could I get the total number of apples 2 and total number of orange "5"?

Categories:
I have the same question (0)
  • hpkeong Profile Picture
    2,944 on at

    Hi

     

    I attach sample screenshot.

     

    You can either using fixed formula or using dropdown and many other method.

     

    Hope this helps.

     

    Any method is up to youAny method is up to you

  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can use the GroupBy function, which will create a new table grouped by the column you need, and then use the AddColumns function and the Sum function to calculate the aggregate value. For example, this expression:

    AddColumns(
     GroupBy(fruit, "fruit", "by_fruit"),
     "total_quantity",
     Sum(by_fruit, quantity))

    Returns a table with a column "fruit" and a column "total_quantity" which has the information you need.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard