• Skip to main content
  • Skip to footer
Revelwood Logo

Revelwood

Your SUPER-powered WP Engine Site

  • Who We Are
    • About Us
      • Our Company
      • Our Team
      • Partners
    • Careers
      • Join Our Team
  • What We Do
    • Solutions
      • Workday Adaptive Planning
      • IBM Planning Analytics
      • BlackLine
    • Services
      • Implementation Services
      • Customer Care
        • Help Desk
        • System Administration as a Service
      • Training
        • Workday Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

Cognos Analytics

IBM Planning Analytics Tips & Tricks: Planning Analytics Virtual Hierarchies in Cognos Analytics

March 5, 2019 by Revelwood Leave a Comment

Tips & Tricks

This is a guest blog post from Revelwood’s Jay Apwah.

Did you know that you can access Planning Analytics Virtual Hierarchies in Cognos Analytics?

Prior to Planning Analytics 2.0 (PA) and Cognos Analytics 11.0.6 (CA) the limiting factor in reporting cube design was related to product limitations that existed in CA at the time. In order to use level-based or relative functions in CA, one had to name the levels of the reporting dimensions. This required the PA developer to limit each reporting dimension to one root consolidation and to maintain a balanced structure in each of those dimensions. Furthermore, in order to perform analysis by element attributes or alternate element roll-ups, additional attribute dimensions and/or additional dimensions that represented the alternate roll-ups needed to be added to the reporting cubes. Sometimes that led to reporting cubes with a seemingly unnecessarily large number of dimensions which led to messy and sometimes confusing ad-hoc reporting in CA.

Cognos Analytics 11.0.6 allows you to leverage PA virtual hierarchies. You no longer need to create and add additional dimensions to the reporting cube in order to report on attributes or roll-up dimension elements differently.  In the following example, the time dimension called bpmPeriod has several alternate roll-ups. The number of levels in each alternate roll-up structure is different which means that we cannot properly name levels in the }HierarchyProperties cube.

IBM Planning Analytics Tips & Tricks: Planning Analytics Hierarchies in Cognos Analytics

We’re first going to isolate the node called “All Years” with a PA virtual hierarchy. In Planning Analytics Workspace (PAW), we will create a new hierarchy called “Calendar”. Note: there are many different ways to create hierarchies in PA.  This examples uses the PAW interface.

IBM Planning Analytics Tips & Tricks: Accessing Planning Analytics Virtual Hierarchies in Cognos Analytics
IBM Planning Analytics Tricks: Planning Analytics Virtual Hierarchies in Cognos Analytics

The structure of the calendar hierarchy is as follows: All Years > Year > Quarter > Month:

IBM Planning Analytics Tips: Planning Analytics Virtual Hierarchies in Cognos Analytics

When you create a hierarchy in PAW a new “Leaves” hierarchy is automatically created. You can see the existing the “Calendar” hierarchy and the new “Leaves” hierarchy in the }Dimensions control dimension:

Planning Analytics Virtual Hierarchies in Cognos Analytics. IBM Planning Analytics Tips & Tricks

The next step is to logically name the levels of the Calendar hierarchy using the }HierarchyProperties control cube:

Planning Analytics Virtual Hierarchies in Cognos Analytics. IBM Planning Analytics Tips.

Then create and execute a TI process with the “RefreshMdxHierarchy()” function in the prolog

Planning Analytics Virtual Hierarchies in Cognos Analytics. IBM Planning Analytics Tricks.

Within Cognos Analytics, you now have access to the bpmPeriod dimension as it exists normally and also have access to all of the virtual hierarchies and their named levels for use with level-based, relative functions. This will make your ad-hoc reporting easier to create.

IBM Planning Analytics Tips & Tricks: Accessing Planning Analytics Virtual Hierarchies in Cognos Analytics

IBM Planning Analytics is full of new features and functionality. Not sure where to start? Our team here at Revelwood can help. Contact us for more information at info@revelwood.com. And stay tuned for more Planning Analytics Tips & Tricks weekly in our Knowledge Center and in upcoming newsletters!

Read more IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: Installing Cognos Analytics Samples

IBM Planning Analytics Tips & Tricks: Writing Rules

IBM Planning Analytics Tips & Tricks: Duplicating Sheets

Need more help with IBM Planning Analytics? Learn about our Customer Care program.

Home » Cognos Analytics

Filed Under: IBM Planning Analytics Tips & Tricks Tagged With: Analytics, Budgeting, Budgeting Planning & Forecasting, Business Intelligence, Cognos Analytics, Financial Performance Management, TM1

Tips & Tricks: Installing Samples with Cognos Analytics

January 30, 2018 by Revelwood Leave a Comment

Tips & Tricks

This is a guest blog post by Revelwood’s Jay Apwah.

Did you know you there are many sample files available for Cognos Analytics? In order to better experience and understand new features in releases of Cognos Analytics, it is recommended that you install the sample databases, models, dashboards and reports.

Installing the samples involves the following four steps:

  1. Installing the samples
  2. Importing the sample content from its archive
  3. Restoring the sample databases from backups
  4. Creating data source connections in Cognos Analytics to the databases

In this blog, we will setup the Go Sales and Go Sales Warehouse samples and restore the databases into Microsoft SQL Server.

Prerequisites

  • Cognos Analytics 11.0.x is installed on Microsoft Windows
  • Cognos Analytics 11.0.x samples are downloaded from the IBM Passport Advantage site
  • SQL Server is installed

Installing the samples

  1. Run the installation for the sample content as administrator.
    Installing samples in Cognos Analytics_1Once installed, all the required files for the remaining steps will end up in a “samples” folder at the same level as your Cognos Analytics installation (if you installed Cognos Analytics with the default installation path). In the screenshot below, the “analytics” folder is where Cognos Analytics is installed by default. The samples will be installed in a separate folder called “samples”.Installing samples in Cognos Analytics_2
  2. In the samples folder, navigate to “\webcontent\samples\content”. You will find an archive called “IBM_Cognos_Samples.zip”. This archive contains the sample visualizations, reports, dashboards and filesInstalling samples in Cognos Analytics_4
  3. Copy that zip file and paste it into the “<Cognos Analytics install location>\deployment” folder.
    Installing samples in Cognos Analytics_4

Importing the sample content from its archive

  1. Login to Cognos Analytics and click the Manage button on the bottom left.Installing Samples in Cognos Analytics_5
  2. Click the option for Administration Console.Installing samples in Cognos Analytics_6
  3. In administration console, click the Configuration tab, then click Content Administration.
    Installing samples in Cognos Analytics_7
  4. On the right-hand side, click the New Import icon.
    Installing samples in Cognos Analytics_8
  5. Select the radio button next to the archive that you placed in the deployment folder. Then click Next > and proceed through the wizard to import the content (dashboards, reports and data files) into Cognos Analytics.
    Installing samples in Cognos Analytics_9
  6. You’ll know you have succeeded when you navigate to the Team Content folder and the samples appear.
    Installing samples in Cognos Analytics_10

Restoring the sample databases from backups

In this step, we will restore the GO Sales Data Warehouse database from a backup file into Microsoft SQL server.

  1. Login to SQL Server Management Studio.
  2. Right-click on Databases and select New Database…
    Installing samples in Cognos Analytics_11
  3. In the New Database wizard, type “GOSALESDW” in the Database name box and click OK.
    Installing samples in Cognos Analytics_12
  4. An empty database called GOSalesDW will appear in the list of databases.
    Installing samples in Cognos Analytics_13
  5. Right-click on Databases and select Restore Database…Installing samples in Cognos Analytics_14
  6. In the Restore Database wizard, select Device, then click the ellipses to the right (i.e., the three dots).
    Installing samples in Cognos Analytics_15
  7.  When asked to select backup devices, click Add
    Installing samples in Cognos Analytics_16
  8. When asked to locate the backup file, navigate to <samples install location>\webcontent\samples\datasources\sqlserver. Then select GOSALESDW.zip
    Installing samples in Cognos Analytics_17
  9. When asked to select backup devices, click on the GOSALESDW.zip path that you found in the previous step and click OK, then click OK again to restore the database.
    Installing samples in Cognos Analytics_18
  10. When you expand GOSALESDW > Tables, the list of restored tables will appear.
    Installing samples in Cognos Analytics_19

Creating data source connections in Cognos Analytics to the databases

In this step we will create a data source connection to the GOSALESDW database.

  1. Login to your Cognos Analytics environment.Installing samples in Cognos Analytics_20
  2. On the bottom left-hand side of the portal page, click the Manage icon, then click Data server connections.Installing samples in Cognos Analytics_21
  3. In the Data server connections pane, click the icon to Add new server.
    Installing samples in Cognos Analytics_22
  4. Since we restored the Microsoft SQL Server database, select Microsoft SQL Server from the Select a Type pane.Installing samples in Cognos Analytics_23
  5. We want to create a connection to the GOSALESDW database. Change the name of the new data server connection to “great_outdoors_warehouse”. Note: It is important to name the data source connection “great_outdoors_warehouse” so the sample reports can link back to the underlying database successfully.Note: When you want to create a connection to the GOSALES database, the data source connection should be named “great_outdoors_sales”.Installing samples in Cognos Analytics_24
  6. Enter the JDBC URL that the connection will use to connect to the GOSALESDW database. The format of the URL is as follows: Jdbc:sqlserver://<servername or IP>:<port>;DATABASE=GOSALESDW. The default SQL Server port is 1433.

    Installing samples in Cognos Analytics_25
  7. Select the radio button next to Use the following signon:, then click the icon to add a new sign-on.
    Installing samples in Cognos Analytics_26
  8. On the right, enter the credentials used to login to SQL Server Management Studio and access the GOSALESDW database.Installing samples in Cognos Analytics_27
  9. Save the connection information.Installing samples in Cognos Analytics_28
  10. Test the connection configuration.
    Installing samples in Cognos Analytics_29Note: If you receive driver-related errors when testing the connection, ensure that you have the sqljdbc42.jar file in <Cognos install location>\drivers. Move old versions of that driver to a safe location. You’ll have to restart the Cognos services for the addition of the new driver to take effect.
  11. To test that the data source connection to the GOSALESDW database was successful, run a sample report called “Sales managers” located in Team Content > Samples > Reports > Standard Reports.

Cognos Analytics is full of new features and functionality. Not sure where to start?  Our team here at Revelwood can help.  Contact us for more information at info@revelwood.com.  And stay tuned for more Tips & Tricks in our Knowledge Center and in upcoming newsletters!

Home » Cognos Analytics

Filed Under: IBM Planning Analytics Tips & Tricks Tagged With: Business Intelligence, Cognos Analytics

Footer

Revelwood Overview

Revelwood helps finance organizations close, consolidate, plan, monitor and analyze business performance. As experts in solutions for the Office of Finance, we partner with best-in-breed software companies by applying best practices guidance and our pre-configured applications to help businesses achieve their full potential.

EXPERTISE

  • Workday Adaptive Planning
  • IBM Planning Analytics
  • BlackLine

ABOUT

  • Who We Are
  • What We Do
  • How We Help
  • How We Think
  • Privacy

CONNECT

World Headquarters

Florham Park, NJ | 201 984 3030

European Headquarters

London & Edinburgh | +44 (0)131 240 3866

Latin America Office

Miami, FL | 201 987 4198

Email
info@revelwood.com

Copyright © 2025 · Revelwood Inc. All rights reserved. Revelwood® and the Revelwood logo are registered marks of Revelwood Inc.