web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter choices dropdow...
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:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    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

  • NZ94 Profile Picture
    10 on at

    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
    153,049 Most Valuable Professional on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard