warehouse
291 TopicsNetSuite data in Fabric: where do you put KPI logic, Spark notebooks, Warehouse or DAX?
Hi all, I’d like to ask how you’d structure KPI logic in a Fabric setup built on NetSuite data, because I keep going back and forth on where it should live. The main source is NetSuite ERP, covering finance, sales, CRM, inventory and procurement, along with a few other enterprise systems. Fabric Data Pipelines handle the scheduled transfers into OneLake, and the Lakehouse is organized in Bronze, Silver and Gold layers to separate raw, refined and curated data. Fabric Notebooks with Spark do the cleansing, transformations, business rules and KPI calculations before anything reaches reporting. A Fabric Data Warehouse then serves structured datasets for cross-functional reporting, and Power BI semantic models with DAX measures and RLS sit on top, feeding 50+ dashboards across finance, sales, operations, inventory and executive reporting. Security runs through Entra ID, access controls, lineage and encryption. The part I’m unsure about is KPI logic. Right now some of it is calculated in Spark before the data reaches the Warehouse, and the rest is defined as DAX measures in the semantic models. How do you decide what goes where? Do you push everything you can into the Gold layer and keep DAX thin, or keep the business definitions in the semantic model so they’re easier to change? I’d also like to hear how you handle NetSuite ingestion. With pipelines running on a schedule, how do you deal with incremental loads, late-arriving changes and deletes? Do you ever do full reloads for certain tables? On the Lakehouse vs. Warehouse split, what made you choose one over the other for the serving layer? Did you run into duplicated logic or extra copies of the data between them? And with 50+ reports, do you keep one semantic model per domain or a few shared ones? How do you manage RLS in that setup, especially as self-service use grows and more people start building their own reports on top? Has anyone gone through this and changed their approach later?14Views0likes0CommentsHow are teams structuring Microsoft Fabric Warehouse for scalable ELT and reporting workloads?
I’m looking at architecture patterns for Microsoft Fabric Warehouse in environments where multiple data sources, transformation jobs, and Power BI workloads all depend on the same platform. A typical flow might look like: Source systems → ingestion → staging → transformations → Fabric Warehouse → semantic models → Power BI I’m particularly interested in how teams are handling: staging vs curated schemas ELT transformations inside the Warehouse incremental loading patterns data quality checks before publishing CI/CD across dev, test, and production workload separation for engineering vs reporting monitoring failed loads and long-running queries deciding when to use Warehouse vs Lakehouse for the same solution For teams running Fabric Warehouse at scale, what architecture patterns have worked best for keeping the platform maintainable and avoiding duplicated transformations?32Views0likes3CommentsHow are teams using AI agents to automate modern data warehouse workflows?
I am exploring how AI agents can help improve data warehouse operations by automating repetitive tasks and assisting data teams with faster decision-making. Some areas I am interested in: Automating data pipeline monitoring and issue detection AI-assisted SQL generation and optimization Automatically identifying data quality issues Triggering workflows based on business events or data changes Generating documentation and insights from warehouse metadata With platforms like Microsoft Fabric Data Warehouse, how are teams approaching AI integration? Are you using: Fabric pipelines with AI-powered automation? Copilot or LLM-based assistants for warehouse development? Custom AI agents connected with data warehouse APIs? Would love to hear real-world architecture patterns and best practices from data engineers working with Fabric.72Views2likes7CommentsDataflowsStagingLakehouse Size
Hello, My DataflowsStagingLakehouse system storage is 103GB! I have many DF Gen2 with enabled staging, but I really don't understand why this lakehouse is so big! How can I explain me that this storage is so big? What are the good pratices for this kind of lakehouse ?50Views0likes8CommentsNear-real-time CDC into Fabric Warehouse: MERGE vs Mirroring vs Lakehouse?
Hi all, I need operational data from an Azure SQL Database available in Fabric for reporting with roughly 5 to 15 minutes of latency. There are about 30 tables, mostly updates, with some deletes. Business users will query it in T-SQL and Power BI. I see three main approaches and would like to understand the trade-offs: Mirroring the source database into Fabric, then building curated tables in a Warehouse on top of it Incremental MERGE into Warehouse tables from a pipeline or copy job that reads changed rows (CDC or a watermark column) Eventstream CDC → Lakehouse Delta tables, queried through the SQL analytics endpoint Questions: Which approach is recommended at this latency and scale, and where does each one break down? How are deletes handled in each? Mirroring is the most direct, but what about MERGE-based loads? How much does running MERGE frequently cost on a Warehouse (capacity usage, small-file or fragmentation effects)? If you mirror, is it better to build curated tables in a Warehouse or use views over the mirrored database? Thanks!71Views1like5CommentsVarchar(MAX) in SQL Endpoint
I'm testing VARCHAR(MAX) support in a Fabric Lakehouse SQL Analytics Endpoint and discovered that it only worked after: 1. Enabling New Metadata Sync (Preview) 2. Creating a new Lakehouse after enabling the setting Existing Lakehouses didn't seem to pick up the capability. Is this officially expected, or is there a migration/upgrade path for existing SQL Analytics Endpoints?70Views2likes7CommentsOnelake Storage Report
Hi All, I checked the OneLake storage Report for the first time, and it blew my mind... I have one warehouse that is > 1+ TB, while it only contains two (!!) tables. - 700K rows - 1.2M rows I dived deeper into it by connecting the warehouse to blob storage, and I noticed in the subfolder onelake/xxxxx/xxxxxx/Files/ ; there is OVER 800 GB OF FILES ! The stored procedures of those two are quite complex with different update statements, but this should not generate so much files ; as we are paying them as well. I already changed the time_travel_retention_cutoff_date, from 30 --> 5 days, but this has no impact on the /files, only the /tables from what I've read (after 36h still no impact there as well though) The files are kept into that folder going two months back; - Is there a way to change this setting? - Is there a way to reduce all those files that are written? - Anyone else noticing this?174Views2likes11Commentsupdating .sqlproj file (version issue with git)
We recently had a couple issues syncing from main with INFORMATION SCHEMA errors. When we reviewed the documentation Upgrade Fabric Data Warehouse System File Version in a Git Integrated Fabric workspace - Microsoft Fabric | Microsoft Learn, we noticed that we had two errors. The first is that we were self referencing in a couple PROCS, eg WH.dbo.Table from current WH. We fixed that problem, and th INFORMATION SCHEMA sync still persisted, but the self ref error went away. Then we noticed that the sqlproj file is listed as a possible cause. We have the old preview version listed in git. However, if you export the warehouse project, the actual wh sqlproj file shows up to date. So there is a difference b/w git and what is actually in the workspace. We have tried to PR the change to this file, update it directly in git, make a small change in the wh and commit directly to main to see if we could trigger the change. In the one case, we went into ADO, we updated this file directly, committed to it. It actually SHOWED as an update for a hot second, BEFORE converting to a change and the change was showing the old definition. In that referenced article, we have tried a and b, and we cannot for whatever reason get this file to update in git, which then causes sync issues. Does anyone have experience with this, a recommendation? Thanks J.118Views1like7CommentsData Warehouse deployment fails when new NOT NULL column added in schema
Greetings! We have a deployment pipeline that we are attempting to move a warehouse schema change through, we are adding some not null columns. The deployment from our Dev environment to Test is failing with the following error: Microsoft SqlClient Data Provider: Msg 24735, Level 16, State 1, Line 1 Only nullable columns can be added to an existing table. SqlMSBuild: Script execution error. The executed script: ALTER TABLE [DM_Schema].[SummaryTable] ADD [NewColumn] INT NOT NULL,CONSTRAINT [SD_SummaryTable_2d66d69a5ee8421398ab13068f0c28b4] DEFAULT 0 FOR [NewColumn] A couple of questions: 1) Why is this blocking? I can't seem to locate where NOT NULL columns are not supported by deployment pipeline? Is this a legitimate bug? 2) Why is does it appear to (rightly) add a DEFAULT 0 constraint even though no such constraint was defined in DEV environment? 3) Our current process with complicated schema changes is to use Schema Compare tool in VS Code, and promote complicated schema changes outside of the deployment pipeline, adding a column generally is not considered a complicated schema change, so just wondering if there is a way to do this within deployment pipeline? Thanks!Solved90Views0likes11CommentsSwitch workspace from west US to east US
Wondering how to switch WS and all contents from west US to east US. Tried backup to Git repo and restore from there - Does not work synch to a new empty workspace. Original workspace was west US, (contains pipelines, notebook, warehouse) synched WS to git repo, disconnected WS Created new WS east US tried to synch git repo to new empty WS created on east US errored out on every level and nothing got synched. It just sucks with no import export option. Any other suggestions.Solved161Views2likes14Comments