Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
zachmiller
Frequent Visitor

setFilters for Power BI embedded tiles

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:

	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 => {
			//tile.reload();
			console.log("Tile is on");
		});*/
	};

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.

 

Any assistance would be greatly appreciated.

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @zachmiller,

 

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 this idea.

 

Best Regards,

Dale

 

 

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @zachmiller,

 

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 this idea.

 

Best Regards,

Dale

 

 

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.