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 / Collection Within Coll...
Power Apps
Answered

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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard