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 / Choice Delegation and ...
Power Apps
Answered

Choice Delegation and Single Field Filter Omitting Multiple Values

(0) ShareShare
ReportReport
Posted on by 91

I have the following code for the "Items" of my Gallery.

MerPetti_0-1649731485363.png

"Stage" is a choice field that has an optional value of  Active, Planned, Hold, Backlog, Cancelled, Completed. I am unable to get around the Delegation issue here.

Additionally I am not able to see how to filter to Omit the two values that I do not wish to render in the Gallery.

CODE:

Filter ( 'Programs and Projects',
(StartsWith(Title,Search.Text)) &&
('IT Business Service'.Value = ITBS_DropDown.Selected.Value || ITBS_DropDown.Selected.Value = Blank())

&& Stage <> "Complete", Stage <> "Cancelled"))

 

Any guidance would be greatly appreciated.

 

Categories:
I have the same question (0)
  • Ashwin7104 Profile Picture
    671 on at
  • Verified answer
    WarrenBelz Profile Picture
    154,926 Most Valuable Professional on at

    Hi @Mer-Petti ,

    You just need to include the four you want shown

    Filter( 
     'Programs and Projects',
     (
     Search.Text = Blank() ||
     StartsWith(
     Title,
     Search.Text
     )
     ) &&
     (
     'IT Business Service'.Value = ITBS_DropDown.Selected.Value || 
     ITBS_DropDown.Selected.Value = Blank()
     ) && 
     (
     Stage = "Active" || Stage = "Planned" || Stage = "Hold" || Stage = "Backlog"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Mer-Petti Profile Picture
    91 on at

    WarrenBelz - This code doesn't work. But thanks for giving it a shot.

  • WarrenBelz Profile Picture
    154,926 Most Valuable Professional on at

    @Mer-Petti ,

    What does not work? Assuming the values you posted are valid, it should do as you require.

  • Verified answer
    zmorek Profile Picture
    3,272 on at

    If it's a Choice column you might need Stage.Value at the end of the "Stages" in the formula WarrenBelz provided 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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard