Inorder to connect with Power BI to servicedesk plus, please follow the steps given below
1. Download Power BI and install it
2. Open the application and choose getData option
3. From the given options, choose the appropriate database MSSQL or ODBC (for postgres)
MSSQL
1. For MSSQL, give the sql server database details and click ok
2. Now give the credentials by choosing the appropriate domain (Windows, Database or Microsoft account credentials according to the customer's environment)
3. If the Database is not encrypted, then the following pop up appears and it is safe to give ok for the same.
4. If the connection is successful, then the navigator page will be shown from which the tables can be chosen.
POSTGRES
For Postgres, please download and install ODBC driver from
https://www.postgresql.org/ftp/odbc/versions/msi/ (Please match the machine OS and architecture to download it). You can check the ODBC driver by opening the ODBC datasource administrator and navigating to System DSN as shown in the picture given below.
1. In Power BI, choose ODBC option from the getData dialogue.
2. Choose "NONE" in the Data Source Name and choose the advanced options. In the connection string, provide the driver,server,port and database name in the following format
EG: Driver=PostgreSQL ANSI(x64);server=127.0.0.1;port=65432;Database=servicedesk;
3. On clicking OK, the Navigator page will open with the tables listed from the connected Database.