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 / Dependent Drop Downs
Power Apps
Answered

Dependent Drop Downs

(0) ShareShare
ReportReport
Posted on by 6

So I’ve got two drop down filters, one of the drop downs (ddNPS) looks at the Nominal Pipe Size (NPS) column in the ‘Schedule2’ table imported as a data source from excel:

 

Distinct(Schedule2,NPS)

 

This works fine.

 

I want my second drop down (ddSched) to show only the pipe schedules (thicknesses) specific to the size selected in the ddNPS. These thicknesses are documented in the same data source table:

 

Filter(Schedule2,NPS=ddNPS.SelectedText.Value)

 

This does not work fine.

 

ddSched only shows one record in the table. The dropdown should show the entire row of records applicable to that pipe size selected in ddNPS.

 

DB159CCC-9B5B-45DE-A0ED-77BC59671E2A_4_5005_c.jpeg

 

I’ve tried to summarise an example, see below – once I select 4” from the ddNPS I want to see 20,40 & 60 in the ddSched drop down.

 

152701F4-B61F-4B85-BF50-B4CFF259A27C_4_5005_c.jpeg

 

I’m not sure I’m explaining this very well but I’d appreciate any help nonetheless.

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @bigbenson14 

    Filter(Schedule2,NPS=ddNPS.Selected.Result)

    Distinct function creates a single column table with the field name "Result"

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@bigbenson14,

    Do you want yo display the other data in a row as a drop down list in the ddSched based on the c?

    Could you please share a bit more about the scenario, split a record into a single column?

    If I understand you correctly, you want to display all the other items in one row based on ddNPS selected.

    I think you should try the Split() function and Concat and Concatenate function.

    Set the OnChange property of the ddNPS selected as below:

    ClearCollect(
     test,
     Split(
     Concatenate(
     LookUp(
     Table1,
     NPS = Dropdown1.SelectedText.Value
     ).Sched,
     ", ",
     LookUp(
     Table1,
     NPS = Dropdown1.SelectedText.Value
     ).Test1,
     ", ",
     LookUp(
     Table1,
     NPS = Dropdown1.SelectedText.Value
     ).Test2
     ),
     ", "
     )
    )

    Set the Items property of the ddSched as below:

    test

    Note: Table1 is my Excel table.

    0034.png

    Hope it could help.

    Regards,

    Qi

  • bigbenson14 Profile Picture
    6 on at

    Thank you both for replying.

     

    You are correct Qi, i want to select the value of NPS and see the rest of the row in the second drop down ddSched.

    I've done as you said but i'm getting an error within the Concatenate function, it's saying the function expects either text or a table column of text type. 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@bigbenson14,

    Please post your formula.

    I have tested on my side that the formula works great. I use the Lookup().ColumnName function to lookup for the specific item that belongs to a certain column based on the ddNPS selected.

    a.png

    Please check if you have missed something important.

    Check the GIF for reference.b.gif

    Regards,

    Qi

     

  • bigbenson14 Profile Picture
    6 on at

    Thanks for the replies Qi - Appreciate your help.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard