<?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: Embedding a report using REST API with a parameter? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3620990#M47925</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/669707"&gt;@i4&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;AFAIK, current power bi does not support to use query string to update parameter.&lt;BR /&gt;For update report parameter which defined in query parameter, I'd like to suggest you use the REST API ‘Datasets - Update Parameters In Group’ API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters-in-group" target="_blank"&gt;Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 01:57:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-08T01:57:02Z</dc:date>
    <item>
      <title>Embedding a report using REST API with a parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3617135#M47569</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I created a report in Power BI with a dynamic parameter, where modifying the parameter (&lt;STRONG&gt;p1&lt;/STRONG&gt;) changes the data set in the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2024-01-05 080853.png" style="width: 732px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1020330i025B7CA5B1E0A1BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Zrzut ekranu 2024-01-05 080853.png" alt="Zrzut ekranu 2024-01-05 080853.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, using the REST API, I generated a link to embed the report, where I also defined the parameter (&lt;STRONG&gt;p1&lt;/STRONG&gt;) in the endpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-report#code-try-0" target="_blank" rel="noopener"&gt;Reports - Get Report - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2024-01-05 075909.png" style="width: 886px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1020328i8E0E92FF164F2AD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Zrzut ekranu 2024-01-05 075909.png" alt="Zrzut ekranu 2024-01-05 075909.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After embedding the report in the Powet BI playground, I do not see any changes (i.e. the parameter does not change), why?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:12:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3617135#M47569</guid>
      <dc:creator>i4</dc:creator>
      <dc:date>2024-01-05T07:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding a report using REST API with a parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3620990#M47925</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/669707"&gt;@i4&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;AFAIK, current power bi does not support to use query string to update parameter.&lt;BR /&gt;For update report parameter which defined in query parameter, I'd like to suggest you use the REST API ‘Datasets - Update Parameters In Group’ API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters-in-group" target="_blank"&gt;Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 01:57:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3620990#M47925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-08T01:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding a report using REST API with a parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3621891#M47978</link>
      <description>&lt;P&gt;It works, thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 08:46:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-a-report-using-REST-API-with-a-parameter/m-p/3621891#M47978</guid>
      <dc:creator>i4</dc:creator>
      <dc:date>2024-01-08T08:46:59Z</dc:date>
    </item>
  </channel>
</rss>

