Skip to main content
Microsoft Idea

Power BI

New

JavaScript execution on Action URL table column value

Vote (19) Share
Mohit Chauhan's profile image

Mohit Chauhan on 10 Jun 2022 04:39:43

I'm using the embed report and have a table visualisation that contains a column with an action URL. Clicking on the column value redirects me to the new browser tab, but the requirement is to open the URL in the same browser tab.


I tried the inline JS with window.parent.document.location.href url approach with a custom column, but had no luck as it is considered a value as a string.


I know that JavaScript syntax can be run inside Power Query for data extraction and wrangling, but it looks like it is not working with the linked column. So please suggest if there is a way to execute the JS function on the click of an action url column value.


Comments (1)
Mohit Chauhan's profile image Profile Picture

Mohit Chauhan on 14 Jun 2022 19:30:17

RE: JavaScript execution on Action URL table column value

Found a similar issue raised long back but no resolution so far.https://ideas.powerbi.com/ideas/idea/?ideaid=e2ff94db-7aa5-46e2-900a-55c261ab8fdb