Skip to content

Direct Lake on OneLake calculated columns: document UserContext expression context requirement - #440

Merged
mlonsk merged 1 commit into
mainfrom
user-ml/directlake-calccolumn-expressioncontext
Oct 26, 2026
Merged

mlonsk merged 1 commit into
mainfrom
user-ml/directlake-calccolumn-expressioncontext

Conversation

@mlonsk

@mlonsk mlonsk commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Calculated columns on Direct Lake on OneLake tables only support the UserContext expression context (preview, unmaterialized). New calculated columns default to Standard, and saving one on a Direct Lake table fails with "Default expression context cannot be used for calculated columns in Direct Lake tables". A customer hit this from Tabular Editor 3 and the docs did not explain it.

Changes:

  • tutorials/direct-lake-guidance.md: new section "Calculated columns on Direct Lake on OneLake" with the requirement, the engine error, the compatibility level 1705 prerequisite and the steps to set Expression Context in the Properties view. Limitation bullet and Composite models paragraph now point to it.
  • features/user-context-calculated-columns.md: new "Direct Lake on OneLake tables" section linking to the guidance. Expression Context values shown as Standard / UserContext to match the Properties view.
  • features/Semantic-Model/semantic-model-types.md: footnote 5 updated.
  • Removed the claim that Direct Lake calculated columns "do not respond to report filters or slicers" (and the RLS/OLS claim). Neither is in the Microsoft docs, which say these columns are evaluated at query time, aren't materialized and can't be used in relationships.

Sources:

…n OneLake calculated columns

Calculated columns on Direct Lake on OneLake tables must use ExpressionContext = UserContext
(CL 1705+); Standard fails on save. Remove unsupported claim that these columns ignore
report filters and slicers.
@mlonsk
mlonsk marked this pull request as ready for review October 26, 2026 14:55
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-440.westeurope.6.azurestaticapps.net

1 similar comment
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-440.westeurope.6.azurestaticapps.net

@mlonsk
mlonsk merged commit e2421cd into main Oct 26, 2026
16 checks passed
@mlonsk
mlonsk deleted the user-ml/directlake-calccolumn-expressioncontext branch October 26, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants