This is a link-collection that Martin has been doing when investigating, how and why the auto-hide-member of trivial members (they show a single child with the same semantics and are mostly artificially introduced to render unbalanced parent-child tress into balanced md-trees) does not work with Excel 2007 and SSAS 2008.
The Microsoft Documentation for the HideMemberIf-Property mentions the MDX Compatibility-Level of connections.
Chris Webb and Mark Russo describe how Excel 2007 overwrites the property value no matter what you specified.
There was a time when you could set the level in the registry back with SSAS 2000.
http://social.msdn.microsoft.com/forums/en-US/sqlanalysisservices/thread/aeca1ce0-e6aa-4fdc-b604-cc0e27b7ab5a/
--> in 2005 + 2008 ist der Registry-Eintrag nicht vorgesehen
Greg Galloway hacks Excel to be content overwriting only a first fake property:
Extended Properties="MDX Compatibility=2";MDX Compatibility=2;
However, in our experiments, this rendered the whole subbranch invisible.
Oh no, we do not sacrifice so much for that functionality.
Posts mit dem Label 2007 werden angezeigt. Alle Posts anzeigen
Posts mit dem Label 2007 werden angezeigt. Alle Posts anzeigen
Montag, 8. März 2010
Montag, 7. Dezember 2009
Non-Pivot-Friendly MDX through Excel 2007 [Updated]
I am sooooo glad for Greg Galloway´s tiny little comment to this post.
Because we were looking for a solution to integrate MDX queries into Excel which are not very pivot-table friendly.
Why do you ever want to do something esoteric like that? Suppose you want to compare very specific data-points in your tuple-space with each other (a monthly real margin from one year in one store with a daily plan margin from a region in a completely different year). Then, your pivot table will necessarily cross-join all the individual coordinate components (year/month/day(s) of both years, affected region/store(s), plan & real measures) and come with a solution set that is orders of magnitude too large and cannot be reasonably filtered without going nuts.
That is where you should rather build up a small (remember: SMALL in the sense of aggregated fact data) pivot table, do a drill-though and then save the resulting query table as a nice template for your future experiments.
I have not been able to create that query table by any other means in Excel 2007!
Update:
There is another way for executing and displaying mdx described by Hilmar Buchta which might be more useful when you need full (VBA) control over the connection/command behaviour, e.g., when you first need to check whether the result is empty (and hence would destroy the layouted table structure).
Because we were looking for a solution to integrate MDX queries into Excel which are not very pivot-table friendly.
Why do you ever want to do something esoteric like that? Suppose you want to compare very specific data-points in your tuple-space with each other (a monthly real margin from one year in one store with a daily plan margin from a region in a completely different year). Then, your pivot table will necessarily cross-join all the individual coordinate components (year/month/day(s) of both years, affected region/store(s), plan & real measures) and come with a solution set that is orders of magnitude too large and cannot be reasonably filtered without going nuts.
That is where you should rather build up a small (remember: SMALL in the sense of aggregated fact data) pivot table, do a drill-though and then save the resulting query table as a nice template for your future experiments.
I have not been able to create that query table by any other means in Excel 2007!
Update:
There is another way for executing and displaying mdx described by Hilmar Buchta which might be more useful when you need full (VBA) control over the connection/command behaviour, e.g., when you first need to check whether the result is empty (and hence would destroy the layouted table structure).
Abonnieren
Posts (Atom)