Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
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?
Solved! Go to Solution.
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.
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
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
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!