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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors