syntel Posted July 13, 2009 Share Posted July 13, 2009 Hi ,I am trying to create an analysis view with JasperServer 2.1 version.I am able to open my analysis view but when I try to drill down I am getting the below mentioned exception. Code: My Schema file and MDX query are as follows,for your information: Schema:<?xml version="1.0"?> <Schema name="CollegeSchema"><!-- Shared dimensions --><Dimension name="College"><Hierarchy hasAll="true" allMemberName="All Colleges" primaryKey="CollegeCode"><Table scheme ="College" name="College"/><Level name="College" column="CollegeName" uniqueMembers="true"/></Hierarchy></Dimension><Dimension name="Department"><Hierarchy hasAll="true" allMemberName="All Departments" primaryKey="DeptCode"><Table scheme ="College" name="Department"/><Level name="Department" column="DeptName" uniqueMembers="true"/></Hierarchy></Dimension><Dimension name="Student"><Hierarchy hasAll="true" allMemberName="All Students" primaryKey="StudentId"><Table scheme ="College" name="Student"/><Level name="Students" column="StudentName" uniqueMembers="true"/></Hierarchy></Dimension><Cube name="Student Analysis"><Table scheme ="College" name="Student"/><DimensionUsage name="College" source="College" foreignKey="CollegeCode"/><DimensionUsage name="Department" source="Department" foreignKey="DeptCode" /><DimensionUsage name="Student" source="Student"/><Measure name="Marks" column="Mark" aggregator="sum" formatString="#,###.00"/><!-- <CalculatedMember name="Variance Percent" dimension="Measures" formula="([Measures].[Variance]/[Measures].[budget])*100" /> --></Cube></Schema> MDX Query:Select {[Measures].[Marks]} ON COLUMNS,{([College],[Department],[student])} ON ROWSfrom [student Analysis] Any help please? Thanks. Post Edited by syntel at 07/13/2009 13:44 Link to comment Share on other sites More sharing options...
jfields Posted July 13, 2009 Share Posted July 13, 2009 I have the same issue, and don't have an answer on how to fix.Some notes that i have learned though.1. Per cube, try not to exceed more than 16 dimensions. JS cant handle it.2. Make sure dimensions to fact table are all indexed.Doing both of those and monitoring the database for 'hung threads' has gotten this error to occur less often.We see it most often when the db gets stressed more and it seems like the query returns no data and you get the 'results' error. That is all I have learned about this error.Maybe some of my knowledge will help.Jeremy Link to comment Share on other sites More sharing options...
kumarsrs Posted July 27, 2009 Share Posted July 27, 2009 I also got the same error when i use the MDX Query asSELECT[Measures].AllMembers ON COLUMNS,Hierarchize(([Dim_Curr].[All Dim_Currs].Children * [Dim_Name].[All Dim_Names].Children)) ON ROWSFROM [sales]then i changed the MDX Query asselect {[Measures].[invoiced_Amount], [Measures].[Qty_Ordered]} ON COLUMNS, Hierarchize(([Dim_Curr].[All Dim_Currs].Children * [Dim_Name].[All Dim_Names].Children)) ON ROWSfrom [sales] I can view the analyis, but drill is not shown. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now