cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ethan_R
Resolver II
Resolver II

Extract ID from a table inside a Row of Collection

Hi All,

I have a collection which contains a table. That table has few records and I would like to get its ID.

 

What i want to extract.

If I have 2 records in collection. Each of them has 2 tables which has additional 3 records.

I want to merge IDs of those records and put into another collection.

So 2 x 3 = 6 Record IDs in total.

 

Ethan_R_0-1620797962555.png

 

Plz guide.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Ethan_R ,

 

Is this what you want?

1\ This is my original collection 'Col'.

v-xiaochen-msft_0-1620802204138.png

v-xiaochen-msft_1-1620802216445.png

v-xiaochen-msft_2-1620802228625.png

 

2\ Add a button control and set its onselect property to:

ClearCollect(Col2,Ungroup(Col,"Notes"))

 

3\ The result is as follows:

v-xiaochen-msft_3-1620802289101.png

 

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @Ethan_R ,

 

Is this what you want?

1\ This is my original collection 'Col'.

v-xiaochen-msft_0-1620802204138.png

v-xiaochen-msft_1-1620802216445.png

v-xiaochen-msft_2-1620802228625.png

 

2\ Add a button control and set its onselect property to:

ClearCollect(Col2,Ungroup(Col,"Notes"))

 

3\ The result is as follows:

v-xiaochen-msft_3-1620802289101.png

 

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

View solution in original post

Thanks a lot @v-xiaochen-msft  !!!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (79,387)