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 / Drop down list dependi...
Power Apps
Unanswered

Drop down list depending on what's selected in another drop down list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I work on a project in which depending on the selected material user has to assign loss lvl 1,2,3

 

The current logic works as follows.

 

In dropdown for lvl 1 there is a suggested value calculated by an algorith - this works - but users still should be able to see all possible lvl 1 losses in case they wanted to change it - idk how to make it work

for now datasource is PowerBIIntegration.Data.suggested_LVL1_loss - but of course it shows only the suggested value, idk how to make it flexible and show this value but enable users to change it for any value from a SQL table

In dropdown lvl 2 I would like to show all possible loss level 2 that correspond to the selected value in dropdown 1

The rule is it starts with the same number. So if selected value in loss 1 is 1.Commercial Delay then in loss 2 I should be able to see lvl 2 losses starting with number 1, for instance 1.2 Supplier delay. The source for all losses is a SQL table.

 

I tried the following Filter('[Map].[Loss_type]';LVL_type="2").Loss_type - this shows ALL loss lvl2 but idk how to narrow them down to those starting from the 1st number from the value of Dropdown 1

 

Does anyone has any idea? Attached picture for references. I will be very grateful for any suggestion on how to solve it.

 

Best regards

Konrad

example.PNG
Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to display items in order in drop down?

    I suggest you try SortByColumns function.

    Try this formula:

    SortByColumns(Filter('[Map].[Loss_type]';LVL_type="2"),"Loss_type").Loss_type

    You could change the red part to the field name that you want.

    Here's a doc about sort function for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    thank you for trying to help but this is not really what I need. The order of the items can be completely random. I have two dropdown lists A and B

     

    in A user can pick one of the following:

    3 Stock Availability
    2 Commerical Process
    1 Order Management

    I want them to be able to pick from B only options related to what they picked in A.

     

    So if they picked 1 Order Management they should be able to pick one of the following:

     

    14 Order processing
    13 Lead-time
    12 Order Entry
    11 Master Data

     

    If they picked 2 Commerical Process they should be able to pick one of the following:

     

    21 Customer Matters
    22 Order Restrictions

     

    Does anyone have any idea?

     

  • CateR Profile Picture
    86 on at

    Hi @Anonymous , did you figure out how to do this, because I am trying to do the same, Cate

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard