Zero Labs
Industry News / AI

I Tested Direct Lake Calculated Columns in Preview — Here’s What Actually Changes

Source · Towards AI By Sheth Priyanka

From the publisher’s feed, collected in the ZeroLabs newsroom.

One of the longest-standing Direct Lake limitations just moved into preview. Here’s what works, what still doesn’t, and the one performance surprise that caught me out.When I benchmarked the three Power BI storage modes earlier this year, one of the biggest reasons I argued against Direct Lake for most models was that it didn’t support calculated columns. Not “doesn’t support them well.” Doesn’t support them. For two years that limitation has forced teams to push calculated-column logic upstream — into Delta tables via SQL, into dataflows, into Spark notebooks. The conventional wisdom became Roche’s Maxim: transform data as far upstream as possible. Which is good advice, until you hit one of the legitimate cases where calculated columns earn their place — RLS aggregation tables, Power BI’s grouping and binning feature, dynamic categorisations that depend on user context.In the April 2026 Power BI release, Microsoft moved Direct Lake calculated columns into preview. They also shipped something called user-context-aware calculated columns in the same release, which is a feature I genuinely didn’t see coming and which I think might be the more interesting story.I’ve spent the last three weeks testing both on a real model. Here’s what I found.Direct Lake Calculated Columns — Three Weeks of Testing in PreviewWhat the Preview Actually Lets You DoThe headline change is straightforward: in Direct Lake semantic models, you can now write calculated columns in DAX, the same way you’d write them in an Import model. The column is materialised when the model frames (the metadata refresh that happens when underlying Delta data changes), and stored alongside the rest of the columnar data that VertiPaq pages in on demand.In my testing, this worked for the patterns I cared about most:Concatenated display columns. Full Customer Name = [first_name] & " " & [last_name]. Trivial in Import. Previously required an ALTER TABLE in the Lakehouse for Direct Lake, which meant going through a data engineer and a deployment cycle for what should be a five-second change.Conditional categorisations. Customer Tier = SWITCH(TRUE(), [ltv] > 100000, "Platinum", [ltv] > 50000, "Gold", "Standard"). Pure DAX. Updates whenever the underlying ltv column changes.Static binning. The kind Power BI’s built-in grouping feature uses under the hood. This was previously unavailable in Direct Lake at all — which meant analysts working in Direct Lake models couldn’t use one of the most common drag-and-drop features in the Power BI interface.What still doesn’t work, even in preview:Calculated columns that reference measures. Same restriction as in Import — measures evaluate in filter context, calculated columns evaluate in row context.MDX-based hierarchies. Excel consumers who rely on MDX still hit the same wall as before. This one feels unlikely to change in the foreseeable future.Older Direct Lake (non-OneLake) implementations. The new calculated columns preview is specifically for Direct Lake on OneLake tables. If you’re on the older Direct Lake on SQL pattern, this doesn’t apply yet.There’s also one specific positive change I had wrong in my early notes and want to be honest about: calculated tables that reference Direct Lake on OneLake columns are supported in the April preview. I’d assumed they wouldn’t be, based on the older Direct Lake limitations, and was pleasantly surprised. SUMMARIZECOLUMNS-based derived tables built from a Direct Lake fact table now work — which opens up RLS aggregation patterns that were previously blocked.What Works, What Doesn’t — Direct Lake Calculated Columns in April 2026 PreviewThe Feature Nobody’s Talking About YetThe second feature in the April release — what Microsoft formally calls user-context-aware calculated columns in its release notes — is the one I think changes the modelling calculus more than the basic calculated columns feature does. It also has a name only Microsoft could love.A user-context-aware calculated column is a calculated column whose value depends on who is querying it. Conceptually, it’s the row-context-equivalent of dynamic RLS — except instead of filtering rows based on user identity, it lets you derive different values for different users. Microsoft’s implementation surfaces this through a new Expression Context property on the calculated column, which controls whether DAX functions like UserCulture(), UserPrincipalName(), and CustomData() get evaluated per query or treated as static.The example Microsoft uses in its April 2026 feature summary is data translations for multi-lingual semantic models. A user with a Portuguese browser locale sees product names in Portuguese; a user with an English browser locale sees the same row with English names. The underlying transaction is identical. The derived column is different per user.I tested this with a more pedestrian use case that I think is more representative of what most teams will actually use it for: language localisation on a product catalog. A single product table with English product names plus a translations table. A user-context-aware calculated column called Localized Name that uses USERCULTURE() to pick the right translation. Same row, same source data, different display value depending on who's looking.What I want to flag carefully is that this is not a substitute for RLS, even though it looks superficially similar. RLS controls which rows a user can see at all. User-context-aware calculated columns control what value a user sees on rows they’re already permitted to see. The two are complementary, not interchangeable.The performance characteristics are also different from regular calculated columns, and this is where the feature caught me out.The first time I enabled a user-context-aware column on our 12M-row product table — running on our F4 test capacity with repeated dashboard interactions against the catalog page — a report that normally loaded in under two seconds suddenly crossed five. I checked DAX Studio, expecting to find a query plan issue. The plan was fine. The issue was the architecture: because the value depends on user context, the column can’t be materialised once at framing time. It has to be evaluated per query, with the user’s context applied. For dashboards that hit the column on every visual interaction, the per-query cost stacks up fast.After two days of tuning — reducing the number of visuals that touched the localised column, moving the user-context evaluation to a smaller dimension table, and applying the column only where it actually mattered for the user-facing display — I got the load time back down to about 2.4 seconds. Across the workload I measured a steady 20–35% increase in query response time on the F4 test capacity with repeated dashboard interactions, compared to the same model with a regular calculated column doing similar work. Noticeable. Not catastrophic. But the first hour with the feature taught me that user-context-aware columns are not a drop-in replacement for static derived columns — they need to be designed for, not just enabled.What This Changes for the Decision FrameworkIn the storage modes benchmark, I argued that Import is still the right default for most Power BI models, and Direct Lake earns its place only when specific conditions are met. The calculated columns preview doesn’t change that recommendation as much as I expected it to.Here’s why. The reason I was nudging teams toward Import rather than Direct Lake was rarely only about calculated columns. It was usually about the compound effect of multiple Direct Lake limitations — calculated columns, plus composite models, plus RLS-via-SQL-endpoint fallback risk, plus the operational burden of monitoring for silent mode switches. Removing one of those constraints helps, but the others still apply.What the preview does change is the cost-benefit math for certain model archetypes:Large fact-table models with light calculated-column needs. The kind of model that’s mostly numeric aggregations with a handful of derived categorisations on the dimension tables. These were always borderline candidates for Direct Lake. With calculated columns now available in preview, the case is stronger.Models that need Power BI’s built-in grouping and binning. Previously impossible in Direct Lake. Now possible. This affects analyst productivity more than I think Microsoft realises — grouping and binning is one of the features that makes Power BI Desktop accessible to non-technical analysts.Models where business logic genuinely belongs in the semantic layer. I’ll defend this one carefully because it cuts against Roche’s Maxim. There are cases — RLS aggregation tables, user-facing dynamic categorisations, business rules that change quarterly and shouldn’t require a data engineer for each change — where calculated columns are the right answer architecturally, not just the convenient one. For those models, Direct Lake is now a more honest option.What the preview doesn’t change:My recommendation to start with Import. Still the right default. Still has the richest feature set, the fewest gotchas, the most predictable performance. The April release doesn’t make Import worse; it makes Direct Lake better in a narrow way.The silent fallback risk. Direct Lake still falls back to DirectQuery under certain conditions — RLS via SQL endpoint, tables behind views, memory pressure, unsupported features. The calculated columns preview doesn’t change this. If anything, it adds a new category of fallback condition: preview-feature limits that might not survive to GA in the same shape.Operational monitoring requirements. Anything you’re running in Direct Lake still needs instrumentation. The reconciliation framework I wrote about becomes more important, not less, when you start putting derived business logic in a storage mode that’s still partly experimental.Storage Mode Decision Framework — Updated for April 2026Would I Put It in Production?The honest answer is: yes, but selectively, and with the same eyes-open framing I applied to DAX User-Defined Functions when those landed in preview.For models I own personally — small to mid-sized, with stakeholders who understand the trade-offs, where rollback is straightforward — I’m using it. The productivity gain on the Power BI Desktop modelling experience is real. I no longer have to context-switch between Power BI and the Lakehouse to add a simple categorisation column.For models that serve regulated processes, finance reporting, or anything where a stakeholder might escalate a discrepancy to a director, I’m not using it yet. Preview features can change shape before GA. The April 2026 implementation might not be the implementation that ships at general availability. If your governance team would have to defend the use of a preview feature in an audit, the maintenance cost of explaining “Microsoft changed the syntax between preview and GA” is not worth the productivity gain.The middle ground — models that are important but not regulated — is where the interesting decision sits. My current approach is to write calculated columns in DAX in the preview, but to document the underlying transformation somewhere version-controlled, so that if I have to migrate the logic upstream to a Delta table or downstream to a measure, I have the recipe. Treat the preview as a draft of the eventual architecture, not the architecture itself.A UI/UX Reflection on Preview FeaturesThere’s a pattern I’ve noticed across Microsoft’s recent preview releases — DAX User-Defined Functions, Direct Lake calculated columns, Direct Lake user-context-aware columns — that I want to name explicitly, because I think it changes how analysts should relate to them.The pattern is: Microsoft is shipping preview features that fill long-standing gaps, but shipping them with the gaps narrower than they look. Calculated columns in Direct Lake are real. They also have specific restrictions that don’t show up in the headline announcements — no measure references, no derived calculated tables, performance differences from Import, preview-stage tooling caveats.For analysts following preview releases, the right move is not “Microsoft fixed it” or “Microsoft didn’t fix it.” The right move is to test the specific patterns you actually use against the specific restrictions of the preview, before deciding whether the gap has narrowed enough for your work.The closing thought I land on is this: a preview feature is an invitation, not a promise. It’s Microsoft saying we think this is the right shape, but we’re not committing to it yet. The analysts who get the most out of preview features are the ones who treat that invitation as an opportunity to influence what the GA version becomes — by testing, by filing feedback, by understanding the restrictions deeply enough to know which ones matter for their work. The ones who get the least out of preview features are the ones who either dismiss them entirely or treat them as production-ready.The right relationship is somewhere in the middle, and it requires actually doing the testing rather than reading the announcement.I Tested Direct Lake Calculated Columns in Preview — Here’s What Actually Changes was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.