Forum Discussion
Semantic Model Refresh via Data Pipelines
- 9 months ago
Hi bdpr_95
When you assign deployment pipeline variables to control the workspace and semantic model connections, Power BI disables the “Select all” option under the table setting because the variable-based configuration replaces the static, pre-selected metadata binding. Essentially, variables introduce dynamic references that prevent Power BI from automatically resolving all table mappings at design time. Unfortunately, there’s currently no direct workaround to restore the “Select all” option when using variables. To manage this efficiently, you can either define the specific table mappings manually once per environment, or automate this process through the Power BI REST API or deployment pipeline API, which lets you script updates to dataset bindings and connections programmatically. While this adds a bit of setup, it ensures you can maintain a fully automated deployment process without having to adjust table mappings manually in each workspace.
v-tejrama thanks a lot for the detailed explanation! That sounds like a great approach. Could you please share an example of how the notebook code would look? For instance, I have reports A, B, and C that should be refreshed daily, and reports D, E, and F that are refreshed monthly. It would be super helpful to see how that logic could be implemented. Thanks again!