Forum Discussion
Hi Jack, I created the data table and was able to populate the table view. When I open the table view in an Excel file which is embedded in a dashboard, the numbers are correctly formatted with the commas. I used format(<number>,'C') in the SQL to populate the data table.
However, the number are being presented in excel aligned to the left sided instead of to the right side and when I save the excel file from the dashboard in my local drive the numbers are being saved as a text with a single comma before the number. Is that correct behavior? Would be a way to set the numbers alignment to the right and when saving the excel file set the values as numbers instead of text?
Thanks for the help,
Did you set the last parameter (useDataTypes) as True in your PopulateFromDataTable call?
- sfilho2 years agoNew Contributor III
Its current set to True but I tried False as well and the result is the same when showing in Excel.
Related Content
- 2 years ago
- 8 months ago