Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Filter choices dropdown based on if statement

(0) ShareShare
ReportReport
Posted on by 133

Hi, 

 

Is it possible to filter dropdown choices from SP List if a specific condition is met? 

 

E.g if dropdown1 is value1 then dropdown 2 will filter the dropdown options? 

 

What I have so far - 

If(drpRec_Stream.Selected.Value = "SSE",
Filter(Choices(INB_BOF.Location), Value = "Barby, DE" || Value = "Krefeld, DE"))

 

What I need -

If(drpRec_Stream.Selected.Value = "SSE",
Filter(Choices(INB_BOF.Location), Value = "Barby, DE" || Value = "Krefeld, DE"))

OR

If(drpRec_Stream.Selected.Value = "CTS",
Filter(Choices(INB_BOF.Location), Value = "Baupte, FR" || Value = "Malchin, DE"))

 

Any help is appreciated!

 

Thanks

Categories:
  • WarrenBelz Profile Picture
    148,648 Most Valuable Professional on at
    Re: Filter choices dropdown based on if statement

    HI @NZ94 ,

    This is an old closed post, but is possible with a use of a Variable - although I am wondering how you are going to select again as that would put back in the original if you selected something different.

  • NZ94 Profile Picture
    10 on at
    Re: Filter choices dropdown based on if statement

    Hi Warren,

     

    Is it possible to filter its own choices column?

    Example:

    - Items: Choices('Walkie ID'.Station) = ["Station A", "Station B", "Station C"]

    - Control: Dropdown1

    Once the dropdown option is selected e.g "Station A", the dropdown would filter only "Station B" and "Station C" that can be selected. Same goes to the rest of the options. Please help me solve this 😞  

     

  • WarrenBelz Profile Picture
    148,648 Most Valuable Professional on at
    Re: Filter choices dropdown based on if statement

    Hi @lg270492 ,

    Try this

    Filter(
     Choices(INB_BOF.Location), 
     Switch(
     drpRec_Stream.Selected.Value,
     "SSE",
     Value = "Barby, DE" || Value = "Krefeld, DE",
     "CTS",
     Value = "Baupte, FR" || Value = "Malchin, DE"
     )
    )

     

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1