Compare equivalent periods in DAX
If you do not have a full month with data, comparisons such as year-over-year (YOY) might require particular filters in order to do a like for like comparison in DAX. This article describes how to...
View ArticleAnalyze DirectQuery requests using DAX Studio
This article describes how DAX Studio can analyze the SQL queries sent to a relational database by Power BI or Analysis Services Tabular in DirectQuery mode. UPDATE 2020-11-11: The DAX Studio option...
View ArticleTransition Matrix Using Calculated Tables
In the 2015 September update, Power BI introduced calculated tables, which are computed using DAX expressions instead of being loaded from a data source. This article shows the usage of calculated...
View ArticleClever Hierarchy Handling in DAX
Hierarchy handling in DAX is not very easy, due to the fact that hierarchies, unlike it was in MDX, are not first-class citizens in the DAX world. While hierarchies can be easily defined in the data...
View ArticleBudget and Other Data at Different Granularities in PowerPivot
PowerPivot and BISM Tabular handle relationships between tables by using a single column that requires to be a unique column in the lookup table. In this article you will see how to handle...
View ArticleOrganizing Measures and Attributes in Folders with Tabular
When you create a Tabular model in Microsoft SQL Server Analysis Services (SSAS), you have to define all of the measures that the user will be able to use. All the measures defined in the measure grid...
View ArticleLookup multiple values in DAX
This article describes different techniques to retrieve multiple values from a lookup table in DAX, improving code readability and performance. There are a number of scenarios in DAX where you need a...
View ArticleSessions and preconference at Microsoft Ignite and PASS Summit
In the second half of 2017 I will deliver sessions and preconference days in two big events. I’d like to recap my sessions here, let me know if you have any questions about them. Microsoft Ignite 2017...
View ArticleConferences and Training in Australia Feb/Mar 2016 #dax #sqlsaturday
In a couple of weeks, I will move to Australia for 3 weeks, visiting Melbourne and Sydney for a number of events and training. This is the list of topics in public events you can attend (with link to...
View ArticleUpcoming conference speeches and workshops in 2016 #ssas #tabular #dax...
The summer is almost over and while we are working on new content (books and other), I already have the plans for this Autumn’s conferences. Microsoft Ignite 2016 – September 26-30, Atlanta, GA See...
View ArticleSpeaking at PASS 2012 Summit in Seattle #sqlpass
I will deliver two sessions at the next PASS Summit 2012: one is title Inside DAX Query Plans and the other is Near Real-Time Analytics with xVelocity (without DirectQuery). These will be two sessions...
View ArticleCreate Static Tables in DAX Using the DATATABLE Function
You can create static tables in DAX using the DATATABLE function. This article describes the syntax of this new feature and shows when and how to use it. UPDATE 2018-04-10: DAX has now table...
View ArticleDAX Patterns 2015 book available now #daxpatterns #dax
2020-08-10 UPDATE: a new edition is out! In 2014 we published several articles in the DAX Patterns web site. We’ll continue to publish new patterns in 2015 (the first one later this month!), but in the...
View ArticleData Model Size with VertiPaq Analyzer
Analyzing table and column size is an important step in optimizing a data model for Power Pivot, Power BI, or Analysis Services Tabular. This article describes VertiPaq Analyzer, an Excel workbook to...
View ArticleUsing Process Add in tabular models
This article describes how to implement incremental updates to an Analysis Services database in Tabular mode with compatibility version 1200 or higher. UPDATE 2021-02-25: this article is valid only for...
View ArticleUSERELATIONSHIP in calculated columns
USERELATIONSHIP lets you temporarily change which relationship is active. Even though USERELATIONSHIP is easy to work with in measures, it can be challenging and give you inaccurate results when used...
View ArticleTabular tools and workspaces – Unplugged #11
What are the differences between Power BI Desktop, Visual Studio, and Tabular Editor as modeling tools? Introducing the workspace is important to understand why Tabular Editor results in being more...
View ArticleWeek-Based Time Intelligence in DAX
The DAX language provides several Time Intelligence functions that simplify writing calculations such as year-to-date (YTD), year-over-year (YOY) and so on. However, if you have a special calendar...
View ArticleChecklist for Memory Optimizations in PowerPivot and Tabular Models
This article contains a short checklist of what you have to do in order to optimize the memory used by a data model in PowerPivot or in Analysis Services Tabular, including links to tools and resources...
View ArticleSet functions in DAX: UNION, INTERSECT, and EXCEPT
This article describes the behavior of the DAX functions that manipulate sets; they are useful to create queries and sometimes also to author measures. In this article we refer to “set functions” as...
View Article