I have been struggling to get a simple OLAP example to work against our development database after a nice presentation from the JasperSoft folks. When I dig into the error message it turns out the SQL query being generated actually contains the name of my fact table twice in the from clause. Of course Oracle throws an error saying the statement is not properly ended. I have double checked the data source, foreign keys, table names and so forth. Any help is greatly appreciated! Simple Schema definition: Code: <Schema name="EdwardSchema"> <Cube name="QuickClick"> <Table name="VASDS.SDS_ASSMT_RESULT_QC"/> <Dimension name="Grade" foreignKey="GRADE_ID"> <Hierarchy hasAll="true" allMemberName="All Grades" primaryKey="GRADE_ID"> <Table name="VAMDS.MDS_GRADE"/> <Level name="Grade" column="GRADE_CODE" uniqueMembers="true"/> </Hierarchy> </Dimension> <Measure name="Pass Count" column="PASS_CNT" aggregator="sum" formatString="#"/> </Cube> </Schema> Simple MDX query: Code:[code] select {[Measures].[Pass Count]} ON COLUMNS,{[Grade].[All Grades]} ON ROWS FROM [QuickClick] Nasty Error Returned: JPivot had an error ... org.apache.jasper.JasperException: javax.servlet.jsp.el.ELException: An error occurred while getting property "result" from an instance of class com.tonbeller.jpivot.tags.OlapModelProxy Digging into the log file a little results in finding the following… Code:[code] mondrian.olap.MondrianException: Mondrian Error:Failed to parse query 'select {[Measures].[Pass Count]} ON COLUMNS,{[Grade].[All Grades]} ON ROWS FROM [QuickClick]' However that looks correct still going down the stack trace we see the culprit. Code:[code] Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select sum("VASDS"."SDS_ASSMT_RESULT_QC"."PASS_CNT"«») as "m0" from "VASDS"."SDS_ASSMT_RESULT_QC" "VASDS"."SDS_ASSMT_RESULT_QC"] There are two of my fact tables listed in the From cause why???