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

View solution in original post

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

View solution in original post

Highlighted
Blair
Level: Powered On

Re: Filter / Search Issue

Much Appericated!

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,770)