<?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 Parsing a variable to filter dashboard in web embedded report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52515#M1632</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a report that we have published to and embeddable web dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dashboard reports a series of scores for eachh of our clients business. &amp;nbsp;We have a filter box on the dashboard that allows us to select which client's results we want to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to be able to send our clients an url like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cuckoocreative.com.au/dashboard?i=brandname" target="_blank"&gt;www.cuckoocreative.com.au/dashboard?i=brandname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where brandname is the customers name and the dashboasrd then only shows the data for that client without having to create a dashboard for each client. &amp;nbsp;We are naticipating creating quite a few and want it o work on-the-fly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can&amp;nbsp;do everyhting else we ant to do in javascript but we just can't access and manipulate the iFrame content via scripting.&amp;nbsp; Of course!&amp;nbsp; It's a security measure.&amp;nbsp; The iFrame needs to come from the same domain/origin for us to be able to manipulate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway we can setup the embeddable dashboard to accept a filter variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 02:12:22 GMT</pubDate>
    <dc:creator>ddeveny</dc:creator>
    <dc:date>2016-07-25T02:12:22Z</dc:date>
    <item>
      <title>Parsing a variable to filter dashboard in web embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52515#M1632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a report that we have published to and embeddable web dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dashboard reports a series of scores for eachh of our clients business. &amp;nbsp;We have a filter box on the dashboard that allows us to select which client's results we want to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to be able to send our clients an url like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cuckoocreative.com.au/dashboard?i=brandname" target="_blank"&gt;www.cuckoocreative.com.au/dashboard?i=brandname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where brandname is the customers name and the dashboasrd then only shows the data for that client without having to create a dashboard for each client. &amp;nbsp;We are naticipating creating quite a few and want it o work on-the-fly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can&amp;nbsp;do everyhting else we ant to do in javascript but we just can't access and manipulate the iFrame content via scripting.&amp;nbsp; Of course!&amp;nbsp; It's a security measure.&amp;nbsp; The iFrame needs to come from the same domain/origin for us to be able to manipulate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway we can setup the embeddable dashboard to accept a filter variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 02:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52515#M1632</guid>
      <dc:creator>ddeveny</dc:creator>
      <dc:date>2016-07-25T02:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing a variable to filter dashboard in web embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52570#M1635</link>
      <description>&lt;P&gt;You should check out row level securty in the newest Version of PowerBi. This way you only need to create a correct token see this post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/what-s-new-and-what-s-next-for-power-bi-embedded-july-2016/" target="_self"&gt;https://powerbi.microsoft.com/en-us/blog/what-s-new-and-what-s-next-for-power-bi-embedded-july-2016/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 07:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52570#M1635</guid>
      <dc:creator>kobaldm</dc:creator>
      <dc:date>2016-07-25T07:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing a variable to filter dashboard in web embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52818#M1650</link>
      <description>&lt;P&gt;As noted, you could utilize RLS to facilitate this but it would take a bit more configuration (adding users to a table that mapped users to brand): &amp;nbsp;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you are likely looking for is passing a filter via URL. &amp;nbsp;In this case, brand would be in the filters pane, not a visible filter/slicer. &amp;nbsp;See this link and information here: &amp;nbsp;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-iframe/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-iframe/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Filter a report&lt;/H2&gt;&lt;P&gt;You can filter an embedded report using a URL syntax. To do this, you add a query string parameter to your iFrame src url with the filter specified. You can &lt;STRONG&gt;Filter by a value&lt;/STRONG&gt; and &lt;STRONG&gt;Hide the Filter Pane&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 01:17:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-a-variable-to-filter-dashboard-in-web-embedded-report/m-p/52818#M1650</guid>
      <dc:creator>PowerDAX</dc:creator>
      <dc:date>2016-07-26T01:17:54Z</dc:date>
    </item>
  </channel>
</rss>

