cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Enh
Helper II
Helper II

filter in power apps canvas

Hey All

I want to filter multi select lookup and a multi line of text field 

How do i do that? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RusselThomas
Microsoft
Microsoft

Hi @Enh ,

I'm going to assume by multi-select lookup you're talking about a combo box - if so, your filter expression goes into the Items: property of the combobox control in the format;

Filter(source, condition)

Where source is the data source and condition is what you're testing each row against to see if it's included in the result. eg:

Filter(myDataSource, userFirstName = "Bob")

Note: The combobox also has a search function built in, but that is on the results of the items fed into it (i.e. after any filter expressions have been completed).

As to the the second part of your question - I'm also assuming that the multi-line of text field in your datasource is what you want to filter on?  If that's the case, you need to choose the right condition in your filter command based on your needs - just beware of delegation issues with complex conditions, StartsWith() is usually your friend in these instances.

Hope this helps,

RT

View solution in original post

1 REPLY 1
RusselThomas
Microsoft
Microsoft

Hi @Enh ,

I'm going to assume by multi-select lookup you're talking about a combo box - if so, your filter expression goes into the Items: property of the combobox control in the format;

Filter(source, condition)

Where source is the data source and condition is what you're testing each row against to see if it's included in the result. eg:

Filter(myDataSource, userFirstName = "Bob")

Note: The combobox also has a search function built in, but that is on the results of the items fed into it (i.e. after any filter expressions have been completed).

As to the the second part of your question - I'm also assuming that the multi-line of text field in your datasource is what you want to filter on?  If that's the case, you need to choose the right condition in your filter command based on your needs - just beware of delegation issues with complex conditions, StartsWith() is usually your friend in these instances.

Hope this helps,

RT

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,354)