cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MattyH
Level 8

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 Team
Community Support Team

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.
2 REPLIES 2
Microsoft Employee

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 Team
Community Support Team

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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 82 members 4,626 guests
Please welcome our newest community members: