book
Article ID: KB0070623
calendar_today
Updated On:
Description
While creating a calculated column from a data table which is being populated through a connector, OVER functionality can not be used inside a calculated column if the data table is kept as external (In-Database). The following is the error message generated.
Error: The external data source does not support OVER expressions.
Resolution
When working with connectors and keeping the data table external, you have to write OVER expressions as post-aggregation expressions (which uses the THEN keyword). Example:
Custom Expression Example: Avg([Customer_ID]) THEN Avg([Value]) OVER (All([Axis.X]))
Issue/Introduction
When using external (In-Database) data with Spotfire Connectors, you get the error "The external data source does not support OVER expressions" when creating a calculated column. For this to work, you must use a post-aggregation expression using the THEN keyword.