Uploading Reports

To upload reports:

  1. Navigate to Management > Reports, and click Upload Reports. The Upload Report window is displayed.

  1. Enter the Report Name.
  2. Enter the Process Name for which you are uploading the report.
  3. Enter a meaningful Description.
  4. From the Report Schema File section, click Choose File and select the schema file in .xml format.
  5. Choose the DB Name from the drop-down list for the database. The available options are Other, Default, and RPA. 
Note:
 
 
 
 
You can use Default or RPA for existing databases. You can use Other for external database.
  1. Enter the DB Schema Name.
  2. Enter the JDBC URL and JDBC Driver.
  3. Enter the JDBC User and JDBC Password.
  4. Enter the MDX Query. For more details, see the Writing an MDX Query.
  1. From the Authorization tab, select the user permissions. The available options are Global, Denied, and Allow.

To allow user permissions,

Notes:
 
 
 
 
To set permissions for multiple users or user groups, click Add Permission, select a user or user group, and specify the permissions.
 
 
 
 
 
              You cannot assign permission to your own user account.
  1. Click Save. The report is uploaded and displayed in the Reports list.

Writing an MDX Query for a simple Schema

MDX query is a multi-dimensional query language, which represents data in multi-dimensional form, not only in rows and columns.

CUBE XML is a logical representation form of MDX query. It contains Dimensions, Measures, and Aggregate functions.

XML definition of a simple Schema:  

<Schema>
  <Cube name="LoanDetails">
    <Table name="Loan_Details"/>
     <Dimension name="FirstName">
      <Hierarchy hasAll="true" allMemberName="All">
       <Level name="FirstName" column="FIRST_NAME" uniqueMembers="true" />
      </Hierarchy>
     </Dimension>   

     <Dimension name="LastName">
      <Hierarchy hasAll="true" allMemberName="All">
       <Level name="LastName" column="LAST_NAME" uniqueMembers="true" />
      </Hierarchy>
    </Dimension>

   <Dimension name="LoanType">
    <Hierarchy hasAll="true" allMemberName="All">
     <Level name="LoanType" column="LOAN_TYPE" uniqueMembers="true" />
    </Hierarchy>
   </Dimension>
 <Measure name="Total Loan" caption="Total Loan" aggregator="count" formatString="#,###">
     <MeasureExpression>
       <SQL>
        1
       </SQL>
      </MeasureExpression>
     </Measure>

  </Cube>
</Schema>

This schema contains a "LoanDetails" cube with three dimensions - "First Name", "Last Name", and "Loan Type", and one measure - "Total Loan".

You can write an MDX query for this schema:

SELECT {[Measures].[Total Loan]} ON COLUMNS,{[FirstName].[All].children} ON ROWS FROM [LoanDetails]