cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ethan_R
Super User
Super User

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.

 

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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,782)