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

create Comma Separated String from collection

I create an HTML table from a sharepoint list where the format is a number.  It shows a comma in sharepoint, but when building the HTML table, it drops the comma separator.  I have tried to figure out how to format in HTML to no avail.  I also tried adding a formatted column to the collection, but that isn't working.  

 

Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: create Comma Separated String from collection

@bjdshp 

When you say it shows a comma in SharePoint, are you referring to a thousands separator?  ex. 10,000

If that is the case, then you need only use this formula for you column value:

   Text(yourColumnValue, "#,###")

 

Hope this helps.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: create Comma Separated String from collection

@bjdshp 

Can you provide a little more information about:

1) this statement "...where the format is a number.  It shows a comma in sharepoint...".  Are you saying you have a Number column in SharePoint and it has a comma in it?  If so, what else might you be doing with that column.

2) your results - where are you trying to create the HTML?  In another column, in a HTML control, in a label, textbox...???

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Frequent Visitor

Re: create Comma Separated String from collection

1. Yes, it is a number column and it shows a comma in sharepoint.

2. I create an HTML table, it just isn't formated correctly.  See image.

Highlighted
Super User III
Super User III

Re: create Comma Separated String from collection

@bjdshp 

When you say it shows a comma in SharePoint, are you referring to a thousands separator?  ex. 10,000

If that is the case, then you need only use this formula for you column value:

   Text(yourColumnValue, "#,###")

 

Hope this helps.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Frequent Visitor

Re: create Comma Separated String from collection

sorry....i thought I tried that.  I mistakingly tried FormatNumber I think.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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