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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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

Share with Power BI Enthusiasts: 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors