Edit

Data warehousing and analytics in Microsoft Fabric

Microsoft Fabric
Power BI
Azure Data Lake Storage

This scenario highlights how a modern analytics platform delivers an end‑to‑end experience for ingesting, transforming, storing, and visualizing data. By bringing structured and semi‑structured data together in OneLake and supporting scalable batch processing, it enables business users to access insights through intuitive self‑service analytics.

Architecture

Architecture diagram for modern data analytics in Azure.

Download a Visio file of this architecture.

Data flow

The following data flow corresponds to the previous diagram:

  1. Ingest data from on‑premises systems, cloud platforms, SaaS applications, and semi‑structured sources into Microsoft Fabric by using Copy activities, Copy Jobs, Dataflow Gen2, and pipelines in Data Factory. Use T‑SQL methods such as COPY INTO and OPENROWSET to load files and tables into the data warehouse. Mirroring brings supported databases into OneLake, and shortcuts offer direct access to external data without copying it. You unify all data in OneLake by using open formats like Delta, Parquet, and CSV. Connections to on premises sources go through an on premises data gateway.
  2. Once in OneLake, the data is transformed and prepared inside the data warehouse using stored procedures.
  3. The curated warehouse datasets are then exposed through SQL Analytics Endpoints, providing a relational SQL interface for downstream consumption.
  4. Create a Power BI semantic model on the warehouse and select Direct Lake storage mode. Power BI then reads the underlying OneLake files directly. Depending on model features or capacity limits, Direct Lake can fall back to DirectQuery through the warehouse's SQL endpoint.
  5. Governance and discoverability are maintained through Microsoft Purview, the OneLake catalog, and other built‑in Fabric governance tools.

Components

  • Microsoft Fabric is a unified SaaS analytics platform that combines data integration, engineering, warehousing, and reporting on a shared capacity. In this architecture, Fabric hosts every stage of the solution, from ingestion through reporting.

  • OneLake is the single logical data lake that comes with every Fabric tenant and stores data in open formats like Delta and Parquet. In this architecture, OneLake is the central storage layer for ingested, mirrored, and transformed data.

  • Data Factory in Microsoft Fabric is a data integration service that provides pipelines, Copy activities, Copy jobs, and Dataflow Gen2. In this architecture, pipelines and Copy activities orchestrate batch ingestion from cloud, SaaS, and on premises sources. Copy jobs handle simple source-to-destination loads, and Dataflow Gen2 handles low-code cleanup and reshaping before data lands in the warehouse.

  • Mirroring in Fabric is a capability that continuously replicates supported operational databases into OneLake as Delta tables. In this architecture, mirroring keeps operational data from supported sources synchronized in near real time without custom pipelines. Open mirroring extends this to sources that aren't natively supported.

  • OneLake shortcuts are references to data in other storage locations, like Azure Data Lake Storage, Amazon S3, Google Cloud Storage, or other OneLake locations. In this architecture, create shortcuts to external Delta tables in the Tables section of a lakehouse in the warehouse's workspace. The warehouse queries these tables through the lakehouse SQL analytics endpoint without creating ingestion copies.

  • Fabric Data Warehouse is a T-SQL–based relational warehouse that stores data in Delta format in OneLake. In this architecture, the warehouse receives landed data through COPY INTO, OPENROWSET, and pipelines. Stored procedures then transform that data into curated datasets for reporting.

  • SQL analytics endpoint is an automatically generated, read-only T-SQL interface over lakehouse and mirrored database tables. In this architecture, the warehouse uses cross-database queries against the SQL analytics endpoint to join mirrored and shortcut data with warehouse tables. The endpoint must be in the same workspace as the warehouse.

  • Copilot in Fabric is a generative AI assistant built into Fabric experiences. In this architecture, data engineers use Copilot in the warehouse to draft, explain, and debug T-SQL.

  • Power BI is a business intelligence service for building semantic models, reports, and dashboards. In this architecture, Power BI semantic models in Direct Lake mode read curated warehouse data straight from OneLake and serve reports to business users.

  • Microsoft Purview is a unified data governance and compliance service. In this architecture, Purview and the OneLake catalog provide data discovery, lineage, and sensitivity labeling across Fabric items.

  • Microsoft Entra ID is a cloud-based identity and access management service. In this architecture, Microsoft Entra ID authenticates users and controls access to workspaces, the warehouse, and Power BI content.

  • Azure Policy is a service that enforces organizational rules and evaluates compliance for Azure resources. In this architecture, Azure Policy applies only to the Fabric capacity, which is the one part of the solution that's deployed as an Azure resource. Use it to enforce rules such as allowed regions, permitted SKUs, or required tags. Fabric workspaces and items are governed through Fabric admin settings and Microsoft Purview instead.

Data sources

  • Azure SQL Database is a fully managed relational database service. In this architecture, it's a source of transactional data that's ingested by pipelines or replicated through mirroring.

  • Azure Data Lake Storage and Azure Blob Storage are scalable object storage services. In this architecture, they hold CSV, JSON, and Parquet files that are batch-loaded or exposed through shortcuts. For architectural recommendations, see Architecture best practices for Azure Blob Storage.

  • Dynamics 365 is a suite of business applications. In this architecture, it provides ERP data such as HR, finance, procurement, and inventory records.

Alternatives

This architecture supports structured, semi-structured, and unstructured sources with scalable batch ingestion and near real-time database replication through mirroring. Consider the following alternatives based on your requirements:

  • Lakehouse and Spark instead of warehouse stored procedures. Instead of transforming data with T-SQL stored procedures, you can use a Fabric lakehouse with Spark notebooks. Choose this approach if your team prefers Python or Spark, or if you process large volumes of semi-structured or unstructured data that's hard to model relationally. You can still expose curated tables through the lakehouse SQL analytics endpoint.

  • Azure Data Factory instead of Data Factory in Fabric. If you already have significant investment in Azure Data Factory pipelines, or you need capabilities like the SSIS integration runtime, you can keep orchestration in Azure Data Factory and write to OneLake. This approach adds a separate service to manage and bill.

  • Copy job incremental copy instead of mirroring. If your source isn't supported by mirroring, or you need to control the load schedule, use a Copy job with incremental copy to load only changed data. Mirroring is better when you need continuous, low-latency replication from a supported source.

  • Azure Databricks instead of Fabric Data Warehouse. If your organization standardizes on Azure Databricks for data engineering and machine learning, you can transform data in Databricks and surface it in Fabric through OneLake shortcuts or mirrored Unity Catalog tables. This approach suits teams that need advanced Spark tuning or Databricks-specific features, but it adds a second platform to govern and pay for.

  • Real-Time Intelligence for streaming data. This architecture is batch-oriented. If you need to analyze streaming telemetry or events within seconds, add Real-Time Intelligence with eventstreams and an eventhouse rather than loading events into the warehouse in batches.

  • Import or DirectQuery mode instead of Direct Lake. Use import mode when you need Power BI features or data transformations that Direct Lake doesn't support, or when your models are small and refresh windows are acceptable. Use DirectQuery when reports need the most current data and can tolerate higher query latency.

  • AzCopy or scripts for one-time loads. For simple or one-time data loads, lightweight tools such as AzCopy or PowerShell scripts can move data into OneLake. These approaches suit initial migrations, ad hoc analysis, or proof-of-concept scenarios.

For more detailed comparisons, see:

Scenario details

This scenario demonstrates how a sales and marketing company uses Microsoft Fabric to improve analytics for its incentive programs, which reward customers, suppliers, salespeople, and employees. The company needs a consistent view of program performance to understand participation, measure results, and make timely business decisions.

Its data is spread across on premises systems, operational databases, and multiple cloud platforms. Different formats and disconnected processing workflows make it difficult to combine this information and deliver reliable insights. The company adopts a centralized Fabric analytics platform that brings together data ingestion, warehousing, and reporting. Data Factory and T-SQL load source data into a landing warehouse, while stored procedures transform it into curated warehouse datasets. Mirroring keeps supported operational data synchronized, and OneLake shortcuts provide access to existing data without requiring separate ingestion copies. Power BI delivers business insights through Direct Lake semantic models.

The company’s goals include:

  • Unifying data sources: Bring together structured and semi-structured data from on premises systems, Azure, AWS, and Google Cloud in a common analytics environment.
  • Standardizing business data: Transform source data into a shared taxonomy and consistent structure so results can be compared across incentive programs.
  • Scaling data processing: Support thousands of programs through scalable ingestion and SQL-based transformations, while reducing reliance on on premises infrastructure.
  • Reducing unnecessary data movement: Use mirroring and shortcuts where appropriate to simplify access and reduce duplicated integration work.
  • Delivering timely insights: Provide trusted Power BI reports that help business teams track performance and make informed decisions.
  • Strengthening governance and operations: Establish consistent access controls, data discovery, monitoring, and version-controlled deployment practices.
  • Increasing time for analysis: Reduce the effort spent gathering, preparing, and maintaining data so teams can focus on evaluating and improving program outcomes.

Potential use cases

This approach can also be used to:

  • Create pipelines to connect and move data from cloud and on premises data sources to gather data in OneLake, establishing a single source for all of your data.
  • Integrate relational data sources with other unstructured datasets.
  • Process and store data in data warehouses, which can be transformed and served to Power BI reports and dashboards.
  • Use semantic modeling and powerful visualization tools for simpler data analysis.

Considerations

These considerations implement the pillars of the Azure Well-Architected Framework, which is a set of guiding tenets that you can use to improve the quality of a workload. For more information, see Well-Architected Framework.

Reliability

In regions that support availability zones, Fabric automatically distributes Fabric resources and OneLake data across zones without customer configuration. For regional recovery, enable the disaster recovery capacity setting only where the paired region supports Fabric. OneLake geo-replication is asynchronous and protects only OneLake data; after a regional failover, Warehouse items are unavailable until you manually create replacement capacity, workspaces, and items and restore them. Document and test those recovery steps, and use a separate plan for data stored outside OneLake. For more information, see Reliability in Microsoft Fabric.

Cost Optimization

Cost optimization in Microsoft Fabric Data Warehouse centers on capacity sizing, workload design, and usage patterns. Warehouse compute usage is measured by active per-query capacity unit seconds, but workloads share the purchased Fabric capacity. Right-size the capacity and optimize T-SQL, data types, and star schemas to reduce capacity-unit consumption. You can resize or pause an F SKU to align with demand, but pausing affects every workload on that capacity, cancels in-flight requests, and doesn't stop OneLake storage charges. Monitor the Fabric Capacity Metrics app and query insights before scaling.

For more information, see Design review checklist for Cost Optimization. Review the Azure Pricing Calculator, Microsoft Fabric Pricing and the Fabric Capacity Estimator. Adjust the values to see how your requirements affect your costs, and review information on how you can optimize costs.

Performance Efficiency

  • Load data in batches. Use COPY INTO, CREATE TABLE AS SELECT, or pipeline copy operations instead of many small INSERT statements. Batched loads produce better-sized files and reduce the compaction work that the warehouse does in the background.

  • Design for the query patterns. Model curated data as star schemas, use the smallest appropriate data types, and avoid wide string columns in fact tables. These choices reduce scan volume for both warehouse queries and Direct Lake models.

  • Keep statistics current after large loads. The warehouse maintains statistics automatically, but you can update them after significant data changes so that the first reporting queries don't pay the cost of statistics refresh.

  • Stay within Direct Lake guardrails. For Direct Lake on SQL with fallback enabled, exceeding guardrails or using SQL views can trigger DirectQuery fallback and higher query latency. Direct Lake on OneLake doesn't support fallback; exceeding guardrails can fail refresh and make the model unqueryable. Optimize Delta tables, size the capacity for your largest models, and monitor refresh failures and fallback where supported.

  • Separate competing workloads when needed. The warehouse isolates read and write activity, but all workloads share the same capacity. If ingestion and reporting contend for capacity, move them to separate capacities or schedule heavy loads outside peak reporting hours.

  • Monitor before you scale. Use query insights to find long-running or frequently run queries, and use the Fabric Capacity Metrics app to detect throttling. Scale up the F SKU only when tuning doesn't resolve sustained pressure.

Contributors

Microsoft maintains this article. The following contributor originally wrote the article.

To see non-public LinkedIn profiles, sign in to LinkedIn.

Next steps

Review Get started with database architecture design.