THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

SQLBI - Marco Russo

Please visit the same blog at - comments are now disabled here but you can comment on the new blog (all blog posts available here are available there, too).
You can follow me on Twitter: @marcorus

Median, Moving Average, Quartile and Percentile calculations in #PowerPivot

Javier Guillén wrote several blog post about how to implement certain common calculations in PowerPivot. It is interesting to read his posts not only because of the solutions he propose, but also because he uses several techniques that can be applied in other scenarios.

Here is a list of posts and reasons to read:

  • Calculating Moving Averages in PowerPivot/DAX: a classical scenario solved by using just a measure and in a very clean way (the average is correctly calculated also when the period available is shorter than the standard period defined for the moving average)
  • Calculating Median in PowerPivot/DAX: this is the same calculation I solved in another post with a calculated masure, but Javier shows how to implement in with a measure - this will be much useful with BISM Tabular, whenever you cannot change the data model on the client side like you do easily in PowerPivot by adding a calculated column.
  • Quartile, Percentile and Median in PowerPivot/DAX: use an MDX calculated member in a PivotTable of PowerPivot data, with the help of OLAP PivotTable extensions. Do you know that you can inject a DAX expression in a calculated member using this same technique? Probably not, it is not documented anywhere but it is absolutely supported - more about this in a future post!
Published Tuesday, September 13, 2011 7:18 AM by Marco Russo (SQLBI)
Filed under: , ,


No Comments
New Comments to this post are disabled

About Marco Russo (SQLBI)

Marco Russo is a consultant, writer and trainer specialized in Business Intelligence with Microsoft technologies. He runs the SQLBI.COM website, which is dedicated to distribute resources useful for BI developers, like Integration Services components, Analysis Services models, tools, technical information and so on. Marco is certified as MCT, MCDBA, MCSD.NET, MCSA, MCSE+I.

This Blog



Privacy Statement