cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BHerz
Level: Powered On

Format values from Collection Table displayed in Data Table

I have a Collection which contsins a table

The content of the Collection is diplayed in a PowerApp Data Table Control

The format of the data does not display any formatting such as $ or , normally available in other controls using the Text( XXX,"$##,#") Formatting.

See Screen shots below

 

How do I format the content of a DataTable?Formatting PowerApp Data Table content.jpg

 

7 REPLIES 7
bean
Level 8

Re: Format values from Collection Table displayed in Data Table

Try Text(TheNumber,"[$-en-US]$###,###.##")

bean
Level 8

Re: Format values from Collection Table displayed in Data Table

BHerz
Level: Powered On

Re: Format values from Collection Table displayed in Data Table

Thank you for the prompt reply.

When attempting to format the content of the Data Table value I receive the following Error Message.

Format Error Message.jpg

 

bean
Level 8

Re: Format values from Collection Table displayed in Data Table

Hey, I'm assuming that the number stored in your collection is not a number then, it could be a string. Try this:

Text(Number(TotRSAvailable),"[$-en-US]$###,###.##")

Or it could be the two 0's you put on the end instead of using ##?

 

Text(TotRSAvailable,"[$-en-US]$###,###.##")

 

 

Let me know how you get on.

 

Sean

 

bean
Level 8

Re: Format values from Collection Table displayed in Data Table

If that doesn't work, I'm afraid I'll be stiff out of answers sorry.

BHerz
Level: Powered On

Re: Format values from Collection Table displayed in Data Table

Thanks for the help.

I still have not been able to format the data.

I have used the format you suggested many times with normal Text boxes. \But, since this is a data table control there may be different formatting syntax.

 

FYI here is the most recent error message.

 

Bruce

Format Error Message2.jpg

 

 

 

Community Support Team
Community Support Team

Re: Format values from Collection Table displayed in Data Table

Hi BHerz,

 

As you are using Data table control, I am afraid it might be not possible to format the data in Data table control.

 

Please check the two parts “Now available” and “Not yet available” in this doc for a reference:
https://powerapps.microsoft.com/en-us/tutorials/control-data-table/

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 297 members 6,370 guests
Please welcome our newest community members: