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 / Power Apps Dropdown It...
Power Apps
Answered

Power Apps Dropdown Item property settings

(0) ShareShare
ReportReport
Posted on by 134

 

kjk4563_1-1712814774846.png

 

kjk4563_0-1712814736478.png

In Power Apps, when the Items property of the two dropdowns has the same value as the image above, if you select 1, only 1-1 will be visible, and if you select 2, 2-2, 3 will be visible. 3-3. I'm curious about how.

 

You should use this when importing values ​​from SharePoint into Choices in Power Apps.

 

please tell me what to do

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @kjk4563 

    This is my test data:

    ClearCollect(Items1,["1","2","3"]);
    ClearCollect(Items2,["1-1","2-1","3-1"]);
     
    Combo box 1 -items : 
    Items1
    Combo box 1 -OnChange: 
    Reset(ComboBox2)
     
     

    You can update your second combo box -items property.

    Filter( Items2 , StartsWith(Value, ComboBox1.Selected.Value ) )
     
    Filter( Your code in Combobox2-items property , StartsWith(ColumnName, ComboBox1.Selected.Value ) )
    vyueyunmsft_0-1712815972150.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • kjk4563 Profile Picture
    134 on at

    @v-yueyun-msft 

    I made a mistake in asking the question
    That answer is valid, but what I need now is something else, so I leave the question again.

     

    kjk4563_1-1712819003112.png

    i want this
    If item 1 is 1, 2, 3 and item 2 is A, B, C, D, E, F, if you select 1, A and B will be displayed, if you select 2, C, D will be displayed, and if you select 3, E and F will be displayed.

    I would like to know what to do.

     

    FYI, I know that StartWith takes the starting character. Is this correct?

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @kjk4563 

    For your question "FYI, I know that StartWith takes the starting character. Is this correct?" :

    Sure , your understand is right.

     

    If you want to realize it , you can use this code in Combo box2 -items property:

    Switch(ComboBox1.Selected.Value , "1" , ["A","B"] , "2",["C","D"] ,"3" ,["E","F"] , ["A","B","C","D","E","F"] )
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • kjk4563 Profile Picture
    134 on at

    @v-yueyun-msft 

    Switch(ComboBox1.Selected.Value , "1" , ["A","B"] , "2",["C","D"] ,"3" ,["E","F"] , ["A","B","C","D","E","F"] )

     

    Is it possible to only get the 1st, 3rd, and 5th selections from Choices(Table1.status) that I'm getting from SharePoint instead of this part [""] of the code above?

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

    Hi , @kjk4563 

    You can try to use this code:
    [Index(Choices(Table1.status),1).ColumnName,Index(Choices(Table1.status),3).ColumnName,Index(Choices(Table1.status),5).ColumnName]

     

    Best Regards,

    Yueyun Zhang

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard