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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

call java script function from power bi

Hi,

 

In the table visual, I have to give hyperlink on a column's values. So when user click on the values it should open a .net based portal for each value.

Product NameImage
AXXXX
BYYYY
CZZZZ

 

As per the above example, when user click on the values of Image column it should cal a java script function and open the individual image in a .net based portal.

 

Please suggest how to achieve this in Power BI.

 

Thanks

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

No, Power BI is not support Javascript. However, I recommend you some other methods.

1 Use HTML Content visual.

This will let you show the image by HTML language. For more details you can refer this website.

Getting the Visual | HTML Content - Custom Visual for Power BI (html-content.com)

2 If just open a web site by default browser. let the type of this column is Web URL or Image URL.

vchenwuzmsft_0-1647224170510.png

Refer this video.

Using IMAGES in Power BI - YouTube

3 Maybe you can try python script to do that.

Run Python Scripts in Power BI Desktop - Power BI | Microsoft Docs

 

Or you can submit your idea to Power BI Ideas website.

 

Best Regards

Community Support Team _ chenwu zhu

 

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-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

No, Power BI is not support Javascript. However, I recommend you some other methods.

1 Use HTML Content visual.

This will let you show the image by HTML language. For more details you can refer this website.

Getting the Visual | HTML Content - Custom Visual for Power BI (html-content.com)

2 If just open a web site by default browser. let the type of this column is Web URL or Image URL.

vchenwuzmsft_0-1647224170510.png

Refer this video.

Using IMAGES in Power BI - YouTube

3 Maybe you can try python script to do that.

Run Python Scripts in Power BI Desktop - Power BI | Microsoft Docs

 

Or you can submit your idea to Power BI Ideas website.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.