cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kriggo15
Post Patron
Post Patron

Filter/Search issue

I have a SQL table with around 7K rows. I'm trying to filter my gallery based on a TextInput and Dropdown. I can get the logic to work separately and it appears to mostly work together and I'm unsure what I'm doing wrong. I've done this before and am racking my brain trying to figure out where I'm messing up.

Searching for "dw_" should return 631 results which it does for this code: 

 

Search('[app].[vw_metadata_dataset]',TextInput1.Text, "Name")

 

filter1.png

However, when I combine it with the dropdown filter, I get 0 results:

 

Search(If(IsBlank(Dropdown2.Selected.Value),'[app].[vw_metadata_dataset]', Filter('[app].[vw_metadata_dataset]', Type = AssetType)), TextInput1.Text, "Name")

 

 

 When Dropdown2 is blank, it should show all asset types.

1 REPLY 1
alrez
Community Support
Community Support

Hi,

 

Your logic seems fine to me, looking through your issue here I cannot seem to find where the issue is. If any other communities members might know what is causing this then it would be helpful to chime in. Otherwise it might be better to open a ticket with Microsoft Support and engage them with troubleshooting and testing.

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,024)