cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArturasF
Helper III
Helper III

Filter items on criteria which can be found among multiple values

Hello, imagine we have simple data table:

 

ClearCollect(colTest,
{Name: "A", Fvalues: "1,2"},
{Name: "B", Fvalues: "3"},
{Name: "C", Fvalues: "1,3"},
{Name: "D", Fvalues: "2"});

 

If our filter criteria = 1, the expected filtered items should show A and C

if criteria = 2 then A and D

if criteria = 3 then B and C

 

Is it possible to do? How filter statement should look? Fvalus format can be adjusted. I just used comma separated delimeter.

1 ACCEPTED SOLUTION

Accepted Solutions
ArturasF
Helper III
Helper III

I have tried

 

Filter(colTest,"3" in Split(Fvalues,","))

 

Previously it didn't work... it works now. Unable to delete this post, sorry for wasting time.

View solution in original post

1 REPLY 1
ArturasF
Helper III
Helper III

I have tried

 

Filter(colTest,"3" in Split(Fvalues,","))

 

Previously it didn't work... it works now. Unable to delete this post, sorry for wasting time.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,340)