1 olap.query
<olap.query
rows='rows'
cols='cols'
filters='filters'
total-groups='total-groups'
total-measures='total-measures'
total-functions='total-functions'
nfilter-levels='nfilter-levels'
nfilter-measures='nfilter-measures'
nfilter-rules='nfilter-rules'
nfilter-count='nfilter-count'
sorters='sorters'
>
<value /> +
</olap.query>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Arows | String | Columns of the query. | |||
Acols | String | Rows of the query. | |||
Afilters | String | Filters of the query. | |||
Atotal-groups | String | Total groups of the query. | |||
Atotal-measures | String | Total measures of the query. | |||
Atotal-functions | String | Functions of the query. | |||
Anfilter-levels | String | Levels of nfilter of the query. | |||
Anfilter-measures | String | Measures of nfilter of the query. | |||
Anfilter-rules | String | Rules of nfilter of the query. | |||
Anfilter-count | String | Count the nfilter of the query. | |||
Asorters | String | Classifiers of the query. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evalue | cube | Name of the cube that you want to obtain. |
Returns | |
---|---|
Type | Description |
SQL | Returns the SQL query. |
Example
Copy
<xsql-script name='olap_query'> <body> <println> <olap.query rows="[Region].[Region], [Department].[Department]" cols="[Measures].[Budget]" > <olap.schema.getCube name="Quadrant Analysis"> <olap.schema name="p_sd" /> </olap.schema.getCube> </olap.query> </println> </body> </xsql-script>