Hi, I have created a pivot table for shipment data and it has lots of number fields that are presented as text, when you export to excel. Is there a way to format the number columns so, it will show left aligned in the table and will have the correct format when exported to excel?
Pivot tables - number formatting
Hi
I just tried the same here with the Invoiced Items pivot and the numbers are formatted correctly (see attached example). Can you try one of the standard pivot tables to see if it works fine for you as well ?
Do you have any formulas or calculation done in the Generic Inquiry linked to this pivot table? If you are able to share the contents of the GI (send screenshots and/or use the Export to XML option from the toolbar), please do so and I’ll try to help.
I think that you can make it work if you use CDec to convert your text field to a decimal, and specify a schema field in the Generic Inquiry. After that you can use the Format property in the pivot table to specify the formatting as needed.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/7fdca704-ee68-4206-9fa5-acb4b2ad5442.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/13bfe52c-defb-4db2-ac96-b715e6f7244c.png)
In my test it formatted correctly both in the pivot and on export to Excel.
Hope that helps!
Laura
thanks @lauraj46. However I am still struggling to get the outcome needed. My Pivot has SOOrder.Openorderqty as a row field.
GI
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/1783e9f5-fada-41bc-b6d2-3309e2c68061.png)
Pivot
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/9f4fd9ba-083e-499f-9528-6ff849ff4f91.png)
Properties
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/fdd647a6-32fb-4777-bdbf-4cfcd9528a50.png)
In the excel
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/84ec85f3-7705-49f9-bbc2-6435ca43e8e5.png)
Hi
I am seeing the same behavior on the export to Excel with the formatted row values. My apologies for the confusion. I don’t know if it’s possible to export the row values from a pivot table to Excel as numbers.
Have you considered using OData to add a data connection in Excel to the Generic Inquiry? If you go that route, you could link to the GI and create the pivot all in Excel.
Laura
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.