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 / Filter Gallery based o...
Power Apps
Answered

Filter Gallery based on dropdown

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

Hello everyone,

 

I’m trying to Filter Gallery based on dropdown selection but not working.

 

Source of the dropdown list is CDS.

 

When I select Dropdown1.

I’d like to apply  filter to gallery.

 

Filter(budget,Dropdown1.Selected.Value in cm1a9_budgetcode)

 

Can someone please kindly help me? 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    I think if you change the comparison operator to the equals sign it might work.

     

    Filter(budget,Dropdown1.Selected.Value = cm1a9_budgetcode)

     

     

    If you are still having an issue after trying my suggestion please tell me:

    • What column type is cm1a9_budgetcode?
    • Are there any errors showing?
    • Can you send a screenshot of your app and workspace?

     

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for your reply,

    but still not working...

    • What column type is cm1a9_budgetcode? :text
    • Are there any errors showing? red underline to .Value =

    Thank you so much for your help!

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Please take a screenshot and share your full error message.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
  • mdevaney Profile Picture
    29,993 Moderator on at
    @Anonymous
    I want to see the error message.

    The PowerApps checker (top right menu) should have a red dot to indicate an error. Click there to find the error and please post a screenshot.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry for my late reply.

    My powerapps is not  English.

     

    But it shows,OnSelect has no property.

    dropdown,On Select Select(Parent) has red underline.

    Thank you for your help!

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Makes no difference to me if PowerApps is not in English.  The error message can be input into Google Translate if you tell me the original language.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    What is the data type of below field in the Value of drop down control?

    Capture.JPG

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hello,

     

    Thank you for your help!

    I've changed to 

    Dropdown1.Selected.CDSfiledname and it worked!

    Thank you!

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard