Export to an Excel PivotTable
You can export Dynamics 365 Customer Engagement (on-premises) data to a Office Excel PivotTable to see patterns and trends in data. An Excel PivotTable is a great way to summarize, analyze, explore, and present your Customer Engagement (on-premises) data. You can export up to 100,000 records at a time.
On a default Dynamics 365 Customer Engagement (on-premises) installation, before you export data to an Excel PivotTable, make sure that your SQL Server allows remote connections.
Allow remote connections to SQL Server
Start SQL Server Management Studio.
Connect to the SQL Server instance.
Right-click the SQL Server instance name, select Properties, select Connections, and then select the Allow remote connections to this server check box.
Windows Firewall allows remote SQL Server connections. More information: How to: Configure a Windows Firewall for Database Engine Access.
Export to an Excel PivotTable
The option to export data to an Excel PivotTable isn’t available in all Customer Engagement (on-premises) record types. If you don’t see the option, it’s not available for that record.
Open a list of records.
On the command bar, select Export to Excel > Dynamic PivotTable.
In the Select PivotTable Columns list, clear the check boxes for the fields as needed, and then select Export.
By default, the PivotTable Field List includes only fields that are displayed in the Select PivotTable Columns list.
Select Save and then save the .xlsx file. Make note of the location where you saved the file.
If you’re going to edit the data file later, it’s recommended that you save the file before you open it. Otherwise, you may get this error message: Excel cannot open or save any more documents because there is not enough available memory or disk space.
To fix the issue do this:
Open Excel and go to File > Options > Trust Center
2. Select Trust Center Settings, and then select Protected View.
3. Under Protected View, clear the check boxes for all three items.
4. Select OK, and then OK.
We still strongly recommend that you save and then open the data file, rather than disabling protected view, which may put your computer at risk.
Open Excel and then open the .xlsx file you saved in the previous step.
If you see the security warning External Data Connections have been disabled, select Enable Content.
To refresh data in the file, on the Data tab select Refresh from CRM.
To view and refresh dynamic data, Microsoft Dynamics 365 for Outlook must be installed. If it is already installed and configured, select Refresh from CRM to sign in to Dynamics 365 Customer Engagement (on-premises). If you do not want to be prompted again to sign in, select Save my email address and password in the Sign-In page.
Drag the fields from the PivotTable Field List to the PivotTable. For more information, see Excel Help.
If you export a list to a dynamic worksheet or PivotTable that you think will be useful to other Dynamics 365 Customer Engagement (on-premises) users, you can add the list as a report, and then share it with others or make it available to all Dynamics 365 Customer Engagement (on-premises) users.
If the recipients are in the same domain as you, and are Dynamics 365 Customer Engagement (on-premises) users, you can email a dynamic Excel file, or store it as a shared file. When recipients open the dynamic file, they will see data they have permission to view in Dynamics 365 Customer Engagement (on-premises), so the data they see may be different from what you see.
In Dynamics 365 Customer Engagement (on-premises), money values are exported to Excel as numbers. After you have completed the export, to format the data as currency, see the ExcelHelp topic titled “Display numbers as currency.”
The data and time values that you see in Dynamics 365 Customer Engagement (on-premises) show up as “Date” only when you export the file to Excel but the cell actually shows both the date and time.
If you’re going to make changes and import the data file back in to Dynamics 365 Customer Engagement (on-premises), remember that secured, calculated, and composite fields (such as Full Name) are read-only and can’t be imported in to Dynamics 365 Customer Engagement (on-premises). You’ll be able to edit these fields in Excel but when you import the data back in to Dynamics 365 Customer Engagement (on-premises) these fields won’t be updated. If you want to update these fields such as a contact’s name, it’s recommend that you use that view to export your data, update them in Excel, and import them back to Dynamics 365 Customer Engagement (on-premises) for changes.
Some system views, such as Accounts: No Campaign Activities in Last 3 Months, can be exported only to a static Excel worksheet.
Your operating system region settings (in Windows, Control Panel > Region) and Dynamics 365 Customer Engagement (on-premises) region settings (Settings () > Options > Languages) should be the same. If not, refreshing dynamic data with Refresh from CRM might cause data changes.
If you use Microsoft Dynamics 365 (online), exporting data to a static worksheet creates a local copy of the exported data and stores it on your computer. The data is transferred from Dynamics 365 (online) to your computer by using a secure connection, and no connection is maintained between this local copy and Dynamics 365 (online).
When you export to a dynamic worksheet or PivotTable, a link is maintained between the Excel worksheet and Dynamics 365 (online). Every time a dynamic worksheet or PivotTable is refreshed, you’ll be authenticated with Dynamics 365 (online) using your credentials. You’ll be able to see the data that you have permissions to view.
An administrator determines whether or not an organization’s users are permitted to export data to Excel by using security roles.