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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
veckebombers
New Member

Power BI UDF Button Action Keeps Old Workspace Reference After Deployment

I'm working with Power BI and using a button in a report to trigger a User Defined Function (UDF). When I configure the button's action, I select the workspace where the UDF is located. This works fine in the development environment.

 

veckebombers_0-1761900653096.png

 


However, when I deploy the report to another workspace (e.g., Test or Prod), the button still references the original workspace and doesn't update automatically to the new one. This causes the UDF not to trigger correctly in the target environment.
I'm using PBIP format in Azure DevOps and Power BI Deployment pipelines for deployment. Is there a recommended way to dynamically update the workspace reference for the UDF action during deployment? Or is there a workaround to avoid manually reconfiguring the button each time?

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

HI @veckebombers 

Have you tried referencing this PBIP to a new workspace while using deployment pipelines to deploy content to new workspace?

Basically a deployment rule to refrence another workspace.

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

3 REPLIES 3
v-prasare
Community Support
Community Support

Hi @veckebombers ,

We would like to confirm if our super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

v-prasare
Community Support
Community Support

Hi @veckebombers ,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.


@Pragati11  ,Thanks for your prompt response

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

Pragati11
Super User
Super User

HI @veckebombers 

Have you tried referencing this PBIP to a new workspace while using deployment pipelines to deploy content to new workspace?

Basically a deployment rule to refrence another workspace.

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.