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
Unanswered

Dropdown columns

(0) ShareShare
ReportReport
Posted on by 50

Hello!

I have two dropdown columns. How do I set the values in dropdown column two based on the first one?
For example:
If the first dropdown column contains "XXX", set the values in dropdown column two to: XXX_1, XXX_2, XXX_3, XXX_4? 

Categories:
  • rsaikrishna Profile Picture
    3,703 on at

    @Powerapps12345 

     

    I am assuming you are using SharePoint as your data source.

     

    When we have dependency of the columns, we need to maintain the dependency mapping in a separate SharePoint list.

     

    In the mapping list "CountriesCities", maintain the following columns:

    Country City
    US New York
    US Chicago
    India Delhi
    India Mumbai

     

    In your data connections, add the above list as well.

     

    First Drop Down: Distinct(CountriesCities,Country)

    Second Drop Down: Filter(Countries, Country=FirstDropDown.Selected.Value).City

     

    I hope this will be helpful. Please let us know if you have any questions here.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • BC User Profile Picture
    50 on at

    Hi,
    I am not using Sharepoint for the first dropdown column, I am using Business Central. Therefore I don't know the value in dropdown column 1 (it is order numbers from Business Central). Somehow I need to set the value to "X", because I don't know it in advance. For example:
    If I create a new order in Business Central with the order number 1000, the first dropdown column in my power app will have the value 1000. Then I want the second dropdown values to be : 1000_1, 1000_2, 1000_3 and so on. Do you understand how I mean? 🙂 @rsaikrishna 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard