cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mssss Helper II
Helper II

Filter Gallery based on dropdown

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Filter Gallery based on dropdown

Hi @mssss ,

 

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

Capture.JPG

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
Super User
Super User

Re: Filter Gallery based on dropdown

@mssss 

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."

Highlighted
mssss Helper II
Helper II

Re: Filter Gallery based on dropdown

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!

Super User
Super User

Re: Filter Gallery based on dropdown

@mssss 

Please take a screenshot and share your full error message.

mssss Helper II
Helper II

Re: Filter Gallery based on dropdown

 
Super User
Super User

Re: Filter Gallery based on dropdown

@mssss
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.
mssss Helper II
Helper II

Re: Filter Gallery based on dropdown

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!

Super User
Super User

Re: Filter Gallery based on dropdown

@mssss 

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.

mssss Helper II
Helper II

Re: Filter Gallery based on dropdown

 
Community Support
Community Support

Re: Filter Gallery based on dropdown

Hi @mssss ,

 

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

Capture.JPG

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,972)