Direct database access is not supported as a standard feature.
In Mendix Cloud (including Dedicated), the PostgreSQL application database is part of the platform’s internal infrastructure. It is not exposed via hostname/port/user for external tools like Power BI to connect directly using the PostgreSQL connector. This is mainly due to security, isolation, and platform manageability considerations.
Recommended approach 1: Publish OData (best practice).
Expose your data using Published OData services in Mendix and connect Power BI to those endpoints. This keeps everything within Mendix security (user roles and access rules) and is easier to maintain when your domain model changes. For large datasets, make sure to design your services carefully to avoid performance issues.
Recommended approach 2: Use a separate reporting database (enterprise pattern).
Replicate Mendix data into a separate reporting database or data lake and connect Power BI to that environment instead. This can be implemented using scheduled events for incremental export (REST/CSV/ETL) or by building a data pipeline that writes to an intermediate analytical layer. This is the most scalable and enterprise-ready solution.
If this resolves the issue, please close the topic.
Juan Jose,
If your app is hosted in the Mendix Cloud, you cannot connect directly to the Postgres database. This is to prevent changes being made to the database that compromise the operations of your Mendix app.
Hope that helps,
Mike