{"id":23478,"date":"2023-10-03T13:03:32","date_gmt":"2023-10-03T20:03:32","guid":{"rendered":"https:\/\/3cloudsolutions.com\/?p=23478"},"modified":"2024-04-08T14:16:41","modified_gmt":"2024-04-08T21:16:41","slug":"connect-to-oracle-in-pbi-desktop","status":"publish","type":"post","link":"https:\/\/3cloudsolutions.com\/resources\/connect-to-oracle-in-pbi-desktop\/","title":{"rendered":"Connect to Oracle in PBI Desktop"},"content":{"rendered":"<p>Have you ever tried to connect to an Oracle database in Power BI Desktop and felt like you\u2019re on a wild goose chase? Don\u2019t worry \u2013 you\u2019re not the only one. Unlike other Power BI data connectors, which are straightforward to use, there are a few prerequisites to follow before connecting to secured Oracle databases.<\/p>\n<p>I recently learned from the master, <a href=\"https:\/\/www.linkedin.com\/in\/devonreddick\/\">Devon Reddick<\/a>, how to connect to Oracle databases in Power BI Desktop and would love to share our findings to hopefully prevent you from experiencing similar bouts of insanity.<\/p>\n<h3>Install Oracle Client<\/h3>\n<h4>Install the Power BI Desktop<\/h4>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=58494\">Install the Power BI Desktop<\/a> 64-bit version:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Do NOT use the Microsoft Store version of Power BI Desktop.\n<ol>\n<li>If you have the Microsoft Store version installed, be sure to open the correct version when working with Oracle databases.<\/li>\n<li><strong>Tip<\/strong>: the 64-bit version icon has a transparent background, while the Microsoft Store icon has a black background:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23489 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI1.png\" alt=\"Power BI Desktop App image\" width=\"188\" height=\"68\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI1.png 188w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI1-60x22.png 60w\" sizes=\"auto, (max-width: 188px) 100vw, 188px\" \/><\/p>\n<h4>Create an Oracle Login<\/h4>\n<p><a href=\"https:\/\/profile.oracle.com\/myprofile\/account\/create-account.jspx\">Create an Oracle Online Login<\/a> if you do not have one (it\u2019s free to create one).<\/p>\n<h4>Install Oracle ODAC<\/h4>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=58494\">Install Oracle ODAC<\/a>.<\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Click <a href=\"https:\/\/www.oracle.com\/database\/technologies\/odac-downloads.html#license-lightbox\">this link<\/a> to download 64-bit Oracle Client:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23488 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI2.png\" alt=\"Oracle Database image - ODAC\" width=\"624\" height=\"120\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI2.png 624w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI2-300x58.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI2-600x115.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI2-60x12.png 60w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/li>\n<li>Accept the Oracle License Agreement.<\/li>\n<li>Sign into Oracle using your Oracle Online login credentials.<\/li>\n<li>Download the ZIP folder to your local machine.<\/li>\n<li>Extract the ZIP folder to your local machine.<\/li>\n<\/ol>\n<h4>Open the unzipped folder<\/h4>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Double click the Setup file to Launch the program.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23487 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI3.png\" alt=\"Oracle Database image\" width=\"320\" height=\"124\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI3.png 320w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI3-300x116.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI3-60x23.png 60w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/li>\n<li>Click \u201cyes\u201d on the popup window.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4>Once the installer runs, an installation popup appears.<\/h4>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Select Product Language\n<ol>\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-roman;\">\n<li>Click \u201cEnglish\u201d &gt; Next.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>Oracle Home User Selection\n<ol style=\"list-style-type: lower-roman;\">\n<li>Leave \u201cUse Windows Built-in Account\u201d selected &gt; Next.<\/li>\n<\/ol>\n<\/li>\n<li>Specify Installation Location\n<ol style=\"list-style-type: lower-roman;\">\n<li>You can use the default Oracle base (path) or add your own if you want a new location for storing your Oracle items.\n<ol style=\"list-style-type: lower-roman;\">\n<li>Keep note of the Oracle Base and Software Locations for troubleshooting later.<\/li>\n<\/ol>\n<\/li>\n<li>Click \u201cNext\u201d.<\/li>\n<\/ol>\n<\/li>\n<li>Available Product Components\n<ol style=\"list-style-type: lower-roman;\">\n<li>Just click \u201cNext\u201d without changing anything.<\/li>\n<\/ol>\n<\/li>\n<li>NET\n<ol style=\"list-style-type: lower-roman;\">\n<li>Just click \u201cNext\u201d without changing anything.<\/li>\n<\/ol>\n<\/li>\n<li>DB Connection Configuration\n<ol style=\"list-style-type: lower-roman;\">\n<li>Leave blank &gt; We will enter connection details in Power BI Desktop instead.<\/li>\n<li>Click \u201cNext\u201d.<\/li>\n<\/ol>\n<\/li>\n<li>Perform Prerequisites Check\n<ol style=\"list-style-type: lower-roman;\">\n<li>Just click \u201cNext\u201d without changing anything.<\/li>\n<\/ol>\n<\/li>\n<li>Wait a few moments for the connection to be configured.\n<ol style=\"list-style-type: lower-roman;\">\n<li>When the installation completes successfully, close the window.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><strong>Tip<\/strong>: It is a good idea to reboot your laptop to confirm the installation.<\/p>\n<h4>Make sure there is only<strong> ONE<\/strong> Oracle client on your machine.<\/h4>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Navigate to your File Explorer.<\/li>\n<li>Click \u201cThis PC.\u201d<\/li>\n<li>Navigate to the C-Drive.<\/li>\n<li>Open the \u201capp\u201d folder.<\/li>\n<li>Make sure there is only one \u201cclient\u201d folder located inside the \u201capp\u201d folder:<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-23486 size-full\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI4.png\" alt=\"Oracle Database image\" width=\"372\" height=\"212\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI4.png 372w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI4-300x171.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI4-60x34.png 60w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/p>\n<h3>Updating Oracle Paths<\/h3>\n<p>If you find that you are operating on an old Oracle client version or if you changed the Installation Location in Step #5, here are the steps to take to update the path:<\/p>\n<ol>\n<li>In your Desktop programs, locate the \u201cEdit the System Environment Variables\u201d control panel:<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23485 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5.png\" alt=\"Oracle Database image\" width=\"620\" height=\"608\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5.png 620w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5-300x294.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5-600x588.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5-612x600.png 612w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI5-60x60.png 60w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>2. From the popup, select the \u201cAdvanced\u201d tab:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23484 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI6.png\" alt=\"Oracle Database image - system properties\" width=\"492\" height=\"558\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI6.png 492w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI6-265x300.png 265w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI6-53x60.png 53w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/p>\n<p>3. Click the \u201cEnvironment Variables\u201d button on the top right corner of the Advanced tab.<\/p>\n<p>4. Select the \u201cPath\u201d line and click the \u201cEdit\u201d button to change the path to an updated version:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23483 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI7.png\" alt=\"Oracle Database image\" width=\"366\" height=\"358\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI7.png 366w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI7-300x293.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI7-60x60.png 60w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/p>\n<h3>Connect in Power BI Desktop<\/h3>\n<ol>\n<li>It\u2019s common that you will need to connect to a VPN or use a Remote Desktop to connect to Oracle databases. Check with your IT team for guidelines on accessing Oracle databases and if there are any on-premises gateways that need to be used.<\/li>\n<li>Open the Power BI Desktop 64-bit program.<\/li>\n<li>From the top ribbon, Click \u201cGet Data\u201d &gt; Oracle database.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23482 size-full aligncenter\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI8.png\" alt=\"Oracle Database image\" width=\"624\" height=\"200\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI8.png 624w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI8-300x96.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI8-600x192.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI8-60x19.png 60w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>4. You may get a popup warning that says that the \u201cRecommended Provider is not installed.\u201d This is a known issue, and you can safely ignore and click \u201cOK.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23481 size-full\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI9.png\" alt=\"Oracle Database image\" width=\"300\" height=\"152\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI9.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI9-60x30.png 60w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>5. Enter the Server Name in the following format:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-alpha;\">\n<li><strong>HostName<\/strong>:PortNumber\/<strong>SID<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23480 size-full\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI10.png\" alt=\"Oracle Database\" width=\"624\" height=\"268\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI10.png 624w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI10-300x129.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI10-600x258.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI10-60x26.png 60w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-roman;\">\n<li>Ex: <strong>Oraclehostname.com<\/strong>:1111\/<strong>testdb<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>b. This information should be provided to you by someone on your IT team. You will need access to the Oracle DB, and your IT team will likely provide these details in a text file or Word document.<\/p>\n<p>c. Leave Import mode selected.<\/p>\n<p>d. If you want to enter a custom SQL statement, expand Advanced Options, and enter the statement.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-roman;\">\n<li><strong>Note<\/strong>: It is not recommended to use a custom SQL statement. Using your own SQL statement prevents <a href=\"https:\/\/learn.microsoft.com\/en-us\/power-query\/power-query-folding\">Query Folding<\/a> from occurring. Wherever possible, we want to take advantage of Query Folding to improve report performance by pushing querying action back to the source system.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>e. Click \u201cOK.\u201d<\/p>\n<p>f. <strong>Note<\/strong>: If you experience issues connecting to the server, try removing the <strong>:PortNumber<\/strong> portion of the Server name entered above.<\/p>\n<p>&nbsp;<\/p>\n<p>6. Click the Database tab.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Enter your Oracle database Username and Password provided by your IT team.\n<ol style=\"list-style-type: lower-roman;\" start=\"2\">\n<li><strong>Note<\/strong>: This is <strong>not<\/strong> referring to the Oracle Online login created in Step #2. This refers to your Oracle database credentials, which were likely created by a DBA on your IT team.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23479 size-full\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI11.png\" alt=\"Oracle Host Name\" width=\"624\" height=\"284\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI11.png 624w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI11-300x137.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI11-600x273.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2023\/10\/PBI11-60x27.png 60w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>b. Click \u201cConnect.\u201d<\/p>\n<p>7. Select the tables you need for your report and design your data model.<\/p>\n<p>8. Transform the data if needed and design your visualizations.<\/p>\n<p>Now you\u2019re ready to <a href=\"https:\/\/3cloudsolutions.com\/resources\/get-started-with-data-visualization-tools-in-azure\/\">bring your Oracle database information to life<\/a> using Power BI!<\/p>\n<p>Ready to learn more about the amazing capabilities of Power BI for visualizing your data? Let 3Cloud experts come alongside you and leverage our technical experience to provide guidance on creating meaningful insights based on your organization\u2019s data estate. Take this\u00a0<a href=\"https:\/\/3cloudsolutions.com\/resources\/adoption-assessment-power-business-intelligence\/\"><strong>adoption assessment<\/strong><\/a>\u00a0to score your organization\u2019s Power BI maturity level, or read through our\u00a0<a href=\"https:\/\/3cloudsolutions.com\/resources\/modern-self-service-analytics-ebook\/\"><strong>Modern Self-Service Analytics eBook<\/strong><\/a>\u00a0to gain a better understanding of the awesome capabilities of Power BI.<\/p>\n<p>Ready to get started today? Check out our\u00a0<a href=\"https:\/\/3cloudsolutions.com\/resources\/modern-business-intelligence-jumpstart\/\"><strong>Modern Business Intelligence Jumpstart Solution<\/strong><\/a>\u00a0or\u00a0<a href=\"https:\/\/3cloudsolutions.com\/get-started\/\"><strong>Contact us directly<\/strong><\/a>\u00a0today to learn more!<\/p>\n<h4>Additional Resources<\/h4>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/power-bi\/connect-data\/desktop-connect-oracle-database\">https:\/\/learn.microsoft.com\/en-us\/power-bi\/connect-data\/desktop-connect-oracle-database<\/a><\/li>\n<li>Tutorial: <a href=\"https:\/\/www.youtube.com\/watch?v=ClBQ3_p7T_A&amp;t=696s\">https:\/\/www.youtube.com\/watch?v=ClBQ3_p7T_A&amp;t=696s<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever tried to connect to an Oracle database in Power BI Desktop and&mldr;<\/p>\n","protected":false},"author":21,"featured_media":23501,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[394,260],"tags":[429,522,273],"class_list":["post-23478","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business-intelligence","category-data-ai","tag-data-and-ai","tag-oracle","tag-power-bi","topics-blog"],"acf":[],"_links":{"self":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/23478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/comments?post=23478"}],"version-history":[{"count":0,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/23478\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media\/23501"}],"wp:attachment":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media?parent=23478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/categories?post=23478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/tags?post=23478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}