Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

MDX: Different levels of Dimension in different axes

$
0
0
There is simple query:

select [Browser].[Name].Allmembers on 0,
[Browser].[Version].Allmembers on 1
from [Payments]

Browser has the structure:

<Dimension type="StandardDimension" visible="true" highCardinality="false" name="Browser">
<Hierarchy name="Hierarchy" visible="true" hasAll="true" primaryKey="key">
<Table name="browser" schema="public">
</Table>
<Level name="Name" visible="true" column="name" type="String" internalType="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" captionColumn="name">
</Level>
<Level name="Version" visible="true" column="version" type="String" internalType="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" captionColumn="version">
</Level>
</Hierarchy>
</Dimension>

In SSAS the result of this query has the normal cross table:

crossTable.PNG

But Mondrian an error exception:
mondrian.olap.MondrianException: Mondrian Error:Failed to parse query 'select [Browser].[Name].Allmembers on 0, [Browser].[Version].Allmembers on 1 from [Payments]' mondrian.olap.MondrianException: Mondrian Error:Hierarchy '[Browser.Hierarchy]' appears in more than one independent axis.

There is support levels in different axes ?
Attached Images

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>