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 / DropDowns in PowerApps
Power Apps
Answered

DropDowns in PowerApps

(0) ShareShare
ReportReport
Posted on by 112

Hi, I have built an action tracker in PowerApps. The backend is a SP list. I have a gallery which filters all of the "in progress" or "not started" actions. I also have a "Category" column with three different categories choose from. I have created a drop down which allows the user to select from one of the three categories. This is the code from my dropdown: 

 

Sort(
Distinct(
[@'101 HR Action Tracker'],
CategoryDuplicate
),
Value,
SortOrder.Ascending
)

 

The drop down itself is working. The issue I am having is getting the gallery to respond to the drop down selection that is made. This is the code I currently have in place : 

 

Filter([@'101 HR Action Tracker'],Progress.Value="Not Started"||Progress.Value="In Progress") , Or(IsBlank(Dropdown1.Selected),
CategoryDuplicate = Dropdown1.Selected.Value)) 

 

Please let me know your thoughts on what I should change. Thanks! 

Categories:
I have the same question (0)
  • Verified answer
    Sundeep_Malik Profile Picture
    6,499 on at

    Hey @kat7777777 

     

    You can modify your Gallery items property expression to something similar like below:

     

    Filter(
    [@'101 HR Action Tracker'],
    (Progress.Value = "Not Started" || Progress.Value = "In Progress") && (IsBlank(Dropdown1.Selected) || CategoryDuplicate = Dropdown1.Selected.Value)
    )

     

    I hope this helps 🙂

  • MarkRahn Profile Picture
    1,351 Super User 2026 Season 1 on at

    Hi @kat7777777 ,

    For your Galley, you could try this for your Items property:

     

    If(
     IsBlank(Dropdown1.Selected.Value),
     Filter(
     [@'101 HR Action Tracker'],
     (Progress.Value = "In Progress" || Progress.Value="Not Started")
     ),
     Filter(
     [@'101 HR Action Tracker'],
     (Progress.Value = "Not Started" || Progress.Value = "In Progress") 
     && CategoryDuplicate.Value = Dropdown1.Selected.Value
     )
    )

     

    When nothing is selected for Dropdown1, the IF THEN would use the first Filter.

     

    I also used a technique from @mdevaney to add a blank value using the following for the Items property of the dropdown:

     

    Ungroup(
     Table(
     {myMenuOptions: Table({Value: Blank()})},
     {myMenuOptions: Choices([@'101 HR Action Tracker'].CategoryDuplicate)}
     ),
     "myMenuOptions"
    )

     

    I set it to pull the choices from the Site Column definition instead of from the Distinct values in the column from the list data.

     

    See this link for a reference:

    https://www.matthewdevaney.com/how-to-add-a-blank-value-to-a-dropdown-list-in-power-apps/

     

    -Mark

    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • kat7777777 Profile Picture
    112 on at

    Thank you!!!

     

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 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard