Announcements
Hi,
I’m new in Powerapps and I need some help to develop a formula to merge two tables in one following the next example:
Table1:
ID
Name:
1
A
2
B
3
C
Table2:
Task:
X
Y
Z
EndResult:
4
5
A and B have X and Y task and C have only Z task.
Thanks for your help!
@PeterGM3
You are describing a many to many relationship between people and tasks. This usually requires a junction table consisting of two columns, peopleID and taskID. This table can be viewed by selecting the person from the people column and viewing the junction table filtered on peopleID showing the tasks for each person. Alternatively the same table can be viewed by selecting the task and then filtering the junction table on taskID to show who is responsible for the task.
Hi @Drrickryp , thanks for your reply.What I need is to generate that table in a collection.
Dataverse, SharePoint or some other connector?
@Drrickryp
I need to create the collection in Powerapps:ClearCollection(colName,{ID:1,Name:A},{ID:2,Name:B},{ID:3,Name:C};ClearCollection(colTask,{ID:1,Task:X},{ID:2,Task:Y},{ID:3,Task:Z};ClearCollection(colResult,____________________};//Here I need to have the N:N table
If you have a dropdown like ddName with colName and one like ddTask with colTask as the items property, you will need to collect them dynamically using a button that has as its OnSelect property Collect(nametask, {NameID: ddName.Selected.ID , TaskID:ddTask.Selected.ID})
I need to generate this list because every time I click a button, I need to patch this table into a list with the name of a product.Also I bringing the Name table and the Task Table from a list in Sharepoint, so it could change through time.
Product List
Product:
6
7
8
9
10
I would need to see the user interface to better understand your issue. I feel like I'm shadowboxing.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135