Mapping Functions to Query Types (DMX)
You can use functions to control how queries in Data Mining Extensions (DMX) create predictions in Microsoft SQL Server 2005 Analysis Services (SSAS). However, each query type supports specific functions, and some query types do not support certain functions. For general information about functions in DMX, see Data Mining Extensions (DMX) Function Reference.
You can use the SELECT statement in DMX to create different types of queries. Each query type supports different functions. The following table lists the functions that you can use for each type of SELECT statement.
Query type | Supported functions |
---|---|
RangeMin, RangeMid, RangeMax for continuous and discretized columns |
|
or |
IsDescendent |
IsInNode, Lag |
|
IsInNode |
|
SELECT FROM <model>.PMML |
Not applicable. |
Prediction functions that are specific to the algorithm that you use to build the model. |
|
Prediction functions that are specific to the algorithm that you use to build the model. |
For a list of the functions that are supported by Microsoft algorithms, see the individual algorithm topics in Data Mining Algorithms.
You can use the following functions for any SELECT statement that returns a table expression:
- TopCount
- BottomCount
- TopPercent
- BottomPercent
- TopSum
- BottomSum
See Also
Reference
Data Mining Extensions (DMX) Reference
Data Mining Extensions (DMX) Function Reference
Data Mining Extensions (DMX) Operator Reference
Data Mining Extensions (DMX) Statement Reference
Data Mining Extensions (DMX) Syntax Conventions
Data Mining Extensions (DMX) Syntax Elements
Prediction Queries (DMX)
Understanding the Select Statement (DMX)