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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Change the language dynamically in power bi client javascript

I'm trying to find a way to change the language of my pbi report Dynamically.

Apparently, report.updateSettings is not working for localeSettings.

So I tried to reinstantiate a new report in the place of the current one, I did what's suggested in the docs; meaning to remove all the object dependancies towards the dom using:  this.powerbi.reset(embedContainer);

 but I get the following error in the console:  

 

core.js?09c9:1671 ERROR Error: target window is not provided. You must either provide the target window explicitly as argument to request, or specify default target window when constructing instance of this class.
at HttpPostMessage.send (powerbi.js?7599:5593)
at HttpPostMessage.post (powerbi.js?7599:5551)
at Report.Embed.frontLoadSendConfig (powerbi.js?7599:877)
at HTMLDivElement.eval (powerbi.js?7599:845)
at ZoneDelegate.invokeTask (zone.js?d135:421)
at Object.onInvokeTask (core.js?09c9:3816)
at ZoneDelegate.invokeTask (zone.js?d135:420)
at Zone.runTask (zone.js?d135:188)
at ZoneTask.invokeTask [as invoke] (zone.js?d135:496)
at invokeTask (zone.js?d135:1540)

 

 

any help please ?!

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.