{"id":950,"date":"2020-12-04T19:43:34","date_gmt":"2020-12-04T19:43:34","guid":{"rendered":"http:\/\/jackofalltradesmasterofsome.com\/blog\/?p=950"},"modified":"2023-02-28T14:53:08","modified_gmt":"2023-02-28T14:53:08","slug":"setting-up-power-bi-deployment-pipelines-and-parameters","status":"publish","type":"post","link":"https:\/\/jackofalltradesmasterofsome.com\/blog\/2020\/12\/04\/setting-up-power-bi-deployment-pipelines-and-parameters\/","title":{"rendered":"Setting up Power BI Deployment Pipelines and Parameters"},"content":{"rendered":"\n<p>The SDLC process is a core part of having a well governed Power BI environment. Let&#8217;s take a look at Setting up Power BI Deployment Pipelines and Parameters <\/p>\n\n\n\n<p><em>Side Note: Want to learn <a href=\"https:\/\/subscribepage.io\/8daystosqlcourse\">SQL <\/a>or <a href=\"https:\/\/subscribepage.io\/Py2Y8D\">Python <\/a>for free. In less then 10 minutes a day and less than an hour total? Signup for my free classes delivered daily right to your email inbox for free!  <\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/subscribepage.io\/8daystosqlcourse\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"280\" src=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png\" alt=\"\" class=\"wp-image-1305\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png 558w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-1-300x151.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/subscribepage.io\/Py2Y8D\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"281\" src=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-2.png\" alt=\"\" class=\"wp-image-1306\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-2.png 572w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2023\/02\/image-2-300x147.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/a><\/figure>\n\n\n\n<p>Now back to the article&#8230;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Navigate to app.powerbi.com and select the \u201cDeployment Pipelines\u201d in the menu<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"157\" height=\"294\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image.png\" alt=\"\" class=\"wp-image-952\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Select \u201cCreate a pipeline\u201d<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"459\" height=\"269\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-1.png\" alt=\"\" class=\"wp-image-953\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-1.png 459w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-1-300x176.png 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Give the pipeline a name. For best practices, it is suggested you use the name of the Workspace you will be creating the Pipeline for.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"242\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-2.png\" alt=\"\" class=\"wp-image-954\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-2.png 432w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-2-300x168.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>With the workspace created the first thing to do is Assign the pipeline to a workspace. Pipelines can only be assigned a single workspace and workspaces only tied to one pipeline. If you create another pipeline, that workspace will not be selectable.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"225\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-3.png\" alt=\"\" class=\"wp-image-955\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-3.png 486w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-3-300x139.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the workspace you will be creating a pipeline for. You will also be asked to select what stage of the pipleline this represents. This is usually set to development as you will want to deploy to Test and Production as part of your SDLC (Software Development Life Cycle)<ul><li>Completing this step will create 2 new workspaces in your Power BI environment as you deploy called Workspace_Name [Test] and Workspace_Name [Production]<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"342\" height=\"243\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-4.png\" alt=\"\" class=\"wp-image-956\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-4.png 342w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-4-300x213.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>In the Pipleine window, under the development section you can expand the window to see all the elements in that workspace. By selecting the items at the bottom, you can pick which items you wish to move to Test. <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"236\" height=\"323\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-5.png\" alt=\"\" class=\"wp-image-957\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-5.png 236w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-5-219x300.png 219w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The \u201cSelect Related\u201d button will also work to pick out all related items incase you are missing an dependent item that needs to be deployed. <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"350\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-6.png\" alt=\"\" class=\"wp-image-958\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-6.png 256w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-6-219x300.png 219w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Once you deploy to test, and deploy to production, the Pipline will create the new work spaces and move the items across. <ul><li>The Indiciator on the arrows that connect the pipelines will show if the there is a discrepancy between the environment.<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"108\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-7.png\" alt=\"\" class=\"wp-image-959\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-7.png 624w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-7-300x52.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>It is best practice to rename the development workspace so that the naming convention is easy to follow. <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"163\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-8.png\" alt=\"\" class=\"wp-image-960\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-8.png 331w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-8-300x148.png 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li>You can change the dataset rules for each environment and set parameters by clicking on the Lightning bolt. This is handy for setting up test and production data sources for each environment.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"105\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-9.png\" alt=\"\" class=\"wp-image-961\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-9.png 491w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-9-300x64.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"484\" height=\"289\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-10.png\" alt=\"\" class=\"wp-image-962\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-10.png 484w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-10-300x179.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li>To Parameterize your Power BI Data source Connections, open a Power BI report and go to Transform Data and the \u201cView\u201d tab.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"137\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-13.png\" alt=\"\" class=\"wp-image-965\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-13.png 624w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-13-300x66.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li>Under parameters, set the checkbox to \u201cAlways Allow\u201d. This will enable you to use parameters in your data source connections.<\/li><li>You can now setup two parameters for the server name and the database name<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"281\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-14.png\" alt=\"\" class=\"wp-image-966\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-14.png 372w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-14-300x227.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li>Edit your source to now use those parameters in the Power BI report so they can be modified in the Pipeline deployments.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"182\" src=\"http:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-15.png\" alt=\"\" class=\"wp-image-967\" srcset=\"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-15.png 624w, https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-content\/uploads\/2020\/12\/image-15-300x88.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>Setting up Power BI Deployment Pipelines and Parameters <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SDLC process is a core part of having a well governed Power BI environment. Let&#8217;s take a look at Setting up Power BI Deployment Pipelines and Parameters Side Note: Want to learn SQL or Python for free. In less then 10 minutes a day and less than an hour total? Signup for my free [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":969,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[101],"class_list":["post-950","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-power-bi","tag-power-bi"],"_links":{"self":[{"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/posts\/950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/comments?post=950"}],"version-history":[{"count":2,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/posts\/950\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/posts\/950\/revisions\/1316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/media\/969"}],"wp:attachment":[{"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/media?parent=950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/categories?post=950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jackofalltradesmasterofsome.com\/blog\/wp-json\/wp\/v2\/tags?post=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}