cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MattyH Responsive Resident
Responsive Resident

Returning multiple data values.

I currently have a field in a Powerapp where most responses would be a single piece of data, so a Lookup function works fine. However, there are a very few where the response would be more than one piece of data.

As the Lookup function only returns the first piece of fitting data, is there a better option to return all values that fit the criteria.

 

Formula syntax  would be most appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Returning multiple data values.

Hi @MattyH

Could you please share a bit more about about the single piece of data that you mentioned?

I agree with @dinusc's thought almost. I think the Filter function could achieve your needs.

Please take a try with the following formula:

Filter(YourDataSource, 'Filter Condition')

e.g.

Filter(DataSource, ColumnName="xxxxx")

More details about the Filter function, please check the following article:

Filter function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Microsoft
Microsoft

Re: Returning multiple data values.

Hello @MattyH,

You should be able to use "Filter" to return multiple records based on the provided ctriteria. Example:

Filter(YourSource, Field = "searchCriteria")

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

 

Community Support
Community Support

Re: Returning multiple data values.

Hi @MattyH

Could you please share a bit more about about the single piece of data that you mentioned?

I agree with @dinusc's thought almost. I think the Filter function could achieve your needs.

Please take a try with the following formula:

Filter(YourDataSource, 'Filter Condition')

e.g.

Filter(DataSource, ColumnName="xxxxx")

More details about the Filter function, please check the following article:

Filter function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (7,006)