In order to connect to an Oracle database with Power BI Desktop, the correct Oracle client software must be installed on the computer running Power BI Desktop. Which Oracle client software you use depends on which version of Power BI Desktop you have installed - the 32-bit version or the 64-bit version.
Determining which version of Power BI Desktop is installed
To determine which version of Power BI Desktop is installed, select File > About then check the Version: line. In the following image, a 64-bit version of Power BI Desktop is installed:
Installing the Oracle client
For 32-bit versions of Power BI Desktop, use the following link to download and install the 32-bit Oracle client:
- 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio (18.104.22.168.4)
For 64-bit versions of Power BI Desktop, use the following link to download and install the 64-bit Oracle client:
Connect to an Oracle database
Once the matching Oracle client driver is installed, you can connect to an Oracle database. Take the following steps to make the connection.
From the Get Data window, select Database > Oracle Database
In the Oracle Database dialog that appears, provide the name of the server, and select Connect. If a SID is required, you can specify that using the format: ServerName/SID.
If you want to import data using a native database query, you can put your query in the SQL Statement box, available by expanding the Advanced options section of the Oracle Database dialog.
Once your Oracle database information is entered into the Oracle Database dialog (including any optional information such as a SID or a native database query), select OK to connect.
If the Oracle database requires database user credentials, input those credentials in the dialog when prompted.