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 Apps
Answered

choice drop down

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi All,

i would like a help please i have 2 choice dropdown1 and  dropdown2 and would like when i select dropdown1 the dropdown2 to filter dropdown 1 = example dropdown1 i select UPS now when i select dropdown2 it only show me the filter and correct one is UPS GROUND please see the screenshot Thanks 

The first photo i have managed to do it but i am unable to do while inside the form.

Below is inside the form and i am unable to do the filter. the data is coming from sharepoint list dropdown choices.pngdropdown choices 1.png

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    In the dropdown properties (on the right side of your screen when the dropdown is selected), you should see a "Depends on" option under the "Items" and "Value" selection. Use that to add a filter to the second dropdown that depends on the first dropdown selection.

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    i want what code to use the format please 

     

    thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is what you would have in the Items property of your second dropdown

     

    Filter(YourDropDownSource, ID = OtherDropDown.Selected.ID)

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi 

     

    still getting error not working 

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

     

     

    Hi

     

    This the original code for the second dropdown2           Choices([@'Shipments '].ShippingRoute)

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi All,

    Please help i am still having problems to fix this as you see on the screenshot when i try the format code on inside the form it doent work, but if i try to test without forms just blank screen with two dropdown it will work the code, Please help Thank youDROPDOWN SELECT.png

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    @Ramole,

     

    Can you share the option items of two choices columns?

    I don't think the codes you use on the combo boxes out of the form is correct, because the second dropdown items is based on the current records that you have select right Shipping Route, if you clear all record or select another Shipping Route for FedEx record, your second combo box will show another selection. 

    If text string of Shipping Route selection all begin with the text string of Shipping Method's selection as below screenshot, you can set Items property of second combo box as below:

    Filter(Choices([@'Shipments '].ShippingRoute), StartsWith(Value,Combobox1.Selected.Value))

    Note: combobox1 is named as DataCardValue1 in the Form

    Snipaste_2019-12-11_15-02-07.png

    If this doesn't make sense, please let me know.

    Best regards,

    Sik

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @v-siky-msft 

     

    Thank you so so much it works now.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard