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

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

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,104)