⚡0 XP🔥0

Azure for Data Analysts (Storage, Azure SQL, Data Factory, Synapse, Fabric)

Lesson 3 of 4 ⏱ 5 min read ❓ 5-question quiz

The Microsoft Azure analytics ecosystem - Blob Storage and ADLS Gen2, Azure SQL Database, Data Factory pipelines, Synapse Analytics, Microsoft Fabric (OneLake, Lakehouse, Warehouse) and the Power BI Service - with a hands-on Azure SQL + Power BI walkthrough.

Azure analytics services map#

Need Azure service Analyst's view
File storage / data lake Azure Blob Storage, ADLS Gen2 (hierarchical namespace) containers and folders of CSV/Parquet
Relational database Azure SQL Database, Azure Database for MySQL/PostgreSQL T-SQL queries, connect Power BI
Pipelines (ETL/ELT) Azure Data Factory copy data, schedule, orchestrate
Analytics / warehouse Azure Synapse Analytics dedicated & serverless SQL pools, Spark
Unified analytics SaaS Microsoft Fabric - OneLake, Lakehouse, Warehouse, Data Factory, Notebooks, Power BI one platform, one storage, one bill
Dashboards Power BI Service (part of Fabric) publish, share, refresh
Big data / ML Azure Databricks, Azure Machine Learning notebooks, models
Did you know?

Microsoft is positioning Microsoft Fabric as its main analytics platform, bringing Data Factory, Synapse-style engineering/warehousing and Power BI together on OneLake. Many companies still run Azure SQL, Data Factory and Synapse, so you'll meet both. Check Microsoft Learn for the latest service names and free trial options.

हिंदी में समझें

Microsoft Azure पर analyst के लिए मुख्य services:

  • Blob Storage / ADLS Gen2 = files रखने की जगह (data lake)
  • Azure SQL Database = cloud पर SQL Server - आपका सीखा हुआ SQL यहाँ (T-SQL रूप में) चलता है
  • Data Factory = data को एक जगह से दूसरी जगह ले जाने और साफ़ करने की pipelines
  • Synapse / Microsoft Fabric = बड़े पैमाने पर analytics और warehouse
  • Power BI Service = dashboards share करना

जो कंपनियाँ पहले से Microsoft 365 (Outlook, Teams, Excel) इस्तेमाल करती हैं, वे अक्सर Azure + Power BI चुनती हैं - एक ही login, सब कुछ जुड़ा हुआ।

Storage: Blob and ADLS Gen2#

  • Storage account → containers → folders/files.
  • ADLS Gen2 = Blob Storage with a hierarchical namespace (real folders, fine-grained permissions) - the standard for data lakes.
  • Paths look like abfss://<container>@<account>.dfs.core.windows.net/raw/sales/sales.csv.
  • Access with Entra ID (formerly Azure AD) roles like Storage Blob Data Reader - avoid sharing account keys.

Walkthrough - Azure SQL Database + Power BI#

Common Mistake

Use a learning subscription with a budget alert (Cost Management → Budgets). Choose the smallest/serverless tier with auto-pause for practice, and delete the resource group afterwards.

1. Create the database#

  1. Azure portal → Create a resource → Azure SQL Database.
  2. Resource group rg-vindhya-learning, database vindhyamart, new server (e.g. vindhya-<yourname>), region Central India.
  3. Authentication: Microsoft Entra and/or SQL login; compute: a small serverless tier with auto-pause.
  4. Networking: allow your client IP in the server firewall.

2. Load the shop data#

Use the Query editor in the portal (or Azure Data Studio / SSMS). The shop.sql script you used in the SQL module is SQLite-flavoured; for SQL Server, create tables with T-SQL types:

CREATE TABLE customers (
    customer_id INT PRIMARY KEY,
    name        NVARCHAR(100),
    city        NVARCHAR(50),
    state       NVARCHAR(50),
    segment     NVARCHAR(30),
    signup_date DATE
);
-- repeat for products, orders, order_items

Then import the CSVs from shop_csv.zip with Azure Data Studio → Import wizard (SQL Server extension), or with Azure Data Factory → Copy data from a storage container.

3. Query with T-SQL#

T-SQL (SQL Server's dialect) differences from what you learned:

Task SQLite T-SQL
Top N LIMIT 5 SELECT TOP 5 ... (or OFFSET 0 ROWS FETCH NEXT 5 ROWS ONLY)
Year strftime('%Y', d) YEAR(d)
Year-month strftime('%Y-%m', d) FORMAT(d, 'yyyy-MM')
Days between julianday(b) - julianday(a) DATEDIFF(day, a, b)
Join text a || b a + b or CONCAT(a, b)
NULL replace IFNULL / COALESCE ISNULL / COALESCE
SELECT TOP 5 c.city,
       ROUND(SUM(oi.quantity * p.price * (1 - oi.discount)), 2) AS revenue
FROM orders o
JOIN customers c    ON c.customer_id = o.customer_id
JOIN order_items oi ON oi.order_id = o.order_id
JOIN products p     ON p.product_id = oi.product_id
WHERE o.status = 'Delivered'
GROUP BY c.city
ORDER BY revenue DESC;
Check

The top 3 cities should match your SQL module answer: Nagpur, Bhubaneswar, Lucknow (≈ ₹2.32 L, ₹2.17 L, ₹2.14 L).

4. Connect Power BI#

Power BI Desktop → Get data → Azure → Azure SQL Database → server vindhya-<yourname>.database.windows.net, database vindhyamart → Import (or DirectQuery) → sign in → select tables → build the star schema from the Data Modelling lesson. Publish - scheduled refresh works from the cloud without a gateway.

5. Clean up#

Delete the resource group rg-vindhya-learning (deletes the server and database).

Azure Data Factory - pipelines in one minute#

  • Linked services = connections (Blob, SQL, SharePoint, Salesforce...).
  • Datasets = what to read/write.
  • Pipelines with activities (Copy data, Data flow, Stored procedure, Notebook).
  • Triggers = schedules (e.g. every day at 6 am) - your Power BI refresh can run after it.

Microsoft Fabric in one minute#

  • OneLake: one lake for the whole organisation; every workspace stores data there in Delta/Parquet.
  • Lakehouse: files + tables with a SQL analytics endpoint; load CSVs by drag-and-drop or Dataflows Gen2 (Power Query online!).
  • Warehouse: full T-SQL warehouse.
  • Notebooks: Python/Spark (pandas skills apply).
  • Power BI Direct Lake mode reads Delta tables in OneLake directly - fast without import/refresh.

Your Power Query skills transfer to Dataflows Gen2, your SQL to the Warehouse/SQL endpoint, and your pandas to Fabric notebooks.

Summary#

  • Azure analytics: ADLS/Blob for lakes, Azure SQL for relational data, Data Factory for pipelines, Synapse and Fabric for analytics at scale, Power BI Service for sharing.
  • T-SQL is very close to the SQL you know (TOP, YEAR, DATEDIFF, FORMAT).
  • Power BI connects natively to Azure SQL and Fabric; cloud sources refresh without a gateway.
  • Use Entra ID roles, budget alerts and resource-group clean-up.

Quick Quiz

Q1.

Which Azure service is a managed relational database (SQL Server engine)?

Q2.

Azure Data Factory is mainly used to...

Q3.

What is OneLake in Microsoft Fabric?

Q4.

Why do many Indian companies using Microsoft 365 choose Azure for analytics?

Q5.

How do you connect Power BI Desktop to an Azure SQL Database?