cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Using StartWith and Search

Here's the situation:
I have a DataTable whose Item property is set like this:

Search(DataTable;Input_Search.Text;"Column1";"Column2";"Column3")

I'd like to apply the [@StartWith] tag, meaning the result of search would consider only the fields starting with what the user types in Input_Search. The problem is I can't get it to work, tried out a couple solutions (The StartWith() function...) but it doesn't work out. Any help ?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

Filter(DataTable,StartsWith(Column1,Input_Search.Text) || StartsWith(Column2,Input_Search.Text) || StartsWith(Column3,Input_Search.Text) )

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

Filter(DataTable,StartsWith(Column1,Input_Search.Text) || StartsWith(Column2,Input_Search.Text) || StartsWith(Column3,Input_Search.Text) )

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (12,283)