cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Continued Contributor
Continued Contributor

Re: Format values from Collection Table displayed in Data Table

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

Highlighted
Continued Contributor
Continued Contributor

Re: Format values from Collection Table displayed in Data Table

Highlighted
Helper I
Helper I

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

 

Continued Contributor
Continued Contributor

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

 

Highlighted
Continued Contributor
Continued Contributor

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.

Highlighted
Helper I
Helper I

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

 

 

 

Highlighted
Community Support
Community Support

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

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,491)