Direct Lake on OneLake supports preview calculated columns that are evaluated at query time rather than stored as materialized values. This matters to Power BI model authors who want row-level logic in a Direct Lake semantic model. Guy in a Cube demonstrates the topic in a YouTube Short.
In a traditional Import model, a calculated column is generally evaluated during refresh and stored in the model. The preview capability for Direct Lake on OneLake works differently: the calculated column is unmaterialized and evaluated when a query runs. That query-time behavior is one reason the columns may seem similar to measures.
They are not measures, though. A calculated column represents a value associated with each row, while a measure returns a scalar result that can change with a visual’s filter context. The evaluation timing does not change the column’s role or turn it into a dynamic aggregation.
This feature is relevant to authors of Direct Lake on OneLake semantic models who need lightweight, row-level calculations. It is in preview and supports the User Context expression context. Direct Lake on SQL does not support the same calculated-column capability.
Import models continue to support traditional materialized calculated columns. In composite models, Import tables remain an option when calculated-column functionality is needed. Measures are supported in Direct Lake and remain the fit for totals, ratios, and other calculations that should respond to report filters.
Because the calculated column is evaluated at query time, the work can occur during report queries. Test expressions with realistic report workloads, especially if the calculation is complex.
The preview columns cannot be used in relationships, so they are not a replacement for persisted key or lookup columns. The supported User Context requirement also means Import-mode calculated-column patterns may not transfer unchanged. Direct Lake on SQL is outside this capability.
For persistent values, relationship keys, costly calculations, or logic reused beyond one semantic model, move the calculation into the lakehouse, warehouse, or data transformation layer. Keep measures for context-sensitive analytics such as totals, margins, and ratios.
Only in the sense that the supported Direct Lake on OneLake calculated columns are evaluated at query time. They remain row-level columns; measures return scalar results that respond to visual filter context.
No. The unmaterialized Direct Lake on OneLake calculated columns cannot be used in relationships.
No. The preview calculated-column capability described here applies to Direct Lake on OneLake, not Direct Lake on SQL.
Use a measure for aggregations, ratios, or other calculations that need to respond to report filter context. Calculated columns are for row-level values.