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>
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>
SELECT [[Measures].[Budget]] ON COLUMNS [[Region].[Region], [Department].[Department]] ON ROWS FROM Quadrant Analysis

Más ejemplos

You can found a more detailed example in olap.query.execute