web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert table record w...
Power Apps
Answered

Convert table record with table column to multiple records

(0) ShareShare
ReportReport
Posted on by 53

I have a table [ParentTable] which has a column that contains another (single column) table [ChildTable].  I would like to convert [ParentTable] into a table that contains all text columns

 

i.e. starting with:

[ParentTable] = {PData:"Data1", Child:[ChildTable1]} where [ChildTable1]= {CData:"Row 1"},{CData:"Row 2"}

 

I would like to convert this to:

[NewTable]={PData:"Data 1", CData:"Row 1"}, {PData:"Data 1", CData:"Row 2"}

 

Please excuse my formatting

Categories:
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @KJH1138 , 

    Do you want to convert [ParentTable] = {PData:"Data1", Child:[ChildTable1]} where [ChildTable1]= {CData:"Row 1"},{CData:"Row 2"} to [NewTable]={PData:"Data 1", CData:"Row 1"}, {PData:"Data 1", CData:"Row 2"}?

    If so, you just need to use UnGroup function to ungroup child table.

    I've made a similar test for your reference:

    1)the original table:

    5705.PNG

     

    5706.PNG

     ClearCollect(ParentTable,{PData:"Data1", Child:Table({CData:"Row 1"},{CData:"Row 2"})})

     

    2)use this formula to convert:

    ClearCollect(NewTable,Ungroup(ParentTable,"Child"))

     

    The new table looks like this:

    5707.PNG

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard