<?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: setFilters for Power BI embedded tiles in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/setFilters-for-Power-BI-embedded-tiles/m-p/485787#M14905</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/72027"&gt;@zachmiller&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are sure you embedded a tile which is from a Dashboard, I'm afraid we can't set filters on it for now. We even can't do it in Power BI Service. I would suggest you vote up &lt;A href="https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/6674820-global-filter-in-dashboards" target="_self"&gt;this idea&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 00:56:18 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-08-10T00:56:18Z</dc:date>
    <item>
      <title>setFilters for Power BI embedded tiles</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/setFilters-for-Power-BI-embedded-tiles/m-p/484201#M14861</link>
      <description>&lt;P&gt;So I've been tinkering around with a project recently, involving using embedded tiles from a dashboard, and I have been searching, pretty unsuccessfully, for a way to filter multiple different tiles all at once (since the tiles are all a part of the same dashboard), since at the moment they all seemingly work independently. As it stands, I'm currently trying to do it like so:&lt;/P&gt;&lt;PRE&gt;	function updateIframe(){
		var tile = powerbi.get(document.getElementById("tileContainer"));
		console.log("Update iFrame was triggered");
		console.log(tile);
		const filter = {
			$schema: "http://powerbi.com/product.schema#basic",
			target: {
				table: "tablename",
				column: "datatype"
			},
				operator: "In",
				value: ["redacted"]
		};
		console.log(filter);
		tile.setFilters([filter])
			.then(function (result) {
				console.log(result);
			})
			.catch(function (errors) {
				console.log(errors)
			});
		/*
		tile.on('tileClicked',event =&amp;gt; {
			//tile.reload();
			console.log("Tile is on");
		});*/
	};&lt;/PRE&gt;&lt;P&gt;With the tileContainer containing an individual tile that was set up as an iFrame correctly. Is using "setFilters()" the correct way to go about being able to update them, or is there a different way that can be used to update multiple elements based on a selection in one of them. As is, the "setFilters()" command seemingly doesn't work with tiles, or if it does, I am doing it incorrectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:23:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/setFilters-for-Power-BI-embedded-tiles/m-p/484201#M14861</guid>
      <dc:creator>zachmiller</dc:creator>
      <dc:date>2018-08-08T16:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: setFilters for Power BI embedded tiles</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/setFilters-for-Power-BI-embedded-tiles/m-p/485787#M14905</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/72027"&gt;@zachmiller&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are sure you embedded a tile which is from a Dashboard, I'm afraid we can't set filters on it for now. We even can't do it in Power BI Service. I would suggest you vote up &lt;A href="https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/6674820-global-filter-in-dashboards" target="_self"&gt;this idea&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 00:56:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/setFilters-for-Power-BI-embedded-tiles/m-p/485787#M14905</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-10T00:56:18Z</dc:date>
    </item>
  </channel>
</rss>

