Microsoft Fabric brings data integration, data engineering, data warehousing, real-time analytics and Power BI together in one software as a service platform. For a beginner the hard part is not any single feature; it is knowing where to start and how the pieces connect. This Microsoft Fabric tutorial for beginners fixes that by walking you through one small, complete project, from a free trial to a working Power BI report.
You will create a workspace, build a lakehouse, load a CSV file, clean it with a PySpark notebook, query it with T-SQL and report on it. Each step explains what Fabric is doing behind the scenes, so you understand the platform rather than just clicking buttons. If you want a trainer to guide you through larger, job style projects, see our live Microsoft Fabric training.
Key takeaways
- Fabric is a SaaS analytics platform where every workload shares one data lake, OneLake.
- Tables in Fabric are stored in the open Delta Lake format, so Spark, T-SQL and Power BI read the same copy of the data.
- The free trial lasts 60 days and lets you use almost every workload, with some features such as Copilot excluded.
- A lakehouse gives you a Files area for raw data, a Tables area for Delta tables and a read-only SQL analytics endpoint.
- Semantic models built on a lakehouse use Direct Lake mode, so reports read Delta tables without a full data import.
What is Microsoft Fabric?
Microsoft Fabric is an end to end analytics platform delivered as SaaS. Instead of stitching together separate services for ingestion, storage, transformation and reporting, you work in one portal with role based workloads: Data Factory, Data Engineering, Data Science, Data Warehouse, Real-Time Intelligence, Databases and Power BI. All of them run over a shared compute and storage model.
The glue is OneLake, a single logical data lake that every Fabric tenant gets automatically. It is built on Azure Data Lake Storage and stores tables in open formats (Delta Parquet or Iceberg), which means your data is not locked into a proprietary format. You cannot create a second OneLake; you organize data inside it with domains and workspaces instead.
Core Fabric terms you need first
| Term | What it means in practice |
|---|---|
| Capacity | The pool of compute you pay for (or get on trial), measured in capacity units (CUs). Every workload draws from it. |
| Workspace | A container for items, with its own members and permissions. Think of it as a project folder. |
| Item | Anything you create: a lakehouse, notebook, warehouse, pipeline, semantic model or report. |
| Lakehouse | Storage for files and Delta tables, with Spark for transformation and a SQL analytics endpoint for queries. |
| Semantic model | The Power BI layer that defines tables, relationships and measures for reporting. |
| Direct Lake | A semantic model storage mode that loads Delta tables from OneLake into memory without a full import. |
Microsoft Fabric tutorial for beginners: what you need first
- An account in a Microsoft Entra tenant, which is usually your work or school Microsoft account. Fabric runs inside an Entra tenant.
- A Fabric capacity. If your organization has none, start the free trial from the Fabric portal. Microsoft describes it as a 60 day trial that runs as an F4 or F64 capacity and includes up to 1 TB of OneLake storage.
- Basic SQL. Some Python helps for the notebook step, but you can copy the code below as is.
Note that the trial does not include everything. Microsoft lists Copilot, some AI experiences and Private Link as unavailable on trial capacity, so do not plan your first project around them.
Step 1: Create a workspace
Sign in to the Fabric portal, select Workspaces in the navigation pane, then New workspace. Give it a unique name such as fabric-beginner-lab. Expand Advanced and, under the workspace type, choose your trial or paid Fabric capacity; without one you will not see Fabric items such as the lakehouse. Select Apply.
Tip: keep one workspace per project or environment (dev, test, prod). It keeps permissions simple and makes deployment pipelines easier later.
Step 2: Create a lakehouse
Inside the workspace, select New item, then Lakehouse. Name it retail_lakehouse. Lakehouse names must start with a letter and can only contain letters, numbers and underscores, so avoid spaces and dashes.
Leave the Lakehouse schemas checkbox selected; it is on by default and lets you group tables into schemas such as sales or marketing. Every schema-enabled lakehouse has a default dbo schema. When you select Create, Fabric also provisions a SQL analytics endpoint for the lakehouse automatically.
The lakehouse explorer shows two areas:
- Files for raw or semi-structured data such as CSV, JSON and Parquet.
- Tables for managed Delta tables that Spark, SQL and Power BI can all use.
Step 3: Upload sample data
Create a file called orders.csv on your computer with this small sample dataset for a fictional online bookshop. It deliberately contains one duplicate row so you can clean it in the next step.
order_id,order_date,region,category,quantity,unit_price
1001,2026-01-05,US East,Fiction,2,14.99
1002,2026-01-05,UK London,Technology,1,39.50
1003,2026-01-06,US West,Technology,3,42.00
1004,2026-01-06,UK North,Children,4,8.25
1005,2026-01-07,US East,Fiction,1,12.75
1005,2026-01-07,US East,Fiction,1,12.75
1006,2026-01-08,UK London,Business,2,24.00
1007,2026-01-08,US West,Children,5,7.99 In the lakehouse explorer, open the options menu (…) next to Files, choose the upload option and select orders.csv from your computer. The file now sits in OneLake under the Files area.
For a quick, no-code option you can open the file’s options menu and choose Load to tables with a new table as the target. This turns a CSV or Parquet file into a Delta table. Table names here must use lowercase letters, numbers and underscores only. The trade-off is that this path does not let you define column names and data types yourself; Microsoft recommends a notebook when you need that control, which is what we do next.
Step 4: Clean and transform data with a notebook
Create a notebook from the lakehouse ribbon (or with New item in the workspace) and check that retail_lakehouse is pinned as its default lakehouse in the left panel. Relative paths such as Files/orders.csv then resolve to that lakehouse. Paste the following PySpark into a cell and run it.
from pyspark.sql import functions as F
from pyspark.sql.types import (StructType, StructField, IntegerType,
StringType, DateType, DecimalType)
# Define the schema explicitly instead of guessing it
schema = StructType([
StructField("order_id", IntegerType()),
StructField("order_date", DateType()),
StructField("region", StringType()),
StructField("category", StringType()),
StructField("quantity", IntegerType()),
StructField("unit_price", DecimalType(10, 2)),
])
raw = (spark.read
.option("header", True)
.schema(schema)
.csv("Files/orders.csv"))
orders = (raw.dropDuplicates(["order_id"])
.withColumn("country", F.split("region", " ").getItem(0))
.withColumn("revenue", F.col("quantity") * F.col("unit_price")))
# Save as a managed Delta table in the default dbo schema
orders.write.mode("overwrite").format("delta").saveAsTable("dbo.orders")
display(orders) Here is what happened. Spark read the CSV with a fixed schema, removed the duplicate order, derived a country column from the region and calculated revenue. It then wrote the result as a Delta table, which appears under Tables in the lakehouse explorer. The raw file stays untouched in Files, which mirrors the bronze and silver layers of the medallion architecture.
Now build a small gold table for reporting:
daily = (spark.table("dbo.orders")
.groupBy("order_date", "country", "category")
.agg(F.sum("quantity").alias("units"),
F.sum("revenue").alias("revenue")))
daily.write.mode("overwrite").format("delta").saveAsTable("dbo.daily_sales") Use mode("append") instead of overwrite when you load new batches into an existing table.
Step 5: Query the lakehouse with T-SQL
Use the dropdown at the top right of the lakehouse to switch to the SQL analytics endpoint. Open a new SQL query and run:
SELECT country,
category,
SUM(revenue) AS total_revenue,
SUM(units) AS total_units
FROM dbo.daily_sales
GROUP BY country, category
ORDER BY total_revenue DESC; The SQL analytics endpoint is read-only over Delta tables. You can run SELECT statements and create views, functions and stored procedures, but you cannot insert, update or delete rows through it; data changes go through Spark in the lakehouse. If you need full read and write T-SQL, that is what a Fabric warehouse is for.
Step 6: Build a semantic model and a Power BI report
While you are in the SQL analytics endpoint, select New semantic model from the ribbon. Name it Bookshop Sales Model, select the orders and daily_sales tables and confirm. Because the model is built on lakehouse tables, it uses Direct Lake mode: Power BI loads the Delta data from OneLake into memory without copying it into a separate import model.
Open the semantic model, add a measure such as Total Revenue = SUM(daily_sales[revenue]), then create a new report. A bar chart of revenue by category and a slicer for country are enough to prove the whole pipeline works from raw file to dashboard.
If you see an error saying Fabric cannot access the source Delta table, Microsoft’s tutorial notes that tables in schema-enabled lakehouses sometimes need to be registered from a notebook first. Run the notebook again and refresh the endpoint before retrying.
Where to go next in Fabric
- Pipelines and Dataflow Gen2 (Data Factory) to ingest data on a schedule instead of uploading files by hand.
- Shortcuts to reference data in other lakehouses, Azure Data Lake Storage or Amazon S3 without copying it. A shortcut behaves like a symbolic link: delete it and the target data is unaffected.
- Warehouses for full T-SQL read and write workloads.
- Real-Time Intelligence with eventhouses and KQL for streaming data.
If you already know other platforms, the concepts transfer well. Delta tables and the medallion pattern will feel familiar if you have read our Databricks interview questions, and the SQL warehouse ideas line up with our Snowflake tutorial. For the analysis side, the data science tutorial explains the Python skills that pair well with Fabric notebooks.
Microsoft Fabric certifications
Two Microsoft certifications focus on Fabric: Fabric Analytics Engineer Associate (exam DP-600), which centers on semantic models, warehouses, lakehouses and querying with SQL, KQL and DAX, and Fabric Data Engineer Associate (exam DP-700), which covers ingestion, transformation, orchestration and monitoring with SQL, PySpark and KQL. Always check the current skills outline on Microsoft Learn before you book, because exam content is updated regularly.
Learn Microsoft Fabric with live, instructor-led training
Our live online Microsoft Fabric course covers OneLake, lakehouses, warehouses, Data Factory pipelines, notebooks, Real-Time Intelligence and Power BI. You build hands-on lab projects and get certification guidance for DP-600 and DP-700.
Frequently asked questions
Is Microsoft Fabric free to learn?
You can start with the free Fabric trial, which Microsoft offers for 60 days with access to almost every workload. After that you need a paid Fabric capacity, usually provided by your employer. Microsoft Learn also publishes free learning paths and end to end tutorials.
Is Microsoft Fabric hard to learn for beginners?
If you know SQL and basic Power BI, the first steps are manageable because everything lives in one portal. Spark notebooks, capacity management and real-time analytics take longer. Building one small project end to end, as in this tutorial, is the fastest way to get comfortable.
What is the difference between a lakehouse and a warehouse in Fabric?
Both store data as Delta tables in OneLake. A lakehouse is Spark first, handles files and tables, and exposes a read-only SQL analytics endpoint. A warehouse is SQL first and supports full T-SQL inserts, updates and deletes. Many teams use both in the same solution.
Does Microsoft Fabric replace Power BI?
No. Power BI is one of the workloads inside Fabric. Fabric adds the data engineering, data integration, warehousing and real-time layers underneath, so reports can sit on data prepared in the same platform. If you are preparing for an analyst role, review our Power BI interview questions.
Do I need Python to use Microsoft Fabric?
Not to begin. You can load data with Load to Tables, pipelines or Dataflow Gen2 and query it with SQL. Python and PySpark become important for data engineering roles and for the DP-700 exam. Explore our full list of IT training courses if you want to build those skills alongside Fabric.
Sources
- Microsoft Learn: What is Microsoft Fabric, What is OneLake, Microsoft Fabric terminology, Fabric licenses and capacity, and the Fabric trial.
- Microsoft Learn: Create workspaces, Create a lakehouse, Lakehouse schemas, Load to tables, Load data into the lakehouse with a notebook, and the SQL analytics endpoint.
- Microsoft Learn: OneLake shortcuts, Direct Lake overview, and the lakehouse end to end tutorial (overview and report sections).
- Microsoft Learn: Fabric Analytics Engineer Associate and Fabric Data Engineer Associate certification pages.