Jump to content
We've recently updated our Privacy Statement, available here ×
  • Where should the dimension table containing the primary key for dimension be added in the cube schema file


    gregd
    • Product: JasperReports® Server

    Defining a Dimension Table with Primary Key for Dimension

    When you are declaring the dimension table containing the primary key for the dimension, they should be declared in a lower-level tag, instead of directly in the hierarchy tab. For example, the following is not a valid declaration:

    <hierarchy hasall="false" primarykey="time_id" primarykeytable="time_by_day">
    ...
    

    It should be declared as follows:

    <hierarchy hasall="false" primarykey="time_id">
    <Table name="time_by_day">
    </Table>
    ... 
    


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...