Assuming that the date is included higher up the [Time Sampled]
dimension hierarchy:
Quote:
|
SELECT {[Measures].[Sampled Value]} ON COLUMNS,
|
FILTER(Descendants(Tail(NonEmptyCrossJoin(
[Time Sampled].[Date].Members), 7),
[Time Sampled].[Minute]),
[Measures].[Sampled Value] <> 0) ON ROWS
FROM MOM_Performance
WHERE ([Computer].[Computer Name].[DEV1],
[Performance Names].[% Processor Time])
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***