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

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

Re: Filter/Search issue

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,960)