AnalyticsCreator Docs Preview

Choose the correct expression language

On this page
  1. Avoid common mistakes

AnalyticsCreator exposes several expression languages whose syntax and execution contexts are different.

Field or artifact Language/context
Warehouse view/procedure and SQL scripts SQL for the configured warehouse path; inspected repository generation is T-SQL
Source custom query Query syntax accepted by that source provider
SSIS column statement and source constraints SSIS expressions in the generated component
OData Query options OData query options
Tabular expressions and table filters DAX where required by the target property
Multidimensional calculations/slice Analytical expression appropriate to the multidimensional property
Macro call AnalyticsCreator macro syntax expanded into the enclosing generated expression
Object-script parameter placeholder Positional substitution performed by the invocation path

Avoid common mistakes

A WHERE-like condition in Source Constraints is not automatically T-SQL. A source-provider query is not automatically SQL Server syntax. SQL coloring in the editor is a presentation feature, not a parser for every language.

When moving an expression between fields, verify datatype conversion, quoting, null semantics and variable syntax for the new context. Inspect the generated artifact to see the expression after macro/parameter processing.

For an SSIS source constraint, test null inputs and the generated message output. For a fact lookup, test whether the join retains unmatched rows before substituting the unknown-member key. For a macro returning a dimension key, set Referenced table to the actual dimension.

Use source constraints, macros and analytical models for context-specific instructions.

Search documentation