cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Blair
Level: Powered On

Re: Filter / Search Issue

Much Appericated!

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 103 members 5,158 guests
Recent signins:
Please welcome our newest community members: