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 / Sum if dropdown value ...
Power Apps
Answered

Sum if dropdown value in SharePoint list

(0) ShareShare
ReportReport
Posted on by 158

Hello, 

 

I am trying to write a formula that says, "If department = X then sum total steps. Right now, I have the total steps for all departments/associates, but I would like to break it down by department and by associate. How could I accomplish this?

 

KhrystinaM_2-1711587615282.png

 

 

KhrystinaM_1-1711587574291.png

 

KhrystinaM_4-1711587736754.png

 

Thank you,

 

Khrystina

 

 

Categories:
I have the same question (0)
  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @KhrystinaM 

     

    You need to filter your Sum function. Try this:

    Sum(Filter('Fitness Tracker', 'Department Name' = 'Name of dropdown control'.Selected.Value), Steps)

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • KhrystinaM Profile Picture
    158 on at

    @AARON_C, that worked. Thank you so much for your help! Wondering if you can help me with another question. I am trying to create an associate dropdown field, but the Associate field name is not in my allowed selection. The field in SharePoint is a Person or Group field. Can I not use that type of field for dropdowns? Associate Name is not in the list below. 

     

    KhrystinaM_0-1711646804689.png

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard