This video will discover the ways to run Incremental ETL(Data Load) using Dataflow Gen2, SQL Procedure, and Data Pipeline in Warehouse. Warehouse Support read and write SQL to SQL procedure has been used.
00:00 Overview of Incremental ETL
10:00 Create Warehouse and Load Data
26:00 What is the issue how to fix it
33:00 Load Data Using SQL procedure
36:30 Create Pipeline
30:00 Load Incremental Data
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 Lak...
Get Azure SQL DB and Configure it on Power BI: • Abstract Thesis 93: Power BI- Get Azu...
Official Document: https://learn.microsoft.com/en-us/fab...
Video from GuyinaCube: • Microsoft Fabric Launch Digital Event...
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 Dat...
• Expertise Power BI: • Expertise Power BI- How to Change Con...
~-~~-~~~-~~-~
Please watch: "Microsoft Power BI Tutorial For Beginners✨ | Power BI Full Course 2023 | Learn Power BI"
• Microsoft Power BI Tutorial For Begin...
~-~~-~~~-~~-~
Информация по комментариям в разработке