cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adi0007
Regular Visitor

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 @adi0007 :

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.

adi0007
Regular Visitor

@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 @adi0007 :

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,009)