Regular and limited relationships in Power BI
This article describes what limited relationships are and the differences between regular and limited relationship in Power BI and DAX. UPDATE 2021-11-07: The terms “strong” and “weak” relationships...
View ArticleDirectQuery in Analysis Services 2016
This white paper describes how to use and optimizing DirectQuery with Analysis Services Tabular. DirectQuery transforms the Microsoft SQL Server Analysis Services Tabular model into a metadata layer on...
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 ArticleDifferent options to model many to many relationships in Power BI and Tabular
There are two options to model many-to-many relationships using Tabular and Power BI: you can use either a regular bidirectional filter relationship, or a limited unidirectional relationship. In this...
View ArticleDifferent options to model many-to-many relationships in Power BI and Tabular
There are two options to model many-to-many relationships using Tabular and Power BI: you can use either a regular bidirectional filter relationship, or a limited unidirectional relationship. In this...
View ArticleIntroducing wholesale and retail execution in composite models
In composite models, any query can be executed on the remote model (wholesale execution) or by mixing local and remote engines together (retail execution). This article describes the differences...
View ArticleUnderstanding the interactions between composite models and calculation groups
When used in a composite model, calculation groups show a very unique behavior that a good DAX developer must understand well to build sound models. In this article we describe how composite models and...
View ArticleUnderstanding the interactions between composite models and calculation groups
This video explains how composite models and calculation groups work together. Indeed, they might show a very unique behavior that a good DAX developer must understand well to build sound models.
View ArticleIntroducing SUMMARIZECOLUMNS
This article explains how to use SUMMARIZECOLUMNS, which is a replacement of SUMMARIZE and does not require the use of ADDCOLUMNS to obtain good performance. UPDATE 2017-02-01: The SUMMARIZECOLUMNS...
View ArticleUsing ALLSELECTED in composite models
Using ALLSELECTED with no arguments in a remote model later used in a composite model might produce unexpected results. In this article we examine the topic and provide the reasons why ALLSELECTED...
View ArticleScripting syntax for calculation groups
This article introduces the syntax to describe in a textual form the DAX expressions and additional properties of calculation groups. When calculation groups were introduced in 2019, we did not have a...
View ArticleCalculating First and Second Year of Sales by Customer in #dax #powerpivot...
I recently wrote an article that describes how to calculate a measure (such a sales, but it could be anything else) considering for each customer its first 12 months, then months 13-24 and so on. In...
View ArticleCreating Calculation Groups in Power BI Desktop
Something really big is happening! The July 2020 version of Power BI Desktop allows you to create calculation groups in Power BI Desktop, thanks to the new “external tools” feature that enables the...
View ArticleCalculated Columns and Measures in DAX
One of the first concepts to learn in DAX is the difference between calculated columns and measures. This article shortly recaps the differences and describes when to use each one. Calculated columns...
View ArticleAbout waiting time for Power BI Desktop to open
Did you ever experience a long waiting time while opening a Power BI Desktop file? There could be many reasons for that, but if you have calculated columns and/or calculated tables in your model, you...
View ArticleHiding measures by using object-level security in Power BI
This article describes how to hide measures from a group of users by leveraging object-level security in Power BI and Analysis Services. Power BI datasets and Analysis Services models share a common...
View ArticleUsing GENERATE and ROW instead of ADDCOLUMNS in DAX
This article explains how to improve DAX queries using GENERATE and ROW instead of ADDCOLUMNS when you create table expressions. A very popular DAX function to manipulate columns in a table expression...
View ArticleNested grouping using GROUPBY vs SUMMARIZE
DAX introduced a GROUPBY function that should replace SUMMARIZE in some scenarios. This article describes how to use GROUPBY in nested grouping scenarios and other improvements. Limitations of...
View Article