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

Filtering not working when I add a drop down to the mix

I'm trying to filter a gallery of only about 200 items.  The text input search works fine until I add the dropdown filter and then the text input still works but it won't filter.  Also, I'm not getting an error.  Here is my formula. 

SortByColumns(
Filter(
colOrganizations,
StartsWith(
'Chapter Name',
TextInput1.Text
) && BERG = ddBERG.Selected.Result
),
"BRGORERG",
Ascending,
"BERG",
Ascending,
"Title",
Ascending
)

The formula in the drop down is this...Sort(Distinct(colOrganizations,Acronymn),Result)

The other interesting thing is that my gallery does not show any results UNTIL I type in a character. 

 

Any ideas?  Thanks so much!  

1 REPLY 1
eka24
Super User III
Super User III

Consder this:

If(TextInput1.Text = "" Or ddBERG.Selected.Result ="",
colOrganizations,

SortByColumns(
Filter(
colOrganizations,
StartsWith(
'Chapter Name',
TextInput1.Text,
 BERG = ddBERG.Selected.Result
),
"BRGORERG",
Ascending,
"BERG",
Ascending,
"Title",
Ascending
))

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (47,362)