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

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

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

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

Hi @Sajith 

 

Sample Collection

 

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

 

 

Set the text property of Label to

 

Concat(colSelected,Value & ",")

 

 

StalinPonnusamy_0-1633614100427.png

 

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

Hi @Sajith 

 

This should works.

 

 

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

 

 

 

Concat(colOrglist,Value & ",")

 

 

Both Collection

StalinPonnusamy_0-1633870048690.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,783)