cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alsk1 Frequent Visitor
Frequent Visitor

Can I make a link script in a Power BI report?

 


Hello.

 

There is the following report in Power BI: https://goo.gl/F1k7fe
It is necessary that the links vary depending on the filters put forward https://goo.gl/t9ytGj
(so that you can see / check the data in the source database, where the information comes from).

 

In connection with this task, the questions:

 

1. Is it possible to make the script inside the Power BI report change the links depending on the filters being exposed?

 

2. Is it possible to make two tabs open at once when clicking on some links (since the information is taken from 2 databases at once)?

 

3 REPLIES 3
Moderator v-caliao-msft
Moderator

Re: Can I make a link script in a Power BI report?

@alsk1,

 

1. Is it possible to make the script inside the Power BI report change the links depending on the filters being exposed?
I don’t think it is possible to dynamically alter the link based on the filters being exposed using script. However, you could try with establishing a new table for parameter values and links. By doing this, you are “forcing” the corresponding relationship between the parameters and links. For example,
Capture1.PNG
2. Is it possible to make two tabs open at once when clicking on some links (since the information is taken from 2 databases at once)?

One link can only leads you to one tab.

 

Regards,

Charlie Liao

alsk1 Frequent Visitor
Frequent Visitor

Re: Can I make a link script in a Power BI report?

1. Is it a change of text with a superimposed link when changing a filter? How to do this in Power BI?

alsk1 Frequent Visitor
Frequent Visitor

Re: Can I make a link script in a Power BI report?

I found out how our programmer made opening several tabs by clicking on the 1 link. He said he did through the JavaScript method: window.open Can I put JavaScript into the Power BI file?

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors