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 Platform Community / Forums / Power Apps / Display dropdown2 valu...
Power Apps
Unanswered

Display dropdown2 values by filtering other dropdown2 using collect function

(0) ShareShare
ReportReport
Posted on by 51

 

FixtureNumFixtureName
0001Torque
0002Wrench
0003Pump
0004Pump
0005Torque
0006other

 

I have one table. 

> Screen 

    -> OnVisible  fx: 

                             ClearCollect(collectA, {Result : "All"});
                             Collect(collectA, Distinct(FixtureMasterList,FixtureNum));
                             ClearCollect(collectB, {Result : "-"});
                             Collect(collectB,Distinct(FixtureMasterList,FixtureName));

 Dropdown1 

    -> Item  fx : collectA

 Dropdown2 

    -> item fx : collectB

 

So, If i choice the dropdown2, i want to filter dropdown1 based on dropdown2. 

 

ex) Selecte "Torque" (in dropdown2), 

                       dropdown1 displays "0001 , 0005"

 

Plz save me..

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    For dropdown1, set the Items property to:

    Filter(FixtureMasterList, FixtureName = Dropdown2.Selected.Result)

    Let me know if this works.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    https://thepoweraddict.com
  • JHChoi81 Profile Picture
    51 on at

    I am sorry to say that, 

    the filter is not working 

     dropdown2 : default "All"

                         Item : Filter(FixtureMasterList,FixtureName=ddFixtureName.Selected.Result)  /*ddfixtureName=dropdown2

     

    I want to use filter with "collectA".

    Is there way ? 

     

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    When you say it's not working, what is the behavior you are getting? I tested this out and it works perfectly fine. You can modify it slightly to show all values when dropdown2 is set to All by using this:

    Filter(FixtureMasterList, FixtureName = Dropdown2.Selected.Result || true)

    If you are final desired outcome is to have a dropdown of Fixture Numbers filtered down based on the Fixture Name selected, you dont need Collection A.

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com

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 739 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 268

Last 30 days Overall leaderboard