<?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: Get Specific Visual from PowerBI Report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-Specific-Visual-from-PowerBI-Report/m-p/4736757#M61881</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1291701"&gt;@Siddhesh_Singh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Yes, you can embed a specific visual from a Power BI report into a webpage using the Power BI JavaScript Client SDK. Here's the general approach:&lt;/P&gt;
&lt;P&gt;Use Power BI JavaScript SDK - It lets you embed and control reports dynamically in a web page.&lt;/P&gt;
&lt;P&gt;Target a Specific Visual - After embedding the report, you can access the visuals on a specific page via getPages() --&amp;gt; getVisuals() and programmatically focus or interact with a specific visual by its name or title.&lt;/P&gt;
&lt;P&gt;Use Bookmarks (Optional) – If you want to show only one visual cleanly, create a bookmark in Power BI Desktop that hides everything else and apply it via SDK.&lt;/P&gt;
&lt;P&gt;Authentication - Ensure correct token generation:&lt;/P&gt;
&lt;P&gt;Use Service Principal with proper Power BI workspace access (Premium required)&lt;/P&gt;
&lt;P&gt;Here are few Limitations:&lt;/P&gt;
&lt;P&gt;1.Power BI doesn’t natively allow embedding a single visual directly. Instead, you embed the whole report and either:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Focus/highlight a visual&lt;/LI&gt;
&lt;LI&gt;Use bookmarks to isolate visuals&lt;/LI&gt;
&lt;LI&gt;Or design a page with only that visual&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 05:39:21 GMT</pubDate>
    <dc:creator>v-venuppu</dc:creator>
    <dc:date>2025-06-19T05:39:21Z</dc:date>
    <item>
      <title>Get Specific Visual from PowerBI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Specific-Visual-from-PowerBI-Report/m-p/4736000#M61869</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I have a requirement for extracting a visual from Power BI Report which I need to embed in a web page,&lt;/P&gt;&lt;P&gt;we have tried using Iframe links but we are not able to target specific visuals through Iframe,&lt;/P&gt;&lt;P&gt;We have also tried using javascript power bi client library(ps : here's the link to the same&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/javascript/api/powerbi/powerbi-client/page.page#powerbi-client-page-page-getvisuals" target="_blank" rel="noopener"&gt;Page class | Microsoft Learn&lt;/A&gt;) but we are not able to get authorised correctly even with service principal Entra Token we use for power BI Rest API.&lt;/P&gt;&lt;P&gt;Please let me know if something's possible in this regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 13:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Specific-Visual-from-PowerBI-Report/m-p/4736000#M61869</guid>
      <dc:creator>Siddhesh_Singh</dc:creator>
      <dc:date>2025-06-18T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Specific Visual from PowerBI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Specific-Visual-from-PowerBI-Report/m-p/4736757#M61881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1291701"&gt;@Siddhesh_Singh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Yes, you can embed a specific visual from a Power BI report into a webpage using the Power BI JavaScript Client SDK. Here's the general approach:&lt;/P&gt;
&lt;P&gt;Use Power BI JavaScript SDK - It lets you embed and control reports dynamically in a web page.&lt;/P&gt;
&lt;P&gt;Target a Specific Visual - After embedding the report, you can access the visuals on a specific page via getPages() --&amp;gt; getVisuals() and programmatically focus or interact with a specific visual by its name or title.&lt;/P&gt;
&lt;P&gt;Use Bookmarks (Optional) – If you want to show only one visual cleanly, create a bookmark in Power BI Desktop that hides everything else and apply it via SDK.&lt;/P&gt;
&lt;P&gt;Authentication - Ensure correct token generation:&lt;/P&gt;
&lt;P&gt;Use Service Principal with proper Power BI workspace access (Premium required)&lt;/P&gt;
&lt;P&gt;Here are few Limitations:&lt;/P&gt;
&lt;P&gt;1.Power BI doesn’t natively allow embedding a single visual directly. Instead, you embed the whole report and either:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Focus/highlight a visual&lt;/LI&gt;
&lt;LI&gt;Use bookmarks to isolate visuals&lt;/LI&gt;
&lt;LI&gt;Or design a page with only that visual&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 05:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Specific-Visual-from-PowerBI-Report/m-p/4736757#M61881</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-06-19T05:39:21Z</dc:date>
    </item>
  </channel>
</rss>

