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 / Filtering a dropdown u...
Power Apps
Answered

Filtering a dropdown using multiple records

(0) ShareShare
ReportReport
Posted on by 25

Hello again!

 

Now i'm having trouble trying to use a filtered table, as a local variable, with 1 or more records to filter a dropdown.

The "Item" config. in the dropdown component, so far:

 

Filter(
 'Pontos de Lubrificação';
 ID in lclTabFilt[@IDRotina]
)

 

The local table contains a key ('ID Rotina') that is the reference to the filter.

I've tried to use different methods, none have worked, this is the closest i've reached, but it only returns a single option in the component.

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

    I obviously can't test it, but you might want to do something like this:

    Filter(
     AddColumns(
     'Pontos de Lubrificação',
     "KeepThis",
     Not(IsBlank(LookUp('Pontos de Lubrificação', 'Pontos de Lubrificação'.[@ID] = lclTabFilt[@IDRotina])))
     ),
     KeepThis
    )

     

    It's essentially adding a new column called "KeepThis", which is a boolean result of a lookup for the record inside of your table. If the record exists in your table then it pulls it through.

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

    Hi @gustavogrosman,

    If you want to filter records based on id in your local table, maybe you could try this:

    Filter(
     'Pontos de Lubrificação';
     ID in lclTabFilt.IDRotina
    )

     

  • Verified answer
    gustavogrosman Profile Picture
    25 on at

    @v-qiaqi-msft @charlessexton 

    Thanks to everyone who took the time to try and help.

    It turns out that yours truly was using the wrong column in the filter 😑

    Solution as follows

     

    Filter( 
     'Pontos de Lubrificação'; 
     ID in lclTabFilt.IDPonto
    ) 

     

     

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