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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Top Solution Authors