Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
MDX with Microsoft SQL Server 2016 Analysis Services Cookbook

You're reading from   MDX with Microsoft SQL Server 2016 Analysis Services Cookbook Over 70 practical recipes to analyze multi-dimensional data in SQL Server 2016 Analysis Services cubes

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781786460998
Length 586 pages
Edition 3rd Edition
Arrow right icon
Authors (2):
Arrow left icon
 Li Li
Author Profile Icon Li
Li
Tomislav Piasevoli Tomislav Piasevoli
Author Profile Icon Tomislav Piasevoli
Tomislav Piasevoli
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

MDX with Microsoft SQL Server 2016 Analysis Services Cookbook Third Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Elementary MDX Techniques Working with Sets FREE CHAPTER Working with Time Concise Reporting Navigation MDX for Reporting Business Analyses When MDX is Not Enough Metadata - Driven Calculations On the Edge

Calculating parallel periods for multiple dates in a set


In the Calculating the year-over-year (YoY) growth (parallel periods) recipe, we have shown how the ParallelPeriod() function works and how it can be used to calculate the YoY growth. All we had to do is specify a member, ancestor's level, and an offset, and the parallel member was returned as a result.

Online Analytical Processing (OLAP) works in discrete space and therefore many functions, ParallelPeriod() included, expect a single member as their argument. On the other hand, relational reports are almost always designed using a date range, with Date1 and Date2 parameters for many relational reports. As the relational reporting has a longer tradition than the multidimensional, people are used to thinking in ranges. They expect many multidimensional reports to follow the same logic. However, operating on a range is neither easy nor efficient. A cube designed with best practices can help, by eliminating the need for ranges and increasing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images