Data & Automation
Power BI and business intelligence for Dynamics 365 F&O
We turn Dynamics 365 Finance & Operations data into Power BI reporting that finance and operations trust — starting with a sound data path and semantic model, not with a dashboard mock-up.
Power BI in action
From ERP Data to Business Intelligence
Follow the journey from Dynamics 365 transactions to governed data models, interactive reports and confident business decisions.
-
Finance & Operations · business data -
General ledger
Voucher posted
GeneralJournalAccountEntry -
Accounts receivable
Sales invoice posted
CustInvoiceJour -
Accounts payable
Vendor invoice recorded
VendInvoiceJour -
Sales orders
Sales order confirmed
SalesTable -
Inventory transactions
Receipt and issue registered
InventTrans -
Project accounting
Hours posted to project
ProjEmplTrans
Scene 1 of 8
Business data inside Dynamics 365
Every posting in Dynamics 365 Finance & Operations — a customer invoice, a vendor invoice, an inventory movement, a ledger voucher — lands in the ERP's tables. Together they hold the raw facts every report depends on.
-
-
-
01 · Source
Finance and supply chain tables
-
02 · Synchronise
Dataverse
Link to Microsoft Fabric or Azure Synapse Link — changed rows only
-
03 · Store
OneLake
Delta tables in Microsoft Fabric (or Azure Data Lake)
-
04 · Transform
Lakehouse / Warehouse
Cleaned, conformed reporting tables
-
05 · Model
semantic model Scheduled or incremental refresh
- Incremental sync of changed rows
- Row-count and key checks after each load
- Refresh monitored, failures alerted
Power BI reads the analytical copy — never the transactional F&O database. Illustrative architecture: the right path depends on data volume, latency and licensing.
Scene 2 of 8
From ERP to the data platform
Changed rows are synchronised from F&O through Dataverse into Microsoft Fabric's OneLake (Link to Microsoft Fabric, or Azure Synapse Link for a data lake). Reporting reads that analytical copy, so analytics never loads the transactional database.
-
-
Source ·
CustInvoiceTrans-
InvoiceId -
InvoiceDate -
InvoiceAccount -
ItemId -
Qty -
LineAmountMST -
CostAmountPosted -
DataAreaId -
TaxWriteCodeexcluded -
ModifiedByexcluded -
RecVersionexcluded -
PrintCodeexcluded
- 1 Exclude fields reporting does not need
- 2 Standardise dates, amounts and currency (MST)
- 3 Validate: no orphan items or customers
- 4 Map business keys and relationships
Fact ·
FactSales-
DateKey -
CustomerKey -
ProductKey -
CompanyKey -
Quantity -
Revenue -
Cost
Dimension ·
DimCustomer-
CustomerKey -
Customer -
CustomerGroup -
Country
Scene 3 of 8
Data transformation
Source tables are reduced to the fields reporting needs, data types and currencies are standardised, records are validated and business keys are mapped — producing clean fact and dimension tables.
-
-
DimDate
DateKey · Month · Quarter · Year
DimCustomer
CustomerKey · Customer · Group
DimProduct
ProductKey · Product · Category
DimCompany
CompanyKey · Legal entity
FactSales
Revenue · Cost · Quantity · keys
Measures
- Total Revenue
SUM ( FactSales[Revenue] ) - Gross Margin
[Total Revenue] − SUM ( FactSales[Cost] ) - Sales Growth %
DIVIDE ( [Total Revenue] − [Revenue PP], [Revenue PP] ) - Inventory Value
month-end snapshot, last date in period
Validated against ERP figures with finance before release.
One governed model → Finance report Sales report Inventory report
Scene 4 of 8
Semantic model
A star schema connects the sales fact to date, customer, product and company dimensions. Measures such as Total Revenue and Gross Margin are defined once, validated against ERP figures and reused by every report.
- Total Revenue
-
Business Performance Overview
Illustrative data · fictional companies
Sales Year All companies
Total revenue
€5,147k
Year
Sales growth
+6.8%
vs previous period
Gross margin %
44.1%
−0.4 pts vs previous
Monthly revenue, current year
€498k Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Revenue by product category
Revenue by legal entity
Scene 5 of 8
Building the report
The report is assembled on the semantic model: KPI cards, the monthly trend, revenue by category, the legal-entity breakdown and the slicers people use to ask their own questions.
-
Use the slicers and select a category bar. Sample data — calculated in your browser.
Business Performance Overview
Illustrative data · fictional companies
Showing Sales · Year · All companies
Total revenue
€5,147k
Year
Sales growth
+6.8%
vs previous period
Gross margin %
44.1%
−0.4 pts vs previous
Monthly revenue, current year
€498k Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Revenue by product category Select a bar to drill down
Revenue by legal entity
Scene 6 of 8
Interactive reporting
Try it: change the business area, period or legal entity, and select a category bar to drill into its products. Every figure is calculated from the same illustrative dataset.
-
-
ERP
€5,147k
Validated total · revenue accounts, current year
-
Semantic model
€5,147k
[Total Revenue] measure
-
Power BI report
€5,147k
Total revenue KPI
- Match confirmed
By legal entity (illustrative) Legal entity ERP Report Status Company A €3,138k €3,138k ✓ Match Company B €2,009k €2,009k ✓ Match - Data validation Row counts and totals reconciled after each load
- Measure consistency One definition of each measure, shared by every report
- Refresh status Last refresh succeeded · incremental
- Access Row-level security in the semantic model limits users to their legal entities. ERP security roles do not carry over automatically — they are designed for Power BI.
Scene 7 of 8
Reconciliation and trust
Report totals are reconciled with validated ERP totals before anyone relies on them. Refreshes are monitored, measures have one definition, and row-level security limits each user to the legal entities they are allowed to see.
-
-
Gross margin % by product category · quarter
- Industrial parts 38.3%
- Spare parts 45.1%
- Services 59.8%
- Consumables 28.5%
Insight Margin declined in one product category: Consumables at 28.5% this quarter, down from 41.3%.
Drill into product performance- Lubricants28.6%
- Gaskets29.2%
- Fasteners27.8%
The drop is across all consumables, not one product — a cost-side question.
Decision Review consumables purchase prices with procurement this week.
From Complex ERP Data to Confident Decisions.
Codefine connects Dynamics 365 data, reliable analytics architecture and meaningful Power BI reporting.
Scene 8 of 8
Confident decisions
A finance manager notices that gross margin dropped in one product category, drills into product performance and knows exactly which conversation to have next.
The challenge
Reporting problems are usually data path problems
Dashboards built directly on transactional queries, exports copied into spreadsheets or one-off datasets per department all produce the same outcome — numbers that do not match, refreshes that fail and reports that slow down the ERP itself.
Codefine starts from how data leaves D365 F&O and where it is modelled. With the data path and a shared semantic model in place, reports become a presentation layer on top of definitions everyone agrees on.
Capabilities
What we cover in Power BI & Business Intelligence
- 01
Data path design
Choosing between exports to a data lake or Microsoft Fabric, embedded analytical workspaces and other options based on latency, volume and cost.
- 02
Semantic modelling
Star schemas, conformed dimensions such as legal entity, financial dimensions, item and customer, and reusable measures.
- 03
DAX & calculations
Measures for margins, ageing, stock cover, budget versus actual and period comparisons that match ERP logic.
- 04
Report design
Pages built for the questions people ask, with drill-through to the detail that explains a number.
- 05
Security
Row-level security per company, site or responsibility, aligned with how access is granted in the ERP.
- 06
Governance
Workspaces, deployment pipelines, certified datasets and ownership so reporting does not fragment again.
How the engagement works
A clear sequence, agreed up front
-
Questions first
Agree the decisions each audience makes and the measures and definitions those decisions need.
-
Data path
Set up or review how D365 F&O data reaches the analytics platform.
-
Model
Build and validate the semantic model against ERP figures with finance.
-
Reports
Deliver reports iteratively with the people who will use them.
Technical approach
Our approach to Power BI & Business Intelligence
Pick the data path deliberately
D365 F&O offers several ways to get data into analytics. Embedded analytical workspaces are convenient for in-app views. For enterprise reporting, the recommended direction is to export tables to a data lake or Microsoft Fabric and model from there. Older approaches such as bring-your-own-database exports still exist in many environments; we assess them and plan a migration path where it makes sense.
Model once, report many times
A semantic model with conformed dimensions — legal entity, financial dimensions, calendar, item, customer, vendor, site — lets finance, supply chain and management reports agree by construction. Measures are documented in plain language next to their DAX definition.
Reconcile with finance before you publish
A dashboard that disagrees with the trial balance loses its audience on the first day. We reconcile key totals with ERP reports during development and keep those checks as part of the refresh process.
Benefits
What changes for your organisation
-
One version of the numbers
Shared definitions end the debate about whose report is right.
-
Faster decisions
Management sees current figures without waiting for manual spreadsheets.
-
A healthier ERP
Analytics workloads stay off the transactional database.
-
Visible data quality
Gaps in master data and process discipline become measurable and fixable.
FAQ
Questions about Power BI & Business Intelligence
Which D365 F&O data can be used in Power BI?
Financial, procurement, sales, inventory, production, project and other data — depending on the data path, the tables or entities exported and the reporting scope.
Should Power BI connect directly to D365 F&O?
For most analytical reporting, no. Exporting data to a data lake or Microsoft Fabric and modelling it there keeps load off the transactional system and gives better refresh control. Direct OData access is suitable only for small, specific datasets.
Can you build both executive and operational dashboards?
Yes. Executive KPI views and operational reports for daily work can share the same semantic model, which keeps their numbers consistent.
Can reporting reveal process problems?
Often. Missing dimensions, inconsistent statuses and unposted documents become visible in a good model, and fixing them improves both reporting and the ERP process.
Related services
Often combined with
Discuss Power BI & Business Intelligence with Codefine
Describe the situation in a few lines — what you run, what is not working and what has to happen next. We reply with concrete questions and a suggested first step.