<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You need to add a Level to the Hierarchy.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sherman<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mondrian-bounces@pentaho.org [mailto:mondrian-bounces@pentaho.org] <b>On Behalf
Of </b>Javier Chávez B.<br>
<b>Sent:</b> Thursday, April 16, 2009 8:58 AM<br>
<b>To:</b> mondrian@pentaho.org<br>
<b>Subject:</b> [Mondrian] Presentation and doubt<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi all.. sorry for my english
but i'm learning :0) <br>
<br>
Dear all i need some orientation about a cube that i'm trying to do... <br>
<br>
i've made an MDX with the structure as follow:<br>
<br>
&lt;Schema name=&quot;Cubo&quot; &gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Cube name=&quot;Cubo&quot; cache=&quot;true&quot;
enabled=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Table name=&quot;Payment_Worker&quot;
alias=&quot;Fact_Table&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Table&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Dimension
name=&quot;Category&quot;&nbsp; foreignKey=&quot;Cat_Id&quot; &gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Hierarchy
hasAll=&quot;true&quot; allMemberName=&quot;All Categories&quot;&nbsp;
primaryKey=&quot;Cat_Id&quot; defaultMember=&quot;All Categories&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&lt;Table name=&quot;Categories&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Hierarchy&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Dimension&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Measure name=&quot;Payment&quot;
column=&quot;paw_Totalpay&quot; datatype=&quot;Numeric&quot;
aggregator=&quot;sum&quot; visible=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Measure&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/Cube&gt;<br>
&lt;/Schema&gt;<br>
<br>
also&nbsp; i've the next Query :<br>
<br>
select<br>
&nbsp; {[Measures].[Payment]} on columns,<br>
&nbsp; {([Category].[All Categories])} ON rows<br>
from Cubo<br>
<br>
but when try to run this query i get the next error:<o:p></o:p></p>

<h2><span style='font-weight:normal'>org.apache.jasper.JasperException:
javax.servlet.ServletException: javax.servlet.jsp.JspException:
org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException:
Mondrian Error:MDX object '[Category].[All Categories]' not found in cube 'Cubo'<o:p></o:p></span></h2>

<p class=MsoNormal>Somebody can help or orient about what i'm doing wrong...
sorry if the question is very basic !!!<br>
<br>
Thanks in advice.<br>
<br>
Javier.<br>
<br>
-- <br>
Cumprimentos<br>
jchavez<br>
linux User #397972 on <a href="http://counter.li.org/">http://counter.li.org/</a><br>
<br>
<a href="http://www.brainyquote.com/quotes/authors/g/groucho_marx.html"
target="_blank">Groucho Marx</a> &nbsp;- &quot;A child of five would understand
this. Send someone to fetch a child of five.&quot; <o:p></o:p></p>

</div>

</body>

</html>