cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sajith
Helper IV
Helper IV

collection colSelected having column Value show it in label text

I have a collection colSelected having column Value. How to display these values in a label using concat function.

2 ACCEPTED SOLUTIONS

Accepted Solutions
StalinPonnusamy
Community Champion
Community Champion

Hi @Sajith 

 

Sample Collection

 

ClearCollect(colSelected, {Value: "test1"},{Value: "test2"})

 

 

Set the text property of Label to

 

Concat(colSelected,Value & ",")

 

 

StalinPonnusamy_0-1633614100427.png

 

View solution in original post

StalinPonnusamy
Community Champion
Community Champion

Hi @Sajith 

 

This should works.

 

 

ClearCollect(colSelectedlist, {Value: "test1"},{Value: "test2"});
Collect(colOrglist,colSelectedlist.Value);

 

 

 

Concat(colOrglist,Value & ",")

 

 

Both Collection

StalinPonnusamy_0-1633870048690.png

 

View solution in original post

4 REPLIES 4
StalinPonnusamy
Community Champion
Community Champion

Hi @Sajith 

 

Sample Collection

 

ClearCollect(colSelected, {Value: "test1"},{Value: "test2"})

 

 

Set the text property of Label to

 

Concat(colSelected,Value & ",")

 

 

StalinPonnusamy_0-1633614100427.png

 

View solution in original post

Thanks a lot.

I am trying  to copy the collection from colSelectedlist to a new collection called colOrglist.

Collect(colOrglist,{Value:colSelectedlist.Value});

 

Concat(colSelectedlist,Value & ",") works fine. However Concat(colOrglist,Value & ",") not working.

 

 

StalinPonnusamy
Community Champion
Community Champion

Hi @Sajith 

 

This should works.

 

 

ClearCollect(colSelectedlist, {Value: "test1"},{Value: "test2"});
Collect(colOrglist,colSelectedlist.Value);

 

 

 

Concat(colOrglist,Value & ",")

 

 

Both Collection

StalinPonnusamy_0-1633870048690.png

 

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,357)