cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
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
Highlighted
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
Helper III
Helper III

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!

Highlighted
Super User
Super User

Re: Filter Gallery based on dropdown

@mssss 

Please take a screenshot and share your full error message.

Highlighted
Helper III
Helper III

Re: Filter Gallery based on dropdown

 
Highlighted
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.
Highlighted
Helper III
Helper III

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!

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

Highlighted
Helper III
Helper III

Re: Filter Gallery based on dropdown

 
Highlighted
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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,103)