<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/5136292#M64743</link>
    <description>&lt;P&gt;I've faced similar CSP/CORS issues when building AI integrations for Power BI. The challenge is that Power BI's security model restricts direct API calls from custom visuals, which is why your proxy approach is on the right track.&lt;/P&gt;&lt;P&gt;One thing that worked for me was setting up a lightweight Azure Function as a secure proxy, it handles the API call and returns the response to the visual without tripping Power BI’s security policies.&lt;/P&gt;&lt;P&gt;If you're looking for a ready-made solution that avoids these integration headaches, you might find PowerMind interesting. It’s a custom AI assistant built specifically for Power BI that embeds directly into dashboards without needing Copilot licenses or dealing with API blockers. You can see a quick demo of how it works here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/querixa_powerbi-microsoftfabric-dataanalytics-activity-7439451185696305152-wfFC?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACyDUKQBQhomDtRhx1YhG-beulUuVD5DR8w" target="_blank"&gt;https://www.linkedin.com/posts/querixa_powerbi-microsoftfabric-dataanalytics-activity-7439451185696305152-wfFC?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACyDUKQBQhomDtRhx1YhG-beulUuVD5DR8w&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=JPscIa7SNZw" target="_blank"&gt;https://www.youtube.com/watch?v=JPscIa7SNZw&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2026 10:16:23 GMT</pubDate>
    <dc:creator>querixa</dc:creator>
    <dc:date>2026-03-20T10:16:23Z</dc:date>
    <item>
      <title>Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4656715#M60499</link>
      <description>&lt;P class=""&gt;I’m working on integrating&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ChatGPT or Google Gemini&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;into&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Power BI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;custom visual&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to enable interactive AI responses directly from the report, based on the dataset contents.&lt;/P&gt;&lt;P class=""&gt;Everything works fine when I test the API in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Postman&lt;/STRONG&gt;, but Power BI&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;blocks the API call&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from the custom visual due to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;security restrictions&lt;/STRONG&gt;, most likely related to Content Security Policy (CSP) or cross-origin (CORS) issues.&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I have Tried So Far&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Built a custom visual in Power BI using React and TypeScript&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Integrated OpenAI/Gemini API logic inside the visual&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Created a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;proxy API server&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to forward the API requests&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Used&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tunneling tools&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;localtunnel&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;ngrok&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Cloudflare Tunnel&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I Need Help With&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;How can I&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;successfully connect Power BI custom visual&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to OpenAI/Gemini API through a proxy or tunnel?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Is there a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;recommended tunneling or reverse proxy approach&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that works with Power BI visuals?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;other approaches to solve&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the same problem?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any guidance or step-by-step solution would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 04:48:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4656715#M60499</guid>
      <dc:creator>jesikamaurya</dc:creator>
      <dc:date>2025-04-17T04:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4689627#M61145</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/935391"&gt;@jesikamaurya&lt;/a&gt;&amp;nbsp; ,&lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;Power BI imposes several restrictions on custom visuals by running them in a sandboxed environment with the least amount of privilege. As a result, any content hosted inside the visual that requires elevated permissions is unlikely to function correctly. This sandboxing also strips away the domain context from custom visuals, preventing them from impersonating powerbi.com. Consequently, attempting to access services or embed content from sites that enforce CORS restrictions will fail within the visual. Since CORS policies are enforced by the target server, they cannot be overridden from the client side, including within the visual itself.&lt;BR /&gt;If your endpoint enforces a CORS policy, it won’t be accessible from a Power BI custom visual. Microsoft sandbox custom visuals, which results in requests being sent with a null origin. Even if your code is correct, the target server will block the request due to this null origin unless explicitly allowed, making direct API calls from the visual unsuccessful.&lt;BR /&gt;If the ability to call third-party services is important to your use case, we recommend submitting a suggestion in the Power BI Ideas forum.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas" target="_blank"&gt;Fabric Ideas - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;This platform is actively monitored by the product team, and highly supported posts are often implemented to Power BI.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 17:20:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4689627#M61145</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-12T17:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4694843#M61214</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/935391"&gt;@jesikamaurya&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 18:05:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4694843#M61214</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-15T18:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4698594#M61273</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/935391"&gt;@jesikamaurya&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 13:14:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4698594#M61273</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-19T13:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4712444#M61497</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/935391"&gt;@jesikamaurya&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.&lt;/P&gt;
&lt;P&gt;If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum &amp;nbsp;we’ll be happy to assist.&lt;/P&gt;
&lt;P&gt;Thank you for being part of the Microsoft Fabric Community.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 13:32:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/4712444#M61497</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-29T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual in Power BI for integration of GPT or Gemini with Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/5136292#M64743</link>
      <description>&lt;P&gt;I've faced similar CSP/CORS issues when building AI integrations for Power BI. The challenge is that Power BI's security model restricts direct API calls from custom visuals, which is why your proxy approach is on the right track.&lt;/P&gt;&lt;P&gt;One thing that worked for me was setting up a lightweight Azure Function as a secure proxy, it handles the API call and returns the response to the visual without tripping Power BI’s security policies.&lt;/P&gt;&lt;P&gt;If you're looking for a ready-made solution that avoids these integration headaches, you might find PowerMind interesting. It’s a custom AI assistant built specifically for Power BI that embeds directly into dashboards without needing Copilot licenses or dealing with API blockers. You can see a quick demo of how it works here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/querixa_powerbi-microsoftfabric-dataanalytics-activity-7439451185696305152-wfFC?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACyDUKQBQhomDtRhx1YhG-beulUuVD5DR8w" target="_blank"&gt;https://www.linkedin.com/posts/querixa_powerbi-microsoftfabric-dataanalytics-activity-7439451185696305152-wfFC?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACyDUKQBQhomDtRhx1YhG-beulUuVD5DR8w&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=JPscIa7SNZw" target="_blank"&gt;https://www.youtube.com/watch?v=JPscIa7SNZw&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 10:16:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-in-Power-BI-for-integration-of-GPT-or-Gemini-with/m-p/5136292#M64743</guid>
      <dc:creator>querixa</dc:creator>
      <dc:date>2026-03-20T10:16:23Z</dc:date>
    </item>
  </channel>
</rss>

