cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Return all values from collection

Hello,

 

I think what I am looking for is relatively simple, if I find the correct syntax/function to use... 

 

Essentially I want to:

1. Filter a collection to the point where I need it (works)

2. Return all values now listed in the 'Profile title' column - so if the collection returns multiple rows i want the profile titles of all rows, ideally concatenated in a 'return' field as shown below. 

 

Capture.JPG

 

I tried something like this, but am missing the syntax to return all profile titles:

 

 

If(
CountRows(CollProfiles1)=1,
Set(VarReturn, LookUp(CollProfiles1,Length = Min(CollProfiles1, Length),'Profile Title')) , Set(VarReturn, [????Return all profile titles in a string????] ) )

 

Any suggestions? 🙂

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

My Collection name is Employees.

The column I want to return is FirstName.

 

 

Concat(Employees, FirstName)

 

 

Does that do what you want? Sorry, I don't exactly understand the question but I think this is the ballpark?

 

If you need to filter Employees you can. 

 

 

Concat(Filter(Employees, ID = 1), FirstName)

 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

2 REPLIES 2
Super User
Super User

My Collection name is Employees.

The column I want to return is FirstName.

 

 

Concat(Employees, FirstName)

 

 

Does that do what you want? Sorry, I don't exactly understand the question but I think this is the ballpark?

 

If you need to filter Employees you can. 

 

 

Concat(Filter(Employees, ID = 1), FirstName)

 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

Anonymous
Not applicable

Thank you ! 🙂

 

That is what I meant yes. In addition, in case others need this solution, I added ; as a delimiter in this way:

Concat(Employees, FirstName, ";"

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (80,451)