Перейти к содержимому

Microsoft Fabric: Incremental ETL for Warehouse using Data Pipeline, SQL Procedure

Learn Microsoft Fabric, Power BI, SQL Amit Chandak

0:00 / 0:00

Microsoft Fabric: Incremental ETL for Warehouse using Data Pipeline, SQL Procedure

7 421 просмотр · 3 г. назад
Learn Microsoft Fabric, Power BI, SQL Amit Chandak
96,8 тыс. подписчиков
7 421 просмотр · 3 г. назад
This video will discover the ways to run Incremental ETL(Data Load) using Data Pipeline and SQL Procedure in Warehouse. Warehouse Support read and write SQL to SQL procedure has been used. In this Video I have not used Data Flow Gen 2 00:00 Overview of Incremental ETL 03:00 Create Warehouse and Load Data 08:30 Create Data Pipeline for Incremental Data Load 19:30 Load Data Using SQL procedure and Pipeline 23:30 Load Data Incremental Data using pipeline again 27:30 Analyze Data in Power BI CREATE TABLE [dbo].[incr_info] ( [tablename1] [varchar](4000) NULL, [collectdate] [datetime2](6) NULL ) insert into [dbo].[incr_info] values('sales', '2018-01-01'); CREATE TABLE dbo.sales_stg ( order_no bigint, item_id bigint, sales_date datetime2(6), customer_id bigint, city_id bigint, qty float, price float, cogs float, discount_percent float ) ; CREATE TABLE dbo.sales ( order_no bigint, item_id bigint, sales_date datetime2(6), customer_id bigint, city_id bigint, qty float, price float, cogs float, discount_percent float ) ; CREATE PROCEDURE dbo.loadSales AS BEGIN insert into dbo.sales( order_no , item_id , sales_date , customer_id , city_id , qty , price , cogs , discount_percent ) select A.* from (select order_no , item_id , sales_date , customer_id , city_id , qty , price , cogs , discount_percent from dbo.sales_stg ) A left Join dbo.sales f on a.order_no = f.order_no where f.order_no is null ; update dbo.incr_info set collectdate = (select max(sales_date ) from dbo.sales_stg) where tablename1 = 'sales'; end GIT File link - https://github.com/amitchandakpbi/pow... All files: https://github.com/amitchandakpbi/ Power BI - Azure Free Tier, Create Azure Data Lake Gen 2 and connect that in Power BI:    • Power BI: Connect with Azure Data Lake Gen...   Get Azure SQL DB and Configure it on Power BI:    • Abstract Thesis 93: Power BI- Get Azure SQ...   Official Document: https://learn.microsoft.com/en-us/fab... Video from GuyinaCube:    • Microsoft Fabric Launch: Unified Data Plat...   Buy a Microsoft Fabric subscription: https://learn.microsoft.com/en-us/fab... SKU: https://learn.microsoft.com/en-us/fab... Licenses: https://learn.microsoft.com/en-us/fab... Enable Fabric: https://learn.microsoft.com/en-us/fab... 🔵 What is Microsoft Fabric Microsoft Fabric is an all-in-one analytics solution for enterprises that covers everything from data movement to data science, Real-Time Analytics, and business intelligence. It offers a comprehensive suite of services, including data lake, data engineering, and data integration, all in one place. With Fabric, you don't need to piece together different services from multiple vendors. Instead, you can enjoy a highly integrated, end-to-end, and easy-to-use product that is designed to simplify your analytics needs. How to enable Fabric, find details - https://learn.microsoft.com/en-us/fab... Microsoft Fabric licenses details -https://learn.microsoft.com/en-us/fab... Don't forget to like, comment, and subscribe for more great content! ▶️Please Subscribe:    / @amitchandak   ▶️Data: • Covid 19: https://covid19.who.int/WHO-COVID-19-... • Get The data and Pbix files on Github: https://github.com/amitchandakpbi/pow... • DropBox files: https://www.dropbox.com/sh/90ycq7hpmn... --------- ▶️Follow me on: • Medium:   / amitchandak   • Twitter:   / amitchandak78   • LinkedIn:   / amitchandak78   --------- ▶️My Other Videos: • Mastering Power BI:    • Power BI for Beginners 1: Loading Data, Cr...   • Expertise Power BI:    • Expertise Power BI- How to Change Connecti...   ~-~~-~~~-~~-~ Please watch: "Microsoft Power BI Tutorial For Beginners✨ | Power BI Full Course 2023 | Learn Power BI"    • Microsoft Power BI Tutorial For Beginners✨...   ~-~~-~~~-~~-~