|
|
Storing Comments as ‘Non-Numeric’ MeasuresI think perhaps it is best to be clear from the outset just what OLAP is for. I see two main & interrelated uses: 1. Reporting & querying of ACTUALS 2. Business modelling; i.e. PLANNING The first use is the one that gets most of the attention, usually in the form of multidimensional cubes on top of the datawarehouse. Here, everything is based on underlying tables; the familiar dimension & fact tables & the resulting star/snowflake schema. If forecasts/budgets are to be included then they are expected to be brought into the datawarehouse; again the numbers are in a fact table. The
reality is that these forecasts/budgets are the result of a business model built
using OLAP technology. The business rules mean that much fewer numbers need be input for each forecast & many strategies can be modelled. So if
using OLAP technology for both uses, all ACTUALS from the underlying
transactional systems can be brought in 'Datawarehouse' style. The
nature of planning is these numbers are constantly being adjusted & refined
until the plan is committed. I think
this is adding up to me arguing for a looser connection to underlying tables.
The way
TM1 works (I think) is writeback values are stored in RAM but also written to a
transaction file (in case of crash). SQL/AS
writebacks straight away to a writeback table which gets bigger & bigger until
amalgamated with the original fact table. So, it's not as straight forward as TM1 but it can handle writeback. With the
LookUpCube function it is also possible to flow numbers from one cube to
another, or even calculate new numbers based on numbers in other cubes. This all
adds up to separate cubes for actuals & forecasts. I tend to favour the idea of calculating them on-the-fly in the front-end & not storing them anywhere. However,
I have the desire to store comments. As these
numbers come from cubes that used shared dimensions, it would be desirable to
have a 'comments' cube. AS doesn't allow non-numeric measures though. So if I've no comments cube to store the comments in, there is no great need to store the variances that are not being explained. I hope this shows Microsoft that although they have come a long way with AS, there is still more work to do. |