cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Collection to a table

Patch(Table3;Defaults(Table3);{Name:Blue.DisplayName; Test: 65})

I have to add to Table3 rows with names that are written in the DisplayName column of the Blue collection. How do I make sure that each name is added to a new line?

 

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@Anonymous
Please give this a try and let me know if it works.

ForAll(
Blue;
Patch(Table3; Defaults(Table3); {Name: Blue[@DisplayName]; Test: 65})
)

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
mdevaney
Super User
Super User

@Anonymous
Please give this a try and let me know if it works.

ForAll(
Blue;
Patch(Table3; Defaults(Table3); {Name: Blue[@DisplayName]; Test: 65})
)

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

Anonymous
Not applicable

Please help me with one more thing: each person in the Name column has its own Test value. When you click the button, if the person is already listed in the table, then his individual value should increase by one. if he is new, then his name creates a new row with the value Test=1.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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,153)