<?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: Query String Report Selection with Embedded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/467466#M14367</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49233"&gt;@ats1958&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There&amp;nbsp;are&amp;nbsp;JS functions that can achieve your goal. Please try it in &lt;A href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#" target="_self"&gt;this site&lt;/A&gt;&amp;nbsp;which also contains source code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;// Get a reference to the embedded report HTML element
var embedContainer = $('#embedContainer')[0];

// Get a reference to the embedded report.
report = powerbi.get(embedContainer);

// Retrieve the page collection, and then set the second page to be active.
report.getPages()
    .then(function (pages) {
        pages[1].setActive()
            .catch(function (errors) {
                Log.log(errors);
            });
    })
    .catch(function (errors) {
       Log.log(errors);
    });&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://ibb.co/deQhyd" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/83fe1e27f1aa146ed8b6ef14970ac24b7017c7b2/68747470733a2f2f696d6167652e6962622e636f2f6e3367306a4a2f51756572795f537472696e675f5265706f72745f53656c656374696f6e5f776974685f456d6265646465642e706e67" border="0" alt="Query_String_Report_Selection_with_Embedded" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jul 2018 07:57:55 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-07-20T07:57:55Z</dc:date>
    <item>
      <title>Query String Report Selection with Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/466952#M14350</link>
      <description>&lt;P&gt;I would like to replace the report navigation at the bottom of Power BI Embedded with my own buttons and icons. Does anyone have a tutorial for this? My initial thought is that I could create each button, make each one&amp;nbsp;a link to a URL with query string (&lt;A href="http://www.mysite.com?report=&amp;quot;Report1" target="_blank"&gt;www.mysite.com?report="Report1&lt;/A&gt;"), and somehow use this value in the JavaScript API. I'm open to any other implementation ideas as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I'm using RLS, though I don't think that will affect anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/466952#M14350</guid>
      <dc:creator>ats1958</dc:creator>
      <dc:date>2018-07-19T18:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query String Report Selection with Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/467466#M14367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49233"&gt;@ats1958&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There&amp;nbsp;are&amp;nbsp;JS functions that can achieve your goal. Please try it in &lt;A href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#" target="_self"&gt;this site&lt;/A&gt;&amp;nbsp;which also contains source code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;// Get a reference to the embedded report HTML element
var embedContainer = $('#embedContainer')[0];

// Get a reference to the embedded report.
report = powerbi.get(embedContainer);

// Retrieve the page collection, and then set the second page to be active.
report.getPages()
    .then(function (pages) {
        pages[1].setActive()
            .catch(function (errors) {
                Log.log(errors);
            });
    })
    .catch(function (errors) {
       Log.log(errors);
    });&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://ibb.co/deQhyd" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/83fe1e27f1aa146ed8b6ef14970ac24b7017c7b2/68747470733a2f2f696d6167652e6962622e636f2f6e3367306a4a2f51756572795f537472696e675f5265706f72745f53656c656374696f6e5f776974685f456d6265646465642e706e67" border="0" alt="Query_String_Report_Selection_with_Embedded" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 07:57:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/467466#M14367</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-20T07:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query String Report Selection with Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/473634#M14538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49233"&gt;@ats1958&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you mark the proper answer as a solution please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 09:21:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Query-String-Report-Selection-with-Embedded/m-p/473634#M14538</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-27T09:21:02Z</dc:date>
    </item>
  </channel>
</rss>

