cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mssss
Level: Powered On

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 Team
Community Support Team

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

mssss
Level: Powered On

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
Level: Powered On

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
Level: Powered On

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
Level: Powered On

Re: Filter Gallery based on dropdown

 
Community Support Team
Community Support Team

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,419)