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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 475 members 5,471 guests
Please welcome our newest community members: