<?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: Embed Report in SharePoint and Dynamically Filter based on SharePoint Site in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embed-Report-in-SharePoint-and-Dynamically-Filter-based-on/m-p/2950334#M40141</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/274498"&gt;@russell80&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Get a site resource API Could&amp;nbsp;&lt;SPAN&gt;retrieve properties and relationships for a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/graph/api/resources/site?view=graph-rest-1.0" data-linktype="relative-path" target="_blank"&gt;site&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;resource. A&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;site&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;resource represents a team site in SharePoint.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check if this API could help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, please refer to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/graph/api/site-get?view=graph-rest-1.0&amp;amp;tabs=http" target="_blank"&gt;Get a SharePoint Site - Microsoft Graph v1.0 | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 06:16:25 GMT</pubDate>
    <dc:creator>v-jianboli-msft</dc:creator>
    <dc:date>2022-12-06T06:16:25Z</dc:date>
    <item>
      <title>Embed Report in SharePoint and Dynamically Filter based on SharePoint Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-Report-in-SharePoint-and-Dynamically-Filter-based-on/m-p/2948243#M40123</link>
      <description>&lt;P&gt;Hi, I have a SharePoint site to manage projects, each time a new project is started, a new site is created for the project based off a template. In the new project site, I want to embed a power BI report (as part of the template) to show data for that project (the report currently holds data for all projects but can easilly be filterted). I can get as far as embedding the report in the site, and using the Power BI Developer Sandbox, I can set a report filter using a predefined filter value for the project code like below. But where I have gotten stuck is I want to be able to pass the project code from the SharePoint site and use it as the value in the filter. Not sure it's even possible though.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;const basicFilter = {&lt;BR /&gt;$schema: "http://powerbi.com/product/schema#basic",&lt;BR /&gt;target: {&lt;BR /&gt;table: "Projects",&lt;BR /&gt;column: "Project Code"&lt;BR /&gt;},&lt;BR /&gt;operator: "In",&lt;BR /&gt;values: ["123456"],&lt;BR /&gt;filterType: models.FilterType.BasicFilter,&lt;BR /&gt;requireSingleSelection: true&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;await report.updateFilters(models.FiltersOperations.Add, [basicFilter]);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 11:30:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-Report-in-SharePoint-and-Dynamically-Filter-based-on/m-p/2948243#M40123</guid>
      <dc:creator>russell80</dc:creator>
      <dc:date>2022-12-05T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Embed Report in SharePoint and Dynamically Filter based on SharePoint Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-Report-in-SharePoint-and-Dynamically-Filter-based-on/m-p/2950334#M40141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/274498"&gt;@russell80&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Get a site resource API Could&amp;nbsp;&lt;SPAN&gt;retrieve properties and relationships for a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/graph/api/resources/site?view=graph-rest-1.0" data-linktype="relative-path" target="_blank"&gt;site&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;resource. A&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;site&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;resource represents a team site in SharePoint.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check if this API could help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, please refer to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/graph/api/site-get?view=graph-rest-1.0&amp;amp;tabs=http" target="_blank"&gt;Get a SharePoint Site - Microsoft Graph v1.0 | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 06:16:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-Report-in-SharePoint-and-Dynamically-Filter-based-on/m-p/2950334#M40141</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-12-06T06:16:25Z</dc:date>
    </item>
  </channel>
</rss>

