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

Wildcard Filter in PowerApp

I'm working with sharepoint list.

Period has values like:

Q1 20

Q3 19

P1 20

P2 20

 

I want to Filter Column "Perioid" whenever there is Q in it So that values like Q1 20 and Q3 19 are only displayed in Datatable.

 

Filter( LAT, "Q" in Period  )

 

but not working.

Let me know if there are any ways to do wildcard search.

 

Thanks!

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @Anonymous :

Could you tell me what Period 's data type is?Is it "Choice"?

In my opinion, if the data type of Period is "single line of text", then your formula should be work(I made a test and it worked).So,I assume Period 's data type is "Choice" and do not allow mulitple selelctions.

If my assumption is correct,please try:

Filter(LAT,"Q" in Period.Value)

I hope this can help you.If my understanding is wrong, please help me point it out. 

 Best Regards,

Bof

View solution in original post

5 REPLIES 5
eka24
Super User
Super User

What error are you getting. With exception of delegation warning, your formula is ok.

if it delegation warning, create a collection onvisible:

ClearCollect(MyLAT,LAT)

 

Then change the formula to:

Filter(MyLAT,"Q" in Period)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Anonymous
Not applicable

@eka24, I'm not getting any error but it is filtering values if it has only "Q".

So now im getting blank results in datatables

Please show a screenshot to explain.

Also what your Datasource and how many rows

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Please is this issue resolved or any updates?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

v-bofeng-msft
Community Support
Community Support

Hi @Anonymous :

Could you tell me what Period 's data type is?Is it "Choice"?

In my opinion, if the data type of Period is "single line of text", then your formula should be work(I made a test and it worked).So,I assume Period 's data type is "Choice" and do not allow mulitple selelctions.

If my assumption is correct,please try:

Filter(LAT,"Q" in Period.Value)

I hope this can help you.If my understanding is wrong, please help me point it out. 

 Best Regards,

Bof

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,505)