HELP ARTICLE

Date Formatting in Excel Report Builder


Excel Report Builder does not allow you to format date fields.  This is because of the way Excel will reformat them when using the report.

By default, when using Excel Report Builder, date fields will be formatted without any formatting which makes them a string field.  To be able to format them as a date field, you have to do calculations on them, run a macro to convert them, etc.

In Excel Report Builder version 12.00.0067 (and higher) for Microsoft Dynamics GP 2013 and any of the releases for Microsoft Dynamics GP 2015, you can add a line to the Dex.ini to remove all date formatting from published Excel Reports. Add EXCEL_REPORT_BUILDER_REMOVE_DATE_FORMATS=TRUE to the Dex.ini to pass in a number rather than a formatted date to Excel.  When you publish your Excel Report with this switch in place, all date fields will show as numbers similar to the Birth Date in the image below.

Date 1 

You can now select all the date columns and format them with the many date options in Excel.

Date 2

Date 3

RECENT POSTS


Disassociate a CRM Record
How to drop and recreate all the SmartList Builder stored procedures
Failed to connect to the CRM server : Failed to get CRM Organizations : Access is denied
Connection could not be validated when using Excel data source
Assigning Default Dimensions

POPULAR POSTS


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
SSL Security error using OLEDB Connection
Manufacturing Serial Trace SmartList Builder Template
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

ARCHIVES

open all | close all

TAGS

Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.