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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
UPF1KOR
Frequent Visitor

Dynamic changing URL Link in Power BI

Hi All,
I am using Deployment Pipelines for deploying in Dev, Test and Production.
 
I have a requirement where user needs a button which has a URL. Trick here is, there are 3 URL's for each environment i.e. Dev, Test and Production.
I need to embed the url in such a way that, the dashboard in Dev should direct to Dev URL; and dashboard in Test should direct to Test and so
 
Option 1: Dirty way:
I have a table with only one row. The table in D contains url of D; Table in Q contains url of Q and so on.
Problem is: Its bad for deployment.
 
 
So, what can be best way to do this?
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@UPF1KOR , For that you can create a parameter with a list and use that in connection

 

refer video from Guyinacube: https://www.youtube.com/watch?v=XIq5vN5oPf8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
andy808
Helper III
Helper III

Hi there, did you ever solve this? I have the same requirement.

Thanks!

Hi @andy808 ,

As suggested by @amitchandak , I was able to solve this.

 

What I did was:

1. Created a simple table with 2 columns and 3 rows. First column mentions environment like Development, Testing, Production and the 3 rows contains the URL's.

2. Created a parameter and defaulted it to Development.

3. Filter the table (created in step 1) by parameter.

4. Deploy on Power BI Service/ Cloud.

5. Go to Setting-> Parameter.

6. You would find Development there. Modify that to Testing and SAVE.

7. Done, URL will change as per parameter selected.

@UPF1KOR thank you for the details. Could you elaborate more about how to set up in step 5 and step 6? Should I set the paratemer rules in semantic model in test and pro ? 
Ticky here is I have 3 paginated report URL in dev, test and pro , while I also have selected column added in that pagainated report url 

@andy808 may I know how u set up? 

Great, thank you so much for responding - that detail is helpful!

amitchandak
Super User
Super User

@UPF1KOR , For that you can create a parameter with a list and use that in connection

 

refer video from Guyinacube: https://www.youtube.com/watch?v=XIq5vN5oPf8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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