Microsoft Fabric Data Engineering

Your business may have large amounts of valuable information spread across databases, applications, spreadsheets, and other systems. Bringing this information together, checking its quality, and preparing it for analysis can be a considerable challenge.

Microsoft Fabric provides a cloud-based platform for tackling these problems. Its data engineering capabilities can help you:

  • Bring data together from different business systems, databases, files, and external sources.
  • Process large volumes of data, including information that would be difficult or expensive to handle using conventional systems.
  • Improve data quality by identifying errors, resolving inconsistencies, and preparing reliable information for analysis.
  • Automate data processing, reducing manual work and keeping information up to date.

Anatec Systems can help you assess whether Microsoft Fabric is appropriate for your requirements, and design and implement a solution to address specific business problems.

Data engineer with computer, deep in thought.

What is Fabric and what can it do?

Microsoft Fabric is an enterprise-scale, cloud-based platform for big data analytics.

  • Enterprise-scale: Fabric is a large, sophisticated system with a wide range of capabilities. It can support complex data analytics across an entire organisation, with different teams working together. However, it can also be used for smaller, simpler projects without needing all of its capabilities.
  • Cloud-based: Fabric runs in Microsoft's cloud, so you don't need to buy or manage your own servers. This is particularly valuable when processing huge amounts of data, which might otherwise require a cluster of powerful computers. Microsoft manages much of the underlying infrastructure, and you can adjust the computing capacity you pay for as your needs change.
  • Big Data: Fabric is designed to handle enormous amounts of information, potentially billions of records or many terabytes of data. Data at this scale is often generated automatically by business systems, websites, machines and sensors, rather than being entered by people. Fabric can process data in batches and/or handle streams of data arriving continuously in real time.
  • Analytics: Fabric is designed for analysing and reporting business information, rather than running day-to-day operational systems such as order processing or stock control. It can bring together information from many different sources, helping businesses understand what is happening, identify trends, and make better decisions. Fabric also integrates closely with Microsoft Power BI to produce interactive reports and dashboards.

What is Data Engineering in Fabric?

Data Engineering is the process of collecting, storing, and processing data so that it can be used for analysis and reporting.

In Microsoft Fabric, it covers:

  • Data ingestion: Bringing information into Fabric from databases, business applications, files, and other sources. This can happen in regular batches or continuously in real time.
  • Data storage: Storing large volumes of information in a structured, reliable and economical way, so that it can be accessed and processed efficiently.
  • Data processing and transformation: Cleaning data, correcting errors, combining information from different sources, and converting it into a consistent format.
  • Data delivery: Making the prepared information available to other systems, applications and analytical tools, including Power BI.

Data Engineering works closely with Analytics Engineering, but the two have different roles. Data Engineering concentrates on collecting, storing and preparing data, while Analytics Engineering concentrates on organising that prepared data into meaningful business models, calculations, and measures for reporting and analysis.

We cover Microsoft Fabric Analytics Engineering in a separate article.

How does Fabric store data?

Fabric uses three main storage mechanisms: Lakehouse, SQL Warehouse, and KQL Database. These are brought under one umbrella called OneLake.

Lakehouse

In the decade from 2010, Data Lakes (not to be confused with Lakehouses) were popular for storing large amounts of information. They were flexible and relatively inexpensive. But they could be difficult to keep organised and were sometimes unkindly described as “Data Swamps”.

Databricks developed Delta Tables to overcome some of these problems. “Delta” means change or difference and these tables track changes to the data. The technology was made open source in 2019.

Lakehouses started to become popular in around 2020, as an improvement for Data Lakes. They have two main storage areas:

  • Files: For storing raw data, CSV files, JSON files, images and other types of information.
  • Tables: For storing structured information in rows and columns. These are Delta tables, which provide features such as reliable updates, data integrity and version history.

Starting in 2023, Microsoft Fabric brought Lakehouses, Data Warehouses and other analytical technologies together within a unified cloud platform.

Lakehouses are good for use with Apache Spark, which can process enormous volumes of data efficiently. We’ll return to Spark in the processing section below.

SQL Warehouse

Microsoft Fabric SQL Warehouse has its roots in Azure SQL Data Warehouse, which subsequently became the Dedicated SQL Pool in Azure Synapse Analytics. It is designed to store and analyse very large amounts of structured information, using the familiar SQL database language.

SQL Warehouse is particularly useful for people who already know SQL. They can create tables, write queries, combine information and carry out data transformations using many of the same techniques they would use with SQL Server or Azure SQL Database. Lakehouses are generally better suited to working directly with Apache Spark, although Fabric also provides ways for Spark to access Warehouse data.

Underneath, SQL Warehouse stores its information in Delta tables, just like the tables in a Lakehouse. It also integrates closely with Power BI. A semantic model can be created directly from a Warehouse, providing the foundation for interactive reports and dashboards.

Although SQL Warehouse uses familiar SQL technology, it behaves differently from a conventional SQL Server or Azure SQL Database. For example, it supports primary and foreign key definitions but does not enforce them. Some SQL features are also unavailable or work differently. These differences need to be considered when designing a reliable data warehouse.

KQL Database

KQL Databases store and analyse real-time streaming data. Examples include data from industrial machinery, sensors, activity logs, social media, etc.

KQL Databases can handle enormous volumes of time-sequenced information, potentially billions of records. They can search and analyse this information very efficiently, making it possible to identify trends, investigate problems, and detect unusual activity.

They use a specialised language called Kusto Query Language (KQL), rather than SQL. Hence the name “KQL Database”.

In Microsoft Fabric, KQL Databases work with its Real-Time Intelligence capabilities, allowing businesses to monitor events and respond quickly when something important happens.

OneLake

OneLake brings the different data storage mechanisms in Microsoft Fabric together under one umbrella. It provides a common way to organise, access and share information across different teams and analytical tools.

OneLake can also provide access to data stored elsewhere, including other cloud storage services. It uses Shortcuts, which allow information to be accessed without making another copy. This can reduce storage costs and avoid the problems caused by maintaining multiple copies of the same information.

However, OneLake introduces some complications. Although it presents a unified view of the data, the information may be stored in different locations, managed by different systems, and subject to different security arrangements. Shortcuts also create dependencies on the systems they connect to, which can affect reliability, performance, and costs.

These issues need careful consideration when designing a Fabric solution.

What are the options for processing data in Fabric?

Microsoft Fabric provides a range of technologies for processing data.

These fall into two broad categories: Batch Processing and Streaming Processing.

Batch Processing

Microsoft Fabric provides several technologies for processing and transforming data in batches:

  • Dataflow Gen2 – Uses Power Query to clean, transform, and combine data with minimal programming.
  • Data Pipelines – Coordinate and schedule data processing activities.
  • Apache Spark – Processes large volumes of data using distributed computing.
  • Notebooks – Allow developers to write Python, PySpark, and SQL code to process data.
  • SQL – Transforms and organises structured data using Fabric Warehouses.
  • Stored Procedures – Execute reusable SQL processing routines within a Fabric Warehouse.

These technologies can be combined to build automated data processing solutions.

A common approach is the Medallion Architecture, which organises data into three layers: Bronze (raw data), Silver (cleaned and validated data), and Gold (data prepared for reporting and analysis).

Streaming Processing

Microsoft Fabric provides technologies for processing and analysing streaming data as it arrives in real time:

  • Eventstreams – Receive, filter, transform, and route incoming streams of data.
  • Eventhouse (KQL Databases) – Stores and analyses large volumes of streaming and historical event data.
  • Kusto Query Language (KQL) – Queries and analyses event data, including time-series information.
  • Apache Spark Structured Streaming – Processes continuous streams of data using distributed computing.
  • Notebooks – Allow developers to write and run streaming applications using PySpark.
  • Activator – Monitors data for specified conditions and triggers alerts or automated actions.

These technologies can be combined to build systems that continuously monitor business activities and respond to events as they occur.

For example, a manufacturer could monitor readings from machinery, identify abnormal operating conditions, and automatically alert engineers before equipment fails.

What about workspaces, administration, and security?

Workspaces

Microsoft Fabric uses workspaces to organise artefacts for data engineering and analytics. These are an extension of Power BI workspaces, which have been around for many years.

Power BI workspaces contain reports, dashboards, semantic models, etc. Fabric extends this with Lakehouses, Warehouses, Data Pipelines, Notebooks, and other data engineering components.

Access to each workspace can be controlled by assigning users or groups to one of four roles: Admin, Member, Contributor, or Viewer.

Administration

Microsoft Fabric provides comprehensive administration settings. These include settings for available features, workspaces, processing capacities, and policies. Administration settings are distributed across several Microsoft portals.

Fabric also provides monitoring facilities. The Monitoring Hub allows users to check processing activities, identify failed jobs, and investigate problems. The Fabric Capacity Metrics app provides detailed information about the usage of resources.

Security

Microsoft Fabric uses Microsoft Entra ID to authenticate users and control access to the platform. Data is encrypted both when stored and when transmitted. Access can be controlled through workspace roles, permissions on individual Fabric items, and more detailed security controls for the underlying data.

However, Fabric's security model is complex, with different mechanisms for workspaces, Lakehouses, Warehouses, semantic models, and other components. Administrators also have extensive privileges across the Fabric environment. These arrangements need careful consideration.

How much does Fabric cost?

Microsoft Fabric can be expensive, particularly for systems that process large volumes of data or need to operate continuously.

Fabric's pricing is based mainly on capacity, which represents the computing resources available to process data. Capacity is measured in Capacity Units (CUs), rather than the amount of data processed. This can make costs difficult to predict without understanding the workload.

To use Microsoft Fabric's data engineering and warehousing services, you need a Fabric F capacity. This provides the computing resources required to run Fabric workloads.

There are two ways to pay for F capacity:

  • Pay-as-you-go – Pay for F capacity through an Azure subscription. Capacity can be scaled up or down, and paused when not required.
  • Reserved capacity – Commit to capacity for a fixed period in return for a lower price. This is generally more economical for systems that operate continuously.

Power BI Pro and Premium Per User (PPU) are separate, per-user subscriptions. They provide Power BI capabilities but do not, by themselves, provide Fabric data engineering capacity.

Careful design and capacity management are essential to obtain good value from Microsoft Fabric. For some business requirements, simpler Azure services may provide a more economical solution.

How can Anatec Systems help your business?

Anatec Systems can help you design, develop, and implement Microsoft Fabric solutions to address specific business problems. We have extensive experience in SQL databases, data engineering, and Microsoft Azure technologies, together with practical experience of Microsoft Fabric.

We can help with:

  • Data Engineering: Design and implement systems for collecting, storing, cleaning, transforming, and validating data from multiple sources.
  • Lakehouses and Warehouses: Design and build data storage solutions using Microsoft Fabric, SQL, and Apache Spark.
  • Data Processing: Develop automated data pipelines and processing routines, using the technologies best suited to your requirements.
  • Analytics and Reporting: Prepare reliable, well-structured data for Power BI reports, semantic models, and other analytical applications.
  • Existing Systems: Improve or modernise existing data engineering solutions, including assessing whether Microsoft Fabric is an appropriate platform.

We take a practical approach, looking for opportunities to simplify systems, improve reliability, and control costs. Where appropriate, we can combine Fabric with other Azure services to develop a solution that meets your business requirements.

Could Microsoft Fabric help your business?

Whether you're planning a new data engineering system, looking to improve an existing one, or considering a move to Microsoft Fabric, we can help you explore the options.

Contact Anatec Systems for an informal discussion about your requirements and how we could help.

Deliver AI-powered apps faster with Azure AI
Download the e-book
Microsoft Azure Logo
Image
Image
Power your AI transformation with a complete data platform

Microsoft Fabric unifies your data and enables AI-powered insights
Get the e-book
Image

Need help applying
these ideas?

Talk to Anatec Systems
We can help you plan and deliver your Azure, Fabric, and AI projects.