<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: jenny </title>
    <description>The latest articles on Forem by jenny  (@jenniekibiri).</description>
    <link>https://forem.com/jenniekibiri</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F469584%2F498a861f-6769-42ac-9b85-a2bf80f96140.jpeg</url>
      <title>Forem: jenny </title>
      <link>https://forem.com/jenniekibiri</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/jenniekibiri"/>
    <language>en</language>
    <item>
      <title>How to Connect Supabase to Microsoft Power BI Desktop and Power BI Service</title>
      <dc:creator>jenny </dc:creator>
      <pubDate>Mon, 09 Jun 2025 13:46:43 +0000</pubDate>
      <link>https://forem.com/jenniekibiri/how-to-connect-supabase-to-microsoft-power-bi-50p8</link>
      <guid>https://forem.com/jenniekibiri/how-to-connect-supabase-to-microsoft-power-bi-50p8</guid>
      <description>&lt;p&gt;Supabase is an open-source backend-as-a-service that provides a PostgreSQL database, authentication, and storage services. &lt;/p&gt;

&lt;p&gt;Microsoft Power BI is a powerful business analytics tool that enables users to visualize and share insights from their data. &lt;/p&gt;

&lt;p&gt;Connecting Supabase to Power BI allows you to create dynamic dashboards and reports based on your Supabase data.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Supabase project&lt;/li&gt;
&lt;li&gt;Microsoft Power BI Desktop&lt;/li&gt;
&lt;li&gt;Supabase SSL certificate downloaded. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🔑 &lt;strong&gt;Get Your Supabase Connection Details&lt;/strong&gt;&lt;br&gt;
Go to Dashboard → connect in your Supabase project and copy&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Host&lt;/strong&gt;: Use the Session Pooler URL (e.g. aws-0-xyz.pooler.supabase.co)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Port&lt;/strong&gt;: 5432&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database&lt;/strong&gt;:typically postgres&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User&lt;/strong&gt;: typically postgres.project-ref&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password&lt;/strong&gt;:xxxxxxxx&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Download the &lt;strong&gt;.crt&lt;/strong&gt; file from the &lt;strong&gt;SSL Configuration&lt;/strong&gt; section.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8kanqmy69zucbjphh9ef.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8kanqmy69zucbjphh9ef.png" alt="supabase ssl cert" width="800" height="215"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🛡️ &lt;strong&gt;Please note:&lt;/strong&gt; Supabase's Direct Connection uses IPv6 by default, if your network doesn’t support IPv6, either enable the IPv4 Addon or use the Session Pooler, which serves as an alternative when connecting over IPv4.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧩  Import Supabase SSL Certificate&lt;/strong&gt;&lt;br&gt;
Power BI requires the root SSL certificate to be trusted. Here’s how to import it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Press &lt;strong&gt;Win + R&lt;/strong&gt;, type &lt;strong&gt;mmc&lt;/strong&gt;, and hit &lt;strong&gt;Enter&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;File → Add/Remove Snap-in…&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Add &lt;strong&gt;Certificates, Add&amp;gt;,&lt;/strong&gt; select &lt;strong&gt;Computer account → Local computer&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Navigate to: &lt;strong&gt;Certificates → Trusted Root Certification Authorities&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Right-click &lt;strong&gt;Certificates &amp;gt; All Tasks → Import&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo1p12ss7q6eyf2cur3cg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo1p12ss7q6eyf2cur3cg.png" alt="console root windows" width="800" height="440"&gt;&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use the wizard to import the downloaded supabase ssl certificate .crt file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure it’s placed in the &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo1p12ss7q6eyf2cur3cg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo1p12ss7q6eyf2cur3cg.png" alt="power bi" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You should see a success confirmation. Power BI can now trust SSL-secured connections.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📊 Connect to Supabase from Power BI&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;strong&gt;Power BI Desktop&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Get Data → PostgreSQL database&lt;/strong&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6ucuipgkoyqj8i3ps8s9.png" alt="power bi" width="600" height="330"&gt;
&lt;/li&gt;
&lt;li&gt;Fill in:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Host&lt;/strong&gt;: aws-0-xyz.pooler.supabase.co&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database&lt;/strong&gt;: Typically postgres&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Choose &lt;strong&gt;Database authentication&lt;/strong&gt; and enter your Supabase username and password
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuung4aleiqy34uee0j2e.png" alt="power bi" width="600" height="299"&gt;
&lt;/li&gt;

&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;In the &lt;strong&gt;Navigator&lt;/strong&gt; window, select the data you require, then either &lt;strong&gt;Load&lt;/strong&gt; to import it directly or &lt;strong&gt;Transform Data&lt;/strong&gt; to shape it before loading&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2tdkzr9qf9m0gwn3l1xg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2tdkzr9qf9m0gwn3l1xg.png" alt="power bi" width="350" height="186"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After this, you’re all set! You’ve now connected Power BI to your Supabase PostgreSQL database using the most streamlined and reliable method.&lt;/p&gt;

&lt;h2&gt;
  
  
  Power BI Service
&lt;/h2&gt;

&lt;p&gt;If you're connecting from Power BI Service instead of Power BI Desktop, the setup is slightly different.&lt;/p&gt;

&lt;p&gt;Power BI Service can fail during PostgreSQL connection setup with an SSL certificate validation error.&lt;/p&gt;

&lt;p&gt;Unlike Power BI Desktop, there usually is no place in the online Power BI Service flow to import and trust the certificate manually.&lt;/p&gt;

&lt;h3&gt;
  
  
  What to do in Power BI Service
&lt;/h3&gt;

&lt;p&gt;When creating the PostgreSQL connection in Power BI Service, use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication kind: Basic&lt;/li&gt;
&lt;li&gt;Privacy level: None&lt;/li&gt;
&lt;li&gt;Use encrypted connection: unchecked&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then enter your database host, database name, username, and password.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6hx37i8q7r36jfkak4ck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6hx37i8q7r36jfkak4ck.png" alt="Power BI Service SSL certificate validation error" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsi5fs5fha582h423qyes.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsi5fs5fha582h423qyes.png" alt="Power BI Service PostgreSQL connection settings" width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Important note about security
&lt;/h3&gt;

&lt;p&gt;Unchecking &lt;strong&gt;Use encrypted connection&lt;/strong&gt; is a workaround, but it is less secure because the connection will not use SSL/TLS encryption.&lt;/p&gt;

&lt;p&gt;If your workflow requires encrypted connections, Power BI Desktop is usually the better option because it allows certificate trust to be handled on the client machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠 Troubleshooting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SSL Errors&lt;/strong&gt;: Ensure certificate was imported under &lt;strong&gt;Local Computer → Trusted Root&lt;/strong&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2m6puhjc6t7v7wm2jjw.png" alt="power bi " width="600" height="330"&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Connection Timeout:&lt;/strong&gt; Use the Pooler URL if IPv6 isn’t supported in your network&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Network Limitations&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📚 References
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://supabase.com/docs/guides/database/connecting-to-postgres" rel="noopener noreferrer"&gt;Supabase Docs: Connecting to Postgres&lt;br&gt;
&lt;/a&gt;&lt;br&gt;
&lt;a href="https://supabase.com/docs/guides/platform/ipv4-address" rel="noopener noreferrer"&gt;Supabase IPv4 Addon&lt;br&gt;
&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/orgs/supabase/discussions/13885" rel="noopener noreferrer"&gt;GitHub Discussion #13885: Power BI Connection&lt;/a&gt;&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>microsoft</category>
      <category>postgres</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
