Forum Discussion

Newcolator's avatar
Newcolator
Icon for Helper II rankHelper II
1 year ago
Solved

Power BI service parameter to use in query

Hello   We have Power BI reports sourcing data from Snowflake. We have two Snowflake environments, PROD and TEST, and we also have a PROD and TEST workspace in the Power BI service. Is it possible ...
  • Akash_Varuna's avatar
    1 year ago

    Hi Newcolator Yes, you can automate this by creating a parameter in Power BI Desktop for the Snowflake environment and using it in your query. After publishing, set the parameter value in the dataset settings of each workspace (PROD or TEST). Use deployment pipelines to switch parameter values automatically when moving reports between workspaces.