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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
MaryamBaghi
Frequent Visitor

wrie JS code

Hello

How can run JS code in power bi?

Can it be run in custom visuals? or just with API ?

4 REPLIES 4
MaryamBaghi
Frequent Visitor

Is it possible to run in custom visual D3.js js code?

Yes. All visuals (not just the custom ones) run on a version of D3js.

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

I don't have an azure account to use JavaScript API. I don't know where to enter and run the js code.

Do you have any idea ?!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors