Project Details: The Azure Analysis model is developed using on-prem sql server tables. for ETL, ADF has been used to extract tables and data from the on-prem sql server and load them into ADLS Gen2. From storage containers, ADF pipeline is used to load the data into Azure SQL DB. Azure Analysis model is created by using Azure SQL DB tables as source and the model is processed. Once model processing was completed, the model was connected via Excel, PowerBI, and Visual Studio for further analysis and reporting purposes
Details steps are included below for processing the data from on-prem until the reporting end
Tables List:
- SalesOrderDetail
- SalesOrderHeader
- ProductModelProductDescription
- ProductModel
- ProductDescription
- ProductCategory
- Product
- CustomerAddress
- Customer
- Address
Step:1 Using Self-Hosted IR, connect to the On-prem SQL Server and extract the below tables to ADLS
ADF Pipeline GIT Repo: https://github.com/vinaykm5758/On_Prem_SQL_Server_Azure_Analysis_Model/tree/Azure_Data_Factory_Pipeline Pipeline name: PL_On_Prem_to_ADLS_Gen2
Step:2 Once Data has landed in storage, create a new pipeline to load the data from ADLS Gen2 to Azure SQL DB
ADF Pipeline GIT Repo: https://github.com/vinaykm5758/On_Prem_SQL_Server_Azure_Analysis_Model/tree/Azure_Data_Factory_Pipeline Pipeline name: ADLS_Gen2_To_Azure_SQL_DB
Azure SQL DB tables DDL: https://github.com/vinaykm5758/On_Prem_SQL_Server_Azure_Analysis_Model/blob/main/azure_tables.sql
Data Validations: Data has been validated from On-prem SQL Tables Vs Azure SQL Tables and record counts matched
On_Prem Counts:
Azure SQL Tables Counts:
Step: 3 Once tables are loaded, spin up Azure analysis services, using Visual Studio, connect to Azure SQL DB as data source, and extract all the required tables
Once, table extractions are completed and the corresponding ER has been established for all tables, process the model by clicking Process all
Step:4 Go to the Analysis model, check for your model, and then click on open on Excel
Excel sheet connection to Analysis Model: https://github.com/vinaykm5758/On_Prem_SQL_Server_Azure_Analysis_Model/blob/main/Azure_Tabular_Model_Analysis_Report.xlsx
Step:5 Connecting the Analysis Model using PowerBI Desktop
Step:6: Sample PowerBI Report: https://github.com/vinaykm5758/On_Prem_SQL_Server_Azure_Analysis_Model/blob/main/Sales_Analysis_Report.pbix