y_mash Posted February 7, 2015 Share Posted February 7, 2015 I have a simple cube and a simple olap view. it works fine but when I click on "Hide Empty Rows/Columns", it makes an errorif anyone knows what's the problem please help memy schema:<Dimension name="Date" type="TimeDimension"><Hierarchy hasAll="true" primaryKey="date_pk" allMemberName="all periods" defaultMember="all periods"><Table name="date"/><Level name="Year" column="year" type="Numeric" uniqueMembers="false"levelType="TimeYears"/><Level name="Month" column="month" uniqueMembers="false" type="Numeric"levelType="TimeMonths"/><Level name="Day" column="day" uniqueMembers="false"levelType="TimeDays"/> </Hierarchy></Dimension> <Cube name="AccountCreateCube"><Table name="account"/> <Dimension name="Bank Branch" primaryKey="account_branch_code"> <Hierarchy hasAll="True" allMemberName="all branches" defaultMember="all branches"><Level name="Branch Id" column="account_branch_code" uniqueMembers="false"/></Hierarchy></Dimension><DimensionUsage name="Insert Date" source="Date" foreignKey="insert_date_id"/><Measure name="count" column="account_number" aggregator="count"/></Cube> Link to comment Share on other sites More sharing options...
Solution y_mash Posted February 10, 2015 Author Solution Share Posted February 10, 2015 I have found the solution. the problem was that I had a level in my schema of type bigint in postgresql. I don't know why the values became float. so I added type="Numeric" in that level and it works fine 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