AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
Exporting a Report ...
 
Notifications
Clear all

Questions Exporting a Report to Excel

 
Acumatica Report Designer
Last Post by dwan 2 years ago
11 Posts
8 Users
3 Reactions
10.5 K Views
RSS
scooter
Posts: 23
 scooter
Topic starter
November 14, 2017 11:45 pm
(@scooter)
Eminent Member
Joined: 8 years ago

I created a report in Report Designer and I'm trying to export it to Excel. It exports ok, but the columns don't line up. Is there any way to fix this?


10 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
November 15, 2017 12:14 am
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Scooter,

The first thing you'll want to check is the Excel Mode field down in the Layout section of the Report Properties:

If it's set to Auto like in the screenshot above, then the export routine will try to match up the Report Designer columns to the Excel columns automatically.

But it doesn't always get it right. If that's the case, then switch the Excel Mode to Manual like this:

Once you are in Manual mode, the first thing to note is the Excel Columns field in the screenshot above.

If you click into the (Collection) field next to the Excel Columns field, you'll see a ... button. Click that.

Clicking the ... button will open a separate window like this:

The left-hand column signifies the number of Excel columns. You can use the Add/Remove buttons to add and remove Excel columns.

If you click on a column, you can then set the width that the column will have on the right side.

So now you have the number of Excel columns and their widths set. Now we just need to map Report Designer columns to them.

First, I recommend going to View -> Excel Grid on your menu and choosing Show Columns and Show Rows.

If you do this, then all of the fields in your report will get a little green icon on them like this:

Take the one highlighted in the screenshot above for example. This field will get exported to Excel in Row 2, Column 7.

Let's take a look at that field in the report when it runs inside of Acumatica.

Note that the field appears on what I would consider to be the third line in the report.

But now let's export the report to Excel and see where the field lands:

Hmmm, looks like it lands on the second, not the third line. Why is that? Because the little green icon told us it would land in line 2.

But what if we want it to export to the third line in Excel instead of the second line.

Back in Report Designer, go back to View -> Excel Grid and uncheck the two options.

Then, click on the field that we've been looking at and go down to the Layout -> Excel Cell section of the field properties. Note that it currently looks like this:

Change the Row value from 2 to 3 so it looks like this:

Save the report to the server, then run it and export it to Excel.

Notice that now the field is on the third row instead of the second row.

Of course, you can move columns around in the same way.

Sometimes you might notice a field not getting exporting to Excel. It might be sharing the same Row and Column values as another field so only one field is getting exported because only one can "win". Just make sure every field has its own Row and Column values.

Lastly, back in the Layout area of Report Designer for the field, note that you can set Excel Visible to False if you want to hide the field from getting exported to Excel.


Reply
Travis and Harsha Sarjapur reacted
dwan
 dwan
(@dwan)
Joined: 5 years ago

Active Member
Posts: 5
April 1, 2024 9:52 pm
Reply toTim RodmanTim Rodman

@timrodman Thank you Tim. Helpful as always


Reply
scooter
Posts: 23
 scooter
Topic starter
November 15, 2017 12:15 am
(@scooter)
Eminent Member
Joined: 8 years ago

My Excel Mode was set to Auto. I changed it to Manual and then changed the Row and Column values for some of the fields.

Now everything seems to be exporting correctly. Thank you for your help.


Reply
Tim Rodman reacted
Posts: 35
 Geremy Partridge
January 2, 2019 7:07 pm
(@geremy-partridge)
Member
Joined: 8 years ago

Why when I export a certain report to Excel, it changes the Column from words to numbers?

I have this open in another thread but here is what I have going on:

I run a report and all of the fields are showing correctly. When I Export to Excel, it changes the Address type from Residential to the number 500? It is doing this for all of those address types. 

Residential shows as 500

Commercial shows as 100

Commercial needs lift gate shows as 200 and so on...

 It shows up perfectly when exporting to PDF but it shows incorrectly when exporting to Excel. 

 

Thanks. 


Reply
Shawn P Slavin
Posts: 196
 Shawn P Slavin
January 2, 2019 7:32 pm
(@shawn-p-slavin)
Estimable Member
Joined: 6 years ago

Geremy,

Can you provide a little more information regarding the Address Type field you are referencing? On which screen is this maintained? (Customer Maintenance [AR303000], Customer Locations [AR303020], Business Account Maintenance [CR303000], etc. The challenge is this doesn't sound like a field I recognize from a standard data set.  It is possible that what you are seeing being exported to Excel is the Primary key into the custom table and not the Foreign key or related description value. If we can identify the screen or table where address types are defined and maintained, we can review and see if we can find the correlation.


Reply
 Mike Ott
(@mike-ott)
Joined: 7 years ago

Member
Posts: 6
January 8, 2019 5:58 pm
Reply toShawn P SlavinShawn P Slavin

@shawn-slavin it is a custom field in the Customer records managed by the screen id AR303000

I believe you are right that it is a primary key vs the actual data. The problem is it comes through just fine in the PDF export as well as on screen. The only time it appears as a number is when we have Excel Mode set to manual and export it to excel.

If we switch the Excel Mode to Auto it comes through as the correct text but there are some serious issues with the report formatting then.


Reply
Posts: 35
 Geremy Partridge
January 4, 2019 10:57 am
(@geremy-partridge)
Member
Joined: 8 years ago

Hi Shawn. 

 It's actually a report. The report is SO620500.  It's a Shipment Summary report we have under Sales Orders section. I can send you the .rpx if it would help. 

When I run the report in Acumatica, under the "Address type" column it displays Residential or Commercial and a few others. When I export it to Excel, the description changes from Residential to 500, from Commercial to 100. See the attached for a couple of screen shots comparing the two.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
January 15, 2019 10:06 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Interesting. Seems like a bug with the Excel manual export then.


Reply
Leanne Barker
Posts: 30
 Leanne Barker
January 25, 2024 1:42 am
(@myobadvanced)
Trusted Member
Joined: 6 years ago

I have a coloured panel with white text in it, and I cannot use a section with a background as its just highlighting this text boxes within it.  

So just a tip make the text fields within the panel have the same background colour as your panel, and the colour will go to Excel.


Reply
Travis
Posts: 41
 Travis
February 22, 2024 7:17 am
(@travisl)
Trusted Member
Joined: 3 years ago

For those that may have missed it the first time, like me, the row settings are per section.  With a new section the rows start back over at 1.  I was wondering why I had so much whitespace until I realized this because I had 5:1 thinking it would be the 5th row down.  Ended up being the the 5th row below my title rows and 4 rows of white space above it. 


Reply
Forum Jump:
  Previous Topic
Next Topic  

Currently viewing this topic 1 guest.

Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 67 Online
  • 2,405 Members
Our newest member: Brittany Bartman
Latest Post: Importing Acumatica User Roles / User Security Permissions from Excel
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×