cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How do I ungroup?

I have a Collection, collProjectClients, that is a table of tables.  I think I should be able to ungroup it with:

 

ClearCollect(collTest, Ungroup(collProjectClients, "Client"))

 

As you can see, collTest is exactly the same as collProjectClients.  (I know that creating a second collection is not efficient, I'm just trying to flatten the table with Ungroup work!)  A little background -- the Client table is coming in because its the value of a Sharepoint lookup column.

collProjectClients.png  Client.png  

collTest.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: How do I ungroup?

Nevermind, I got it.

ForAll(collProjectClients, Collect(collTest, {First: Client.Id, Second: Client.Value}))

View solution in original post

1 REPLY 1
Highlighted
Frequent Visitor

Re: How do I ungroup?

Nevermind, I got it.

ForAll(collProjectClients, Collect(collTest, {First: Client.Id, Second: Client.Value}))

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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