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 III
Super User III

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

eka24
Super User III
Super User III

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.

eka24
Super User III
Super User III

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (25,077)