cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MBlack
New Member

Chaining Operation in Gallery fails

I am trying to chain two formulas together in a Gallery. Each of the filters works individually, but I can't seem to get them to work together. Like a lot of others, I have tried the ;; as well as Collect, but I still must be doing something wrong. Here are the formulas I'm trying to combine into one operation (not concurrent though):

 

 

Filter(
    Users, 
    IsMatch(
        'Full Name',
        "#",
        Contains
    ) <> true
)

 

and

 

SortByColumns(
	Search([@Users], 
	TextSearchBox1.Text, "fullname"), 
	"fullname", 
	If(SortDescending1, Descending, Ascending))

 

 

Can someone please point me to how to do this? I must not be writing the Solutions I have found correctly.

1 ACCEPTED SOLUTION

Accepted Solutions
Alex_10
Super User
Super User

@MBlack 

 

SortByColumns(
    Filter( Users, TextSearchBox1.Text in 'Full Name' && !("#" in 'Full Name') ),
    "fullname", If(SortDescending1, Descending, Ascending)
)

View solution in original post

1 REPLY 1
Alex_10
Super User
Super User

@MBlack 

 

SortByColumns(
    Filter( Users, TextSearchBox1.Text in 'Full Name' && !("#" in 'Full Name') ),
    "fullname", If(SortDescending1, Descending, Ascending)
)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,726)