Dev-Test-Prod Lifecycle0%

Dev-Test-Prod Lifecycle

Beginner12 min read•Updated: Jul 11, 2026
Study MaterialsCheatsheet

The Dev-Test-Prod Lifecycle: Environment Isolation & Governance

A disciplined Dev-Test-Prod (Development, Testing, Production) lifecycle is the bedrock of corporate IT governance. This chapter details the formal procedural rules, parameter management, and user permissions required to execute a seamless promotion cycle.


1. Environment Role Segregation

Enterprise compliance standards (such as SOX, HIPAA, and ISO 27001) require strict separation of duties:

Lifecycle StageWorkspace Name ExampleAuthorized PersonasAccess PermissionsConnected Data Source
DevelopmentCommercial BI - DevBI Developers & Data EngineersAdmin, Member, Contributordev-dw.company.com (Dev Database / Test Data)
Test (UAT)Commercial BI - TestBusiness Analysts, QA, SME Key UsersContributor (QA team), Viewer (Business Testers)uat-dw.company.com (Staging Mirror of Prod)
ProductionCommercial BI - ProdBI Lead / Release Manager (Admin); End-Users (Viewers via App)Admin (Release Manager Only); Viewer (End Users)prod-dw.company.com (Live Production Data Warehouse)

2. Parameterizing Environments in Power Query

Hardcoding server and database names in Power Query is an enterprise anti-pattern. Instead, define Environment Parameters:

POWERQUERY
// Power Query Parameter: ServerName
ServerName = "dev-sql.company.com" meta [IsParameterQuery=true, Type="Text"]
 
// Power Query Parameter: DatabaseName
DatabaseName = "SalesEnterprise_Dev" meta [IsParameterQuery=true, Type="Text"]
 
// Connection Step:
Source = Sql.Database(ServerName, DatabaseName)

When promoting through the Deployment Pipeline, configure a Parameter Rule to automatically map:

  • In Dev: ServerName = "dev-sql.company.com"
  • In Test: ServerName = "uat-sql.company.com"
  • In Prod: ServerName = "prod-sql.company.com"

Interactive Quiz

Multiple Choice Questions

Question 1
Why is hardcoding production database server names directly into Power Query M steps considered an enterprise anti-pattern?
Question 2
What role should corporate business consumers be granted in the Production workspace?
Question 3
What does "User Acceptance Testing" (UAT) in the Test stage verify before promoting a dataset to Production?
Question 4
Who should hold "Admin" permissions in an enterprise Production Power BI workspace?
Question 5
What happens to report bookmarks and custom page layouts when an updated report is promoted from Test to Production in a deployment pipeline?

Next Lesson

Best Practices for Version Control

Continue learning with hands-on practice, examples, and exercises in the upcoming topic.

Practice Quiz

Test your understanding of this lesson with 5 questions. Each question has one correct answer.

PrevNext