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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
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.