VOOZH about

URL: https://www.cdata.com/kb/tech/d365businesscentral-odbc-power-view.rst

⇱ Import and Visualize Dynamics 365 Business Central Data in Power View


Import and Visualize Dynamics 365 Business Central Data in Power View

👁 Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Create data visualizations based on Dynamics 365 Business Central data in Excel.

NOTE: For Excel for the web (Excel 365) and Excel 2019 or higher, Power View is no longer supported. Microsoft encourages the use of Power BI for those users. Please read our article on working with Dynamics 365 Business Central in Power BI using our Power BI connector for more information.

You can use the built-in ODBC support in Excel to rapidly create Power View reports featuring Dynamics 365 Business Central data. This article shows how to use the Data Connection Wizard, accessible from the Data ribbon, to import Dynamics 365 Business Central data into a Power View report.

Connect to Dynamics 365 Business Central as an ODBC Data Source

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

To authenticate to Dynamics 365 Business Central, you must select an AuthScheme and provide the required properties (OAuth by default).

All Methods

Specify the . If you have multiple companies in your organization, you must also specify the to indicate which company you would like to connect to. does not need to be specified if you have only one company.

Access Key

To authenticate with an Access Key, set AuthScheme to "AccessKey" and provide the and properties.

To obtain the and values, navigate to the Users page in Dynamics 365 Business Central and then click on Edit. The User Name and Web Service Access Key values are what you will enter as the and connection string properties. Note that the User Name is not your email address. It is a shortened user name.

If you wish to authenticate through other methods, refer to the Help documentation.

When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.

Connect with the Data Connection Wizard

Follow the steps below to connect to the DSN from the Data Connection Wizard in Excel.

  1. In recent versions of Excel the Data Connection Wizard is not visible by default. To enable the Data Connection Wizard in Excel, go to File -> Options -> Data and under Show legacy data import wizards check the From Data Connection Wizard (Legacy).
  2. After enabling the Data Connection Wizard, on the Data tab you can click Get Data -> Legacy Wizards -> From Data Connection Wizard (Legacy).
  3. In the Data Connection Wizard, select the ODBC DSN option.
  4. Select the ODBC DSN for Dynamics 365 Business Central from the list.
  5. Select the tables you want to work with.

    If you want to import multiple tables, deselect the "Connect to a specific table" option. After you connect to the data source, you can select multiple tables: After you click Finish to close the Data Connection Wizard, select the "Enable selection of multiple tables" option in the Select Table dialog.

  6. In the Import Data dialog, select the destination for your data. For example, select the Table option and the Existing worksheet option. Then click the cell in your worksheet where results should be output.
  7. Click Insert -> Power View to create a new Power View report.

Create a Table

Tables are the starting point for charts and other representations of your data. To create a table, select a column in the field list. You can also drag and drop table names and column names onto the view.

👁 A table with a filter applied. (Salesforce is shown.)

Create Data Visualizations

On the Design tab, you can change tables into charts and other visualizations.

👁 The table of data represented as a stacked bar chart. (Salesforce is shown.)

Ready to get started?

Download a free trial of the Dynamics 365 Business Central ODBC Driver to get started:

 Download Now

Learn more:

👁 Dynamics 365 Business Central (NAV) Icon
Dynamics 365 Business Central ODBC Driver

The Dynamics 365 Business Central ODBC Driver is a powerful tool that allows you to connect with live Dynamics 365 Business Central data, directly from any applications that support ODBC connectivity.

Access Dynamics 365 Business Central like you would a database - read, write, and update Items, Sales Orders, Purchase Orders, etc. through a standard ODBC Driver interface.