Note that there are some explanatory texts on larger screens.

plurals
  1. POSelecting other hierarchies in dimensions
    primarykey
    data
    text
    <p>I've googled the error message and various other keywords, but haven't found anything similar enough to my own problem that I could apply it.</p> <p>In my schema, I have the following dimension:</p> <pre><code>&lt;Dimension name="Chip"&gt; &lt;Hierarchy hasAll="true" primaryKey="chip_id"&gt; &lt;Table name="chip"/&gt; &lt;Level name="Reference Designator" column="ux" type="Integer"/&gt; &lt;Level name="Pad" column="pad" type="Integer"/&gt; &lt;Level name="Chip" column="chip" type="Integer"/&gt; &lt;/Hierarchy&gt; &lt;Hierarchy name="Flash Pack Hierarchy" hasAll="true" primaryKey="chip_id"&gt; &lt;Table name="chip"/&gt; &lt;Level name="Flash Pack" column="fp" type="Integer"/&gt; &lt;Level name="Pad" column="pad" type="Integer"/&gt; &lt;Level name="Chip" column="chip" type="Integer"/&gt; &lt;/Hierarchy&gt; &lt;Hierarchy name="Bank Hierarchy" hasAll="true" primaryKey="chip_id"&gt; &lt;Table name="chip"/&gt; &lt;Level name="Bank" column="bank" type="Integer"/&gt; &lt;Level name="Chip" column="chip" type="Integer"/&gt; &lt;/Hierarchy&gt; &lt;/Dimension&gt; </code></pre> <p>and the cube:</p> <pre><code>&lt;Cube name="Chip Facts"&gt; &lt;Table name="chip_facts"/&gt; &lt;DimensionUsage name="Machine" source="Machine" foreignKey="machine_id"/&gt; &lt;DimensionUsage name="Card" source="Card" foreignKey="card_id"/&gt; &lt;DimensionUsage name="Chip" source="Chip" foreignKey="chip_id"/&gt; &lt;DimensionUsage name="Failure" source="Failure" foreignKey="failure_id"/&gt; &lt;/Cube&gt; </code></pre> <p>I can query:</p> <pre><code>select [Chip].[Reference Designator].members on columns from [Chip Facts] </code></pre> <p>but not:</p> <pre><code>select [Chip].[Flash Pack].members on columns from [Chip Facts] </code></pre> <p>I get:</p> <blockquote> <p>Caused by: mondrian.olap.MondrianException: Mondrian Error:MDX object '[Chip].[Flash Pack]' not found in cube 'Chip Facts'</p> </blockquote> <p>How do I select the other hierarchy?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload