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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collection Within Coll...
Power Apps
Unanswered

Collection Within Collection based on pkey

(0) ShareShare
ReportReport
Posted on by 8

Hey Yall

 

Im struggling with a need.

 

i've one table like this

 

idProcessdescription
1process number 1this is process number 1
2process number 2this is process number 2
3process number 3this is process number 3
4process number 4this is process number 4

 

i've a secont table like this

 

id ProcessProcesssteps
1process number 1this is the first step
1process number 1this is the second step
1process number 1this is the third step
1process number 1this is the fourth step
1process number 1this is the ... Step
2process number 2this is the first step
2process number 2step is number 2
2process number 2this is the step third
2process number 2fourth step

 

the goal is join tables where the column steps become a collection within the first collection, like this

 

idProcessdescriptionSteps
1process number 1this is process number 1collection of table 2 with all the steps of the process based on Id Process
2process number 2this is process number 2collection with all the steps of the process based on Id Process
3process number 3this is process number 3if no steps, then blank
4process number 4this is process number 4if no steps, then blank

 

Any advice?

I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Mattzinq,

    Try the following formula:

    AddColumns(Table1,"steps",LookUp(GroupBy(Table2,"idProcess","IdG"),idProcess=id).IdG)

    vqiaqimsft_0-1693966642654.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard