Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Filter a table based on a dropdown value & column and then take another column and show results in a dropdown

Like (0) ShareShare
ReportReport
Posted on 5 Dec 2020 14:20:39 by

Hello there!

I want to filter a dropdown based on what has been selected in another dropdown.

So I have a dropdown where a column Bestandsnaam1 is shown. Whenever they select one, it should look in the database to the rows with that Bestandsnaam1 and then it needs to show the column named "Prod. usage"

How can I do this?


  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 18 Dec 2020 at 08:24:11
    Re: Filter a table based on a dropdown value & column and then take another column and show results in a dropdown

    Hi@TimoMigchielsen,

    Based on the issue that you mentioned, do you want to display the items in a Dropdown based on another Dropdown selected?

    Could you please share a bit more about the scenario:

    1. what is your data source, SharePoint or Excel?
    2. what is the column type of the 'Bestandsnaam1' and 'Prod. usage'?

    Combine that with your description, I assume that you have an Excel table.

    Beside, I will suggest you use a Combo Box instead of a Dropdown because the Dropdown will select the first item by default when there are multiple items filtered based on another Dropdown.

    Here is my scenario, please check for reference.

    Set the Items property of the Bestandsnaam1_dropdown as below:

     

    Distinct(Table13,Bestandsnaam1)

     

    Set the Items property of the Prod. usage_dropdown as below:

     

    Filter(Table13,Bestandsnaam1 in Bestandsnaam1_dropdown.Selected.Result).'Prod. usage'

     

    Check the GIF.

    121803Gif.gif

    Regards,

    Qi

  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on 05 Dec 2020 at 20:15:30
    Re: Filter a table based on a dropdown value & column and then take another column and show results in a dropdown

    @Anonymous 
    This concept is called 'Cascading Dropdowns' and fortunately there are many resources I can point you to.  I suggest you try this video first.

    Youtube - Cascading Dropdowns by Shane Young
    https://www.youtube.com/watch?v=pkZG2boN7jQ

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 37 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 34

Overall leaderboard
Loading started
Loading started
Loading complete