Throughout this chapter, you have explored the various time-based functions and how they can be used to enhance business analysis and solve business problems. Although each of these functions is valuable on its own, they are often used in combination to provide even greater insight and clarity into the analysis of business data. These may seem like very challenging metrics to assemble, but in reality they are no more complex than most other metrics calculated throughout this book. The trick is to remember tuple and expression basics.
Calculate year-to-date and prior period year-to-date sales
Open the MDX Query Editor to the MDX Step-by-Step database.
Enter the following query to retrieve reseller sales for the months ...