BariAbdul wrote:Thanks Allan,Isn't it Dimension Worksheets are used by only TM1 veterans and not a common practice by current lot,I agree it is easy to main and scalable.Please Clarify.
Presumably you were told that by the same person who told you how to spell my name.
The information is just as accurate.
There is rarely "one right way" of doing things, but rather all have their advantages and disadvantages.
It's probably true that most training courses, especially Cognos training courses, would not emphasise (or even cover) .xdis. In part this would be because IBM is convinced that the shinier and glossier and GUIer the interface is, the better it must be (therefore in their world Dimension Editor > .xdi, notwithstanding evidence to the contrary), in part it's because it's simply physically impossible to cover every possible aspect of the user interface in a one to two day training course. Consequently a lot of newer users may not use them simply because they don't know about them in the first place.
To my mind (and other people's mileages may vary) the advantages and disadvantages are as follows:
.xdis
Advantages
- Can be formatted which allows you to easily distinguish various hierarchies or element groups by font, colour, etc.
- Can use formulas to create hierarchies. Before anyone says "Hardly anyone does that", that's their problem, not mine. I find it useful, especially but not exclusively with date hierarchies.
- You have absolute control over the arrangement of hierarchies.
- That includes copying large areas of the dimension from one place to another which may be some way away from your starting point. You can use side by side windows to do this. You can freeze panes to do this. You can use GoTo to do this. You can use any part of Excel's functionality to do this.
- You can create formulas to the elements' attributes cube on the .xdi sheet giving you "one stop shop" maintenance for your dimensions.
- And the big one: You can store metadata
about your metadata. Who requested a hierarchy change, when, why etc, etc. The other methods offer no
convenient way of doing this.
Disdvantages
- Manually intensive and therefore not well-suited to dimensions that change frequently.
- No easy or elegant way of automating the process of adding new elements stemming from an interface. (You can kludge one with VBA but it's not usually pretty.)
- Can get unwieldy if the dimension is very large. I'm not sure whether it works if the dimension exceeds the 65,536 rows of legacy Excel and am not sure that I want to find out.
TurboIntegrator
Advantages
- Can automatically create and maintain elements and a hierarchy from a data interface.
- Capable of creating elements and structures from programming loops. To some extent. If you're good at coding it.
- Fast.
- Once you've invested time in writing the code it largely runs in a "hands off" manner.
Disdvantages
- Need to structure the data source (or
a data source) so that you have a feed which shows not only the N level elements but also their parent so that you can create the hierarchy.
- Fiddly to create unstructured custom analysis consolidations; rather than creating them by copying and pasting the way you do with an .xdi you need to write the code to do it.
- You need to visualise the structures in your head as you write the code; you don't have a graphical layout to guide you the way you can have with an .xdi. Not such a problem with simple hierarchies, more of a problem with complex ones.
Dimension Editor
Advantages
- Ummmm.... Errrrrr... Lemmie see now.... it'll come to me eventually....
- Oh yeah, I know! If you have a dimension which is normally created and maintained by TI, it's relatively easy to create a quick and dirty custom analysis consolidation as long as it doesn't have too many levels.
- You can add multiple elements relatively quickly. As long as they're all N/ "simple" ones. And as long as you create the list outside of Dimension Editor and paste them in. In which case, why not just do the sodding list in an .xdi?
- It looks like a GUI, therefore it must be good. Oh wait, that's from the IBM Design Department guidelines.
Disadvantages
- I find maintaining anything other than a very short dimension with a very simple hierarchy to be a pain in the rectal region.
- Multiply that by a factor of a thousand for a long dimension with multiple hierarchies.
I'm sure that some people like the Dimension Editor. Other people enjoy being tied up and whipped as well, so I suppose it's important to cater for a range of tastes. But personally I regard the keyboard as the shortest way of getting from A to B when it comes to doing serious work rather than just viewing You Tube videos. The Dimension Editor, on the other hand, strikes me as having been born of that curious mindset that the more you have to use a mouse to click and point and drag and click some more (or in the more modern paradigm, fingers to swipe and swoosh), the better. For the type of work that's done in running a TM1 server, it's the kind of interface that I find gets in my way more often than it helps me. (See also, the (ef)fluent user interface (a.k.a. "the ribbon") in Office 2007 and later.)
So no, .xdis are not just for veterans. They're for anyone who understands when they will (and won't) give them an advantage over the alternative methods.
(And don't get me started on training courses that teach you only how to get TIs to write the code for you...)