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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.