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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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 (2,879)