How to Connect Power BI to Microsoft Dynamics 365 Business Central Using Out-of-the-Box Power BI Reports
Microsoft Dynamics 365 Business Central is a powerful enterprise resource planning (ERP) solution that helps businesses manage their finances, operations, and customer relationships. When combined with Power BI, Microsoft’s business intelligence tool, users can unlock deep insights into their data through interactive dashboards and reports. Microsoft provides out-of-the-box Power BI reports for Business Central, making it easier to visualize key performance indicators (KPIs), track business metrics, and make data-driven decisions without leaving the Business Central environment. In this blog post, we’ll walk you through the step-by-step process of connecting Power BI to Business Central using these pre-built reports, covering setup, configuration, and best practices for leveraging these tools effectively.
Why Connect Power BI to Microsoft Dynamics 365 Business Central?
Power BI transforms raw Business Central data into visually appealing and interactive reports, enabling users to:
- Gain Actionable Insights: Out-of-the-box Power BI reports provide pre-designed dashboards for key functional areas like sales, finance, inventory, and purchasing, allowing users to quickly analyze trends and performance.
- Streamline Decision-Making: By embedding reports directly into the Business Central dashboard, users can access real-time insights without switching platforms.
- Leverage Pre-Built Content: Microsoft’s ready-made Power BI apps reduce the time and effort needed to create custom reports, offering templates that are tailored to Business Central data.
- Enhance Collaboration: Power BI’s sharing capabilities allow teams to collaborate on reports, ensuring everyone has access to the same data-driven insights.
With these benefits in mind, let’s explore how to set up and use Power BI’s out-of-the-box reports with Business Central.
Prerequisites to Connect Power BI to Microsoft Dynamics 365 Business Central.
To successfully connect Power BI to Business Central and use the out-of-the-box reports, ensure you meet the following requirements:
- Valid Accounts:
- A Microsoft Dynamics 365 Business Central account with appropriate permissions to access the data and web services.
- A Power BI account (a free Power BI license is included with Business Central for basic features, but a Power BI Pro license is recommended for advanced sharing and collaboration features).
- Power BI Desktop: Download and install Power BI Desktop, a free application for creating and editing reports.
- Data Availability: Ensure the data you want to visualize is exposed through Business Central’s APIs or OData web services. Microsoft recommends using APIs for better performance and stability.
- Business Central Environment: For Business Central online, integration is pre-enabled, but on-premises deployments require additional setup to connect to Power BI.
- Permissions: Users accessing Power BI reports must have a paid Business Central license (e.g., Essentials, Premium, or Team Member).
With these prerequisites in place, you’re ready to proceed with the integration.
Step-by-Step Guide to Connect Power BI to Microsoft Dynamics 365 Business Central.
Step1: Set Up Power BI Integration in Business Central
For Business Central online, Power BI integration is enabled by default, but you may need to configure settings to ensure seamless connectivity. For on-premises deployments, additional setup is required.
Here’s how to get started:
- Access Assisted Setup in Business Central:
- Open your Business Central instance and navigate to the Settings menu.
- Search for Assisted Setup and select Connect to Power BI.
- Follow the wizard prompts. Click Next to proceed through the initial setup screens, which guide you through configuring the connection.
- Configure Fiscal and Time Settings:
- During the setup, you’ll be prompted to define your fiscal calendar (e.g., standard 12-month calendar starting January 1 or a custom fiscal year).
- Specify your time zone and working days to align reports with your business operations.
- Skip App Configuration (Optional):
- The wizard may ask if you want to configure individual Power BI apps at this stage. You can skip this for now, as you’ll install apps later in the process.
- Specify Environment and Company:
- Enter the Environment Name and Company Name for your Business Central instance. The company name is not the display name but the actual name found in the Companies page in Business Central.
- Complete the Setup:
- Follow the remaining prompts and click Finish to complete the initial configuration. This step ensures Business Central is ready to connect to Power BI.
For on-premises deployments, you’ll need to expose data through APIs or OData web services and configure the Power BI service to connect to your local environment. Consult Microsoft’s documentation for detailed on-premises setup instructions.
Step 2: Install Out-of-the-Box Power BI Apps
Microsoft provides several pre-built Power BI apps for Business Central, covering functional areas like Finance, Sales, Purchasing, Inventory, Inventory Valuation, Projects, and Manufacturing. These apps contain ready-made reports and dashboards that connect directly to Business Central data. Here’s how to install them:
- Access Power BI Service:
- Log in to your Power BI account using your work email and password.
- Navigate to Apps:
- In the Power BI Service, go to the Apps section and click Get Apps.
- Search for Microsoft Dynamics 365 Business Central or simply Business Central to find the available apps.
- Select and Install an App:
- Choose an app that matches your needs (e.g., D365 Business Central – Sales or D365 Business Central – Finance).
- Click Get it now, then Install. The app will be added to your Power BI workspace.
- Connect to Your Data:
- When you open the app for the first time, it will display sample data. To connect it to your Business Central data:
- Enter your Environment Name and Company Name.
- Set the authentication method to OAuth 2.0.
- Click Sign in and connect to authenticate with your Business Central credentials.
- After a few minutes, the app will refresh and display your actual Business Central data.
- When you open the app for the first time, it will display sample data. To connect it to your Business Central data:
- Verify the Installation:
- Check that the app appears in your Power BI workspace. Open the app to ensure the reports are populated with your data. Each app contains multiple tabs or pages (e.g., the Sales app has 11 tabs, and the Finance app has 14 tabs).
Step 3: Embed Power BI Reports in Business Central
Once the Power BI apps are installed and connected to your Business Central data, you can embed them directly into the Business Central interface for seamless access. Here’s how:
- Navigate to the Power BI Section in Business Central:
- In Business Central, go to the Role Center or a relevant page where you want to display the reports.
- Locate the Power BI section (often found in the Role Center or a FactBox).
- Select Reports:
- Click the three dots (more options) in the Power BI section and select Services or Get Started with Power BI.
- Choose Select Report to view all reports published in your Power BI workspace.
- Enable the Report:
- From the list of available reports, select the app or report you installed (e.g., D365 Business Central – Sales).
- Click Enable and then OK to embed the report in the Business Central dashboard.
- View and Interact with Reports:
- The report will now appear in the Power BI section of your Business Central dashboard.
- Use the Next and Previous buttons to cycle through multiple reports, or click Expand to view a report in full-screen mode.
- Optional: Create a Custom Role Center:
- To display multiple Power BI reports simultaneously, create a custom Role Center. For example, you can add reports for Sales, Finance, and Inventory to a single dashboard.
Step 4: Customize and Enhance Out-of-the-Box Reports
While Microsoft’s out-of-the-box Power BI apps are powerful, you may want to customize them to meet specific business needs. Here’s how to modify reports and ensure they remain effective:
- Edit Reports in Power BI Service:
- Open the Power BI Service, navigate to your workspace, and select the report you want to edit.
- Click Edit to modify visualizations, such as adding slicers, changing chart types, or resizing visuals. For example, you can add a slicer to filter data by vendor or customer.
- Note that the data model in these apps cannot be changed, but you can adjust design elements like visuals and filters.
- Add Data from Multiple Companies:
- By default, Power BI apps display data from the company specified during setup. To include data from additional companies, create new queries in Power BI Desktop using different company IDs as data sources.
- Use Power Query to combine datasets from multiple companies with the Table. Combine function.
- Apply the Business Central Theme:
- For a consistent look, apply a Business Central-specific theme to your reports. This ensures your reports match Business Central’s color scheme.
- Publish Changes:
- After editing, click Publish in Power BI Desktop to update the report in the Power BI Service.
- Return to Business Central, refresh the Power BI section, and verify that the updated report is displayed.
Step 5: Configure Data Refresh
To keep your reports up to date, configure automatic data refresh in Power BI:
- Set Up the Power BI Gateway (On-Premises Only):
- For Business Central on-premises, install the On-Premises Data Gateway to enable data refresh.
- Choose between Personal Mode (for single users) or Standard Mode (for multiple users or Azure services).
- Configure the gateway in Power BI Service by adding a data source and linking it to your Business Central DSN.
- Schedule Refresh in Power BI Service:
- In Power BI Service, go to the Datasets section and select the dataset for your Business Central app.
- Click Settings, enable Scheduled Refresh, and set the refresh frequency (e.g., daily or weekly).
- Ensure your credentials are up to date by clicking Edit Credentials and signing in.
- Handle Transient Errors:
- If you encounter errors during refresh (e.g., “Unable to read data from the transport connection”), set up retries using Power Automate to improve reliability.
Best Practices for Using Out-of-the-Box Power BI Reports
To maximize the value of Power BI and Business Central integration, follow these best practices:
- Use APIs Over OData Web Services:
- Microsoft recommends using API pages instead of OData web services for faster data loading and greater stability. APIs are less likely to break due to UI changes in Business Central.
- Optimize Performance:
- Avoid designing API pages that modify the database during data retrieval, as this can cause performance issues or errors in Power BI. Check triggers like OnInit or OnOpenPage for potential modifications.
- Leverage Pre-Built Content:
- Start with Microsoft’s out-of-the-box apps to save time, then customize them as needed. These apps include pre-modeled data and dashboards for common business scenarios.
- Ensure Accessibility:
- Design reports with accessibility in mind, using Power BI’s accessibility features like screen reader support and high-contrast visuals.
- Monitor Usage with Telemetry:
- Install usage analytics tools to track system performance and identify areas for improvement. These tools provide dashboards for usage, errors, performance, and administration.
Troubleshooting Common Issues
Here are solutions to common problems when connecting Power BI to Business Central:
- Incorrect Company Name:
- If you see the error “The key didn’t match any rows in the table,” verify the company name in the Companies page in Business Central and re-enter it in Power BI.
- Authentication Errors:
- Ensure you’re using the correct credentials (the same as your Microsoft 365 account) and that OAuth 2.0 is selected as the authentication method.
- Data Not Refreshing:
- Check the refresh schedule in Power BI Service and verify that the gateway (if used) is properly configured.
- Report Not Displaying in Business Central:
- Ensure the report is published to your Power BI workspace and enabled in the Business Central Power BI section.
Next Steps
Get Support and Ask your Questions on how to Connect Power BI to Microsoft Dynamics 365 Business Central
Learn about the Pricing and Licensing Options for Microsoft Business Central
Posted by iCepts Technology Group, Inc. a Microsoft Dynamics 365 Business Central Partner in Pennsylvania
Ready to get started? Contact the Product Experts at iCepts Technology Today!






