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 / Dropdown with distinct...
Power Apps
Answered

Dropdown with distinct fields and "all"

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Morning, 

 

I have a data card that has a dropdown menu for quarters that are pulled from a SharePoint list.  Once selected I have labels that pull the sum of other columns for the selected value of the dropdown for each column in my SharePoint list.  

 

Example:  User selects "1" and the Email Sent label is updated with the total count of emails sent for Quarter 1 from the SharePoint list

 

In my dropdown.item field I have the following:

 

["1", "2", "3","4", "All Quarters"]

Below my drop down field I have the labels with the text that shows: 

 

Sum(Filter(DataSource,QuarterEvent = Dropdown1.Selected.Value),Emails_Sent)

This works great when a user selects the values 1-4, but I can't figure out how to have the labels show the sum of all quarters when selecting "All Quarters" 

 

Any insight would be helpful - I am a bit new to PowerApps so this may be a noob question.  Thank you for hte help! 

Categories:
I have the same question (0)
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can combine multiple conditions with the "Or" operator, and use an expression like the one below to accomplish what you need:

    Sum(
     Filter(
     DataSource,
     Dropdown1.Selected.Value = "All Quarters" Or QuarterEvent = Dropdown1.Selected.Value),
     Emails_Sent)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you Carlos - that worked perfect!  Appreciate the help and solution provided Smiley Very Happy

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
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard