• subscribe
April 26, 2001 12:00 AM

April MDX Puzzle Solution Revealed

SQL Server Pro
InstantDoc ID #20170
Downloads
20170.zip

According to the SQL Server Books Online (BOL) documentation, only the Enterprise Edition of SQL Server 2000 Analysis Services supports calculated cells. How can you solve the following problem without using calculated cells? Show Unit Sales for each drink product department for each quarter of 1997, and use cell properties to highlight in red those Unit Sales values that dropped from the previous quarter. You can also use a calculated member with cell properties to solve the same problem. In this solution, which Listing A shows, I created a new measure, New Unit Sales, which has the same values as the original Unit Sales measure. But I used an MDX formula inside the definition of the foreground-color cell property to force the solution to show decreasing Unit Sales values in red. Figure A shows the query result.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here