How to connect Power BI to Ignition (MES/SCADA)
Short answer
Connect Power BI to Ignition through the SQL database behind the historian and MES, preferably a reporting replica or summary tables, using an on-premises data gateway. Use WebDev APIs only for small live slices. Build OEE, downtime and quality dashboards from curated views, then add natural-language Q&A over that model.
Ignition already has strong visualization in Perspective and Vision, so the reason to add Power BI is usually the audience. Plant managers, finance and corporate teams want production and downtime next to ERP cost, sales and quality data, in the tools they already open every morning.
The wrinkle is that Ignition's data is built for operations, not reporting. The historian stores time series in partitioned tables with a lookup table for tag identity, and MES data may be spread across custom schemas. Pointing Power BI straight at those tables works for a demo and tends to hurt in production.
This page lays out a sturdier path: curate the data in SQL, connect through a gateway, model it for the questions people ask, and consider a natural-language layer on top.
What teams use it for
OEE and availability by line
Combine state tags, counts and reject counts from curated tables to compute availability, performance and quality per line, shift and product.
Downtime Pareto
Use the downtime event table with reason codes to show top causes, mean time between stops and trend by week, filtered by line or crew.
Energy and utility consumption
Aggregate meter tags into hourly and daily tables, and relate consumption to production volume to find energy per unit.
Quality and SPC summaries
Bring in measurement results and limits to chart capability and out-of-control events, with drill-through to the batch.
Plant to ERP comparison
Join MES production counts to ERP work orders and standard costs to see schedule adherence and yield variance in one model.
Multi-site rollup
Aggregate summary tables from several Gateways into a central warehouse so corporate sees all plants on the same definitions.
Inductive Automation Ignition (MES/SCADA) integration surface
- Historian SQL storage: tag history is held in partitioned data tables with a tag lookup table, in your chosen database such as SQL Server, PostgreSQL or MySQL. Naming and structure vary by version, so inspect your schema.
- Transaction Groups (SQL Bridge module) write selected tags to relational tables on a trigger, which suits production counts, batch records and recipes that you want in clean rows.
- Named queries and database connections let you build views over the data, and the Reporting module can produce scheduled extracts as well.
- WebDev endpoints can return JSON for small, near-live datasets, though they are not the right path for large history loads.
- Historian query functions return aggregated values with defined intervals, which you can write to summary tables on a schedule from a Gateway timer script.
How it works
- 1
Decide the data path
Prefer a reporting database or read replica fed from the historian, so heavy Power BI refreshes do not compete with plant logging.
- 2
Build curated summary tables
Create hourly and per-shift tables for production, state time, downtime and key process values. A Gateway timer script, a stored procedure or an ETL job can populate them.
- 3
Create reporting views
Present clean views with friendly names, units, line and area attributes and a calendar and shift dimension, not raw tag IDs.
- 4
Install the on-premises data gateway
Put the gateway on a server that can reach the SQL database. Configure credentials with a read-only account and schedule refreshes outside peak logging periods.
- 5
Model and measure
Import summaries, use DirectQuery only for narrow cases, define OEE and downtime measures once in DAX, and document the definitions.
- 6
Add row-level security and Q&A
Limit data by plant or line with roles, then enable natural-language questions over a tidy semantic model, with synonyms for your line and product names.
Example flows
Nightly OEE refresh
Trigger: Midnight schedule at the end of the production day.
- A Gateway timer script or database job aggregates state and count tags into shift summary rows.
- The on-premises data gateway refreshes the Power BI dataset from the reporting views.
- Dashboards update with the previous day's OEE, downtime and reject figures.
Result: Managers open a consistent dashboard each morning without touching the plant historian.
Plant versus ERP schedule view
Trigger: Weekly planning meeting.
- MES summary tables supply produced quantities by work order.
- ERP extract supplies planned quantity, due date and standard cost.
- The model joins on work order and shows lateness and yield variance.
Result: Planners see which orders slip and why, using downtime reasons from Ignition.
Keeping data on-prem
Power BI Desktop and the on-premises data gateway let you keep the source database on your network and send only the dataset to the Power BI service, or you can use Power BI Report Server if the data and reports must stay entirely local. Check the licensing and feature differences for your edition. For natural-language questions that must not leave the site, put a local model over the same curated views, so users ask in plain language and the answer comes from your SQL without external processing. That is a pattern Netray builds alongside existing dashboards.
Security checklist
- Use a read-only SQL account limited to the reporting views, never the account Ignition uses to write history.
- Apply row-level security by plant and line, and review which workspaces and people can export data.
- Avoid exposing the historian database directly to the internet; route refresh through the data gateway.
- Mask or exclude fields that reveal customer, recipe or proprietary process details when sharing beyond the plant.
- Document dataset owners and refresh credentials, and rotate them on a schedule.
Ways to get it done
Connect Power BI directly to the historian database
Effort: Days, with performance and naming limits.
Quick prototype on a small, non-critical dataset.
Curated reporting layer with Power BI gateway
Effort: Three to eight weeks including summary logic and definitions.
Most plants that want reliable dashboards for management.
Warehouse plus semantic model plus natural-language layer
Effort: Phased project, partner or in-house, with Netray adding on-prem Q&A.
Multi-site groups and teams that need ERP and plant data together.
Pitfalls
- !Querying raw historian partitions from Power BI, which causes slow refreshes and load on the logging database.
- !Joining on tag names that change; use stable IDs or a maintained tag dimension.
- !Mixing time zones and daylight saving between Ignition timestamps and the model.
- !Defining OEE differently in Perspective and Power BI so numbers disagree in meetings.
- !Using DirectQuery on large tables and then blaming Power BI for being slow.
Frequently asked questions
Does Ignition have a native Power BI connector?
The usual route is through the SQL database that holds the historian and MES data, using Power BI's standard SQL connectors and the on-premises data gateway. Check the module marketplace for any packaged option, but the SQL path is dependable.
Can Power BI show live SCADA values?
Only near-live, and not as a replacement for Perspective or Vision. For real-time operations keep Ignition screens. Use Power BI for trends, summaries and cross-system analysis, with refresh as often as the source and licence allow.
Why not query the historian tables directly?
They are partitioned time series built for write throughput, and tag identity sits in a lookup table. Direct queries are slow and fragile. Aggregated summary tables or historian query functions give cleaner, faster results.
Can we ask questions in natural language?
Power BI offers Q&A and Copilot style features depending on licence, and they work best over a well named model. For data that cannot leave the site, a local model over the same views can answer questions without cloud processing.
How do we combine this with ERP data?
Bring ERP tables or extracts into the same warehouse or model, join on work order, item and date, and keep one definition for each metric. The plant gives you downtime and counts, the ERP supplies cost and demand.
More for Inductive Automation Ignition (MES/SCADA)
Want Power BI working on your Inductive Automation Ignition (MES/SCADA)?
A free 30 minute assessment: we map the integration path for your version and setup, and where it should run.
Get a free assessmentTry it here, free
Ignition SCADA AI Assistant Sizing and Value Calculator
Estimate peak concurrency, GPU count, index size, hours saved and payback for a private on-prem AI assistant on Ignition SCADA.
Keep exploring
Free tools
- Ignition SCADA AI Assistant Sizing and Value CalculatorEstimate peak concurrency, GPU count, index size, hours saved and payback for a private on-prem AI assistant on Ignition SCADA.
- Ignition SCADA Private AI Layer Blueprint GeneratorFill in your environment and get an architecture plan for a private AI assistant on Ignition SCADA: components, security controls, rollout phases and open questions for IT.
- OEE Power BI DAX Measures GeneratorEnter your table and column names and get DAX measures for availability, performance, quality and OEE that you can paste into a Power BI model.
ERP fixes and how-tos
- How to Add AI to a Self-Hosted Ignition Gateway Without CloudPrivate AI for self-hosted Ignition: Tag Historian tables, alarm journal, Named Queries, WebDev, role mapping, local GPUs and an audit trail. No cloud needed.
- How to integrate Ignition with your ERPHow to connect Ignition to ERP safely: staging tables, Named Queries, Transaction Groups, REST calls, idempotent posting and error handling, with examples.
- IFS Cloud Power BI Integration Using OData ProjectionsHow to connect IFS Cloud to Power BI using OData projections, which authentication to use, and how to avoid slow reports and overloading the ERP database.
Runs with your ERP
- Versino Power BI Add-on and SAP Business One: ready datasets and dashboardsHow the Versino Power BI add-on exposes SAP Business One data as ready datasets, what it covers, what breaks, and where a private on-prem AI layer helps.
- Eureka BI (Power BI) with Infor SyteLineWhat is known about the Eureka BI Infor Marketplace listing for SyteLine and VISUAL, built on Microsoft Power BI, plus setup, pitfalls and a private AI layer.
Guides
- Power BI Integration with SyteLineConnect Power BI to Infor SyteLine for manufacturing analytics. Configure DirectQuery, build data models from SL tables, and publish interactive dashboards.
- Infor LN Reporting Limitations and SolutionsSolve Infor LN reporting limitations. Compare built-in reports, BIS, Birst, Power BI, and custom SQL solutions for manufacturing analytics.
- Factory KPI Dashboard Design: 7 Rules for Dashboards People Actually UseFactory KPI dashboard design in 7 rules: pick metrics by audience, define each KPI, limit tiles, drill to the source row, show data freshness, and track usage.
AI on your ERP
- AI for Ignition SCADA: Ask Tag History, Alarms and OEE Questions, Joined to the ERPPrivate AI for Inductive Automation Ignition: query tag history, alarms and MES modules in plain English, joined to ERP orders, on-prem and read-only.
- AI for Power BI on ERP Data: Answers Beyond the Dashboard You Already BuiltAdd grounded natural-language answers on top of Power BI semantic models and live ERP tables, with row-level security respected and models served on-prem.
Integrations
- How to add AI agents to Ignition (MES/SCADA)How to add AI agents to Inductive Automation Ignition: tags, historian, alarms and WebDev as the tool layer, with operator approval before any write.
- How to build an MCP server for Ignition (MES/SCADA)How to build a Model Context Protocol server for Inductive Automation Ignition: tool design, WebDev and SQL access, transports, permissions and audit.
Software
- IgnitionIgnition is an industrial application platform for SCADA, HMI, IIoT and MES style apps. See modules, integrations, limits and alternatives for plants.
- Microsoft Power BIVendor-neutral guide to Microsoft Power BI for manufacturers: modules, ERP and MES integrations, strengths, limitations, alternatives and AI use cases.