cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Andie
Frequent Visitor

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
Super User
Super User

Re: Collection to a table

@Andie
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
Super User
Super User

Re: Collection to a table

@Andie
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

Andie
Frequent Visitor

Re: Collection to a table

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,955)