I am working on a modular modelling architecture in Cognos Analytics using multiple data modules.
The structure is roughly as follows:
Data Warehouse
│
│
Fact modules
Dimension modules
│
│
Analysis modules (facts joined with dimensions)
│
│
Enterprise / Uber module
│
│
Dashboards
In the analysis modules I am able to create lookup references to the time dimension and use them to generate relative time measures (e.g. YTD, MTD, Today, Yesterday). This works as expected.
However, if I want to use the analysis module in an enterprise/uber module, I need to convert the dimensions to shortcuts, according to the reference in the bottom (to have a conformed dimension).
As a result, the relative time logic (lookup reference + generated measures) cannot be edited or extended in the analysis module.
So my questions are:
- How do people typically handle relative time in a multi-module architecture like this?
- Is there a recommended way to design an analysis module, that can later be used in an enterprise reporting module that supports relative time calculations and conformed dimensions?
For context, the goal of the enterprise module is simply to provide a unified model for report and dashboard authors while keeping modelling logic reusable in the lower layers.
Any guidance or best practices would be appreciated.
Ref enterprise-model:
Multi-modeler, multi-module techniques
Multi-modeler, multi-module techniques data modules complex modelling projects modularity
------------------------------
Davy TRAN
------------------------------