Integrating AnyLogic Database with Power BI Has anyone successfully connected an AnyLogic simulation database to Power BI

+1 vote
Integrating AnyLogic Database with Power BI? – Has anyone successfully connected an AnyLogic simulation database to Power BI?

I am working with an AnyLogic simulation model and need to connect its database to Power BI for visualization and analysis. However, I’m facing difficulties in establishing a seamless connection, especially with data extraction and real-time updates. Has anyone managed to integrate AnyLogic with Power BI, and if so, what approach worked best?
Feb 18, 2025 in Power BI by Evanjalin
• 36,180 points
1,006 views

1 answer to this question.

+1 vote

Integrating the AnyLogic database with Power BI is certainly a challenging task, especially when it comes to real-time updates. Here are a few approaches to give you some help:

1. Exporting Data from AnyLogic to Power BI

CSV or Excel Export: AnyLogic allows simulation results to be exported as CSV or Excel files that can then be imported into Power BI. Automating this process via scheduled exports can help keep reports updated.

JDBC/ODBC Connection: If AnyLogic's database supports JDBC or ODBC, you can use an ODBC driver to connect it directly to Power BI via ODBC data sources in Power Query.

2. Using a DBMS (SQL, PostgreSQL, MySQL):

You can also configure AnyLogic to write simulation data externally into an external database (SQL Server, MySQL, or PostgreSQL).

Then, connect Power BI using DirectQuery for near real-time updates by configuring AnyLogic to write data for that database.

3. Real-Time Integration via APIs or Streaming

REST API: If your AnyLogic model publicizes a REST API, Power BI can fetch data at intervals through Power Query (M script) or custom connectors using API calls.

Streaming: Feed your simulation output to Azure Event Hubs, Power BI Streaming Datasets, or Kafka for real-time dashboards.

Best Approach?

If you want historical data, use a DB connection(SQL/ODBC).

For real-time updates, Stream via API or Azure services.

For a simple solution, Export CSV files and refresh them in Power BI.

answered Feb 18, 2025 by anonymous
• 24,450 points