Analytic functions in SQL Server 2012 – Part I – Distributions
In this article, I take a look at the analytic functions in SQL Server 2012 to handle frequency distributions. CUME_DIST The CUME_DIST function returns the percentage of records that are of same or...
View ArticleAnalytic functions in SQL Server 2012–Part II –
For the rest of this article, suppose you have a table describing events, with the following columns: EmployeeID: the ID of the employee who triggered the event ItemID: the ID of the item for which the...
View ArticleNotes on “Usage of dates argument in a row context” by Marco Russo
Marco Russo recently blogged about the usage of dates arguments in a row context. The measure he presents as producing “wrong results”, actually produces the results I expected. For this reason, I had...
View ArticleAttribute relationships and cube space in SSAS
Defining attributes on your dimension will improve processing and querying performance but might also affect the results of your queries, sometimes leading to unexpected results. This has already been...
View ArticleBug in PowerPivot 2012 for Excel 2010
I spotted what I firmly believe to be a bug in PowerPivot. If you already met this problem and/or can reproduce this issue, please support this ticket on MS Connect. An MS employee might – someday ,...
View ArticleEquivalent of VLOOKUP in DAX–Part I
One frequent DAX requirement is to write a formula that behaves like the VLOOKUP function in Excel. Gehrard Brueckl recently blogged about how to map a date to a fiscal period, when fiscal periods are...
View ArticleEquivalent of VLOOKUP in DAX – Part II – using TOPN
In my previous entry, I presented the LOOKUPVALUE function. In this article, I will explain how you can use the TOPN function to mimic the behavior of VLOOKUP when doing “approximate” searches. Ken...
View ArticleMicrosoft Data Explorer–a review
As you are probably aware, Microsoft released a Preview version of the Data Explorer add-In. It is currently available for Excel 2010 and Excel 2013. Hopefully, this will still be true for the release...
View ArticleUsing a self-signed SSL certificate with SQL Server
Learning to configure SQL Server to use a self-signed SSL certificate was not really part of my training plan. However, Data Explorer required SSL encryption to connect to SQL Server. On the same day I...
View ArticleInconsistent drillthrough behavior in Power Pivot and SSAS Tabular
When you define more than one relationship between two tables, drillthroughs may return unexpected results. Get the file! The problem If two or more relationships exist between two tables, knowing...
View Article