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 / Choices that are depen...
Power Apps
Suggested Answer

Choices that are dependent on other Choices

(0) ShareShare
ReportReport
Posted on by
We have two choices on a Power Apps Form on Dynamics 365 and we'd like to make it so that the choices that appear in the second choice are dependent on what they pick in the first choice. 

For Example:
Company Name (First Choice)
-Company 1
-Company 2
-Company 3
 
Division Name (Second Choice)
-Division 1 (only shows if they picked Company 1)
-Division 2 (shows only if they picked Company 2 or Company 3)
-Division 3 (show for all companies)
-Division 4 (show only for Company 3)
etc.
 
And then we want all the Divisions to be in the same table column.
 
Is there a good way for us to modify which choices are visible depending on circumstances? Or maybe another way to accomplish what we want? The best I've figured out is creating three different Division fields with the choices we want for each Company and using business rules to hide/show the three "Division" fields as necessary. But this causes there to be 3 different table columns for Division which really isn't ideal.
Categories:
  • Suggested answer
    jrletner Profile Picture
    720 Moderator on at

    Without understanding of your table structures, this is the best I can do for you. If this doesn't help, perhaps you could provide more information.
     

    Cascading dropdowns:

    1. Set the Items property of the Company dropdown to list the unique companies, for example:
    Distinct(Divisions, Company)

     
    2. For the Division dropdown, filter based on the selected Company. Set the Items property of the Division dropdown to:
     
    Filter(Divisions, Company = CompanyDropdown.Selected.Result)
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at
    If you really want to hard-code it, the format would be
    Switch(
        FirstComboBoxName.Selected.Value,
        "Company 1",
        ["Division 1", "Division 3"],
        "Company 2",
        ["Division 2", "Division 3"],
        "Company 3",
        ["Division 2", "Division 3", "Division 4"]
    )
    otherwise the suggestion from jrletner is the best option using a reference list (except the output of Distinct is now .Value, not .Result)
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard