| Dynamic named sets in AS2008 - not as fun as you might think |
| Written by Chris Webb |
| Saturday, 19 January 2008 16:04 |
|
I got all excited when, last summer, Mosha blogged about dynamic named sets in Katmai: just when it looked like there weren't going to be any cool new features to play with in AS2008, here was a juicy new MDX thing. However I didn't really play with them properly until a bit later when I came to prepare my presentation for last autumn's SQLBits conference, and that's when I realised that they weren't quite as cool or useful as I had thought they were going to be. The key thing I hadn't picked up on from my initial reading of Mosha's blog entry was that they are evaluated once per query. While that means they are still useful in some scenarios, one of the key examples that Mosha describes in his blog entry is a bit misleading and that's the ranking example. We all know, or at least we should all know, that the key to optimising rank calculations is to declare a named set which gets ordered just once and which is referenced inside the calculated member that returns the rank. Mosha accurately points out that the big drawback to this approach is that "It can only be used when the user can write his own MDX query" but then says that dynamic named sets are a solution - and my point here is that, in my opinion, they aren't really. |
Latest Author Articles
- Reporting Services-generate MDX, Subselects and Formula Caching
- Calculated members are better than assignments to real members (at least sometimes)
- Using AS Data Mining to Add Forecast Values to a Cube
- Displaying totals at the bottom
- Generating large numbers of partitions using Excel
Top Rated
- SSAS Implementation Best Practices slides in PDF format
- SSRS Report Against a SSAS Parent Hierarchy
- Handling inter-dimensional members dependency and reducing cube sparsity using reference dimensions in Analysis Services 2005
- Cube structure optimization for MDX query performance in Analysis Services 2005 SP2: Tips for Parent Child Hierarchies usage
- Handling Multiple Calendars with a M2M Scenario
- Passing MDX parameters in Reporting Services reports
- Using UserName to Control Data Access and Default Member in SSAS 2K5 (Carrie Williams)
- SSAS Tutorial: SQL Server 2005 Analysis Services Tutorial by Accelebrate

