"Ralf Mayer" schrieb im Newsbeitrag...
Quote:
http://msdn.microsoft.com/library/de...nservdrill.asp
Say I got a very simple table in Excel (loaded from a cube)
Orders Items
October 3 5 |
I should have added an example of the mdx command issued to drill, here it
is (in this case for 8th of July 2006, Detail Level is the cube name, Data
is dimension containing the date of an order):
DRILLTHROUGH MAXROWS 65000 SELECT {[Data].[Submitted Date].[Submitted
Year].&[2006].&[200607].&
[20060708]} ON 0 FROM [Detail Level]
I think this is the most simple command possible... It will return 5 detail
lines for all the items in the 3 orders on the day.
I do not have a return clause in here, I have 2 sets of Drillthrough actions
defined in the Cube Actions, hoping the drill would use the appropriate one
(as the link above would suggest). The command is generated identical for
the orders measure group or items measure group btw, and that I think is the
problem.
How would it have to be changed to return only the 3 orders and not give the
duplicates, if that is possible at all? Or is the setup in Cube Actions what
I need to get this result?