cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Blair
Level: Powered On

Filter / Search Issue

Hi Folks,

 

Havinga an issue trying to filter a Gallery with the Data Source 'Visitor Registration'.

Trying to filter the Data Source 'Date_x0020_and_x0020_Time_x0020' where its blank and from a Search Box 'TextInput2'

 

Got this so far, but cant seem to get it working:

 

Sort(If(IsBlank(TextInput2.Text), 'Visitor Registration' , Date_x0020_and_x0020_Time_x0020_ = Blank(),  Filter('Visitor Registration', TextInput2.Text in Text(Title), Date_x0020_and_x0020_Time_x0020_ = Blank())), Title, Ascending))

 

Any help would be much appericated! 

1 ACCEPTED SOLUTION

Accepted Solutions
ViStr
Level: Powered On

Re: Filter / Search Issue

Blair, hi.

Seems that you have missed some function in second argument of IF statement.

 

You could try something like that:

Sort(If(IsBlank(TextInput2.Text),Filter('Visitor Registration',Date_x0020_and_x0020_Time_x0020_ = Blank()),Filter('Visitor Registration',TextInput2.Text in Text(Title),Date_x0020_and_x0020_Time_x0020_ = Blank())),Title,Ascending)

 

Viktor Strizhakov
2 REPLIES 2
ViStr
Level: Powered On

Re: Filter / Search Issue

Blair, hi.

Seems that you have missed some function in second argument of IF statement.

 

You could try something like that:

Sort(If(IsBlank(TextInput2.Text),Filter('Visitor Registration',Date_x0020_and_x0020_Time_x0020_ = Blank()),Filter('Visitor Registration',TextInput2.Text in Text(Title),Date_x0020_and_x0020_Time_x0020_ = Blank())),Title,Ascending)

 

Viktor Strizhakov
Highlighted
Blair
Level: Powered On

Re: Filter / Search Issue

Much Appericated!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 55 members 4,675 guests
Please welcome our newest community members: