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 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:
I have the same question (0)
  • 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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard