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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (900)