Using calculation groups to selectively replace measures in DAX expressions
This article describes how to use calculation groups to dynamically replace only a partial expression in a complex DAX calculation. This article contains a shorter technical description of the...
View ArticleUnderstanding the difference between LASTDATE and MAX in DAX
This article explains why in many cases, MAX should be used instead of LASTDATE to search for the last date in a time period using DAX. Many DAX newbies use LASTDATE to search for the last date in a...
View ArticleCreating a simpler and chart-friendly Date table in Power BI
A Date table in Power BI can have a smaller number of columns by leveraging custom format strings to adequately control the chart visualization and the sort order. Implementing a classic Date table A...
View ArticleCreating a service principal account for Power BI API
This article and its companion video describe how to create a service principal account to be used with the Power BI API. The reader must already be familiar with the Power BI API. There are many...
View ArticleExternal Tools for Power BI – London Power BI User Group
Power BI has an integration with external tools that can provide additional features and improve the productivity of report authors. In this session we see how this integration works and we analyze a...
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 ArticleDynamic format strings with calculation groups
This article shows two techniques based on calculation groups: how to implement dynamic format strings in regular measures, and how to perform weight conversion on the fly. Each product in Contoso...
View ArticleKPIs in Tabular models for Power BI and Excel
A Tabular model can define a measure as a Key Performance Indicator (KPI), thus providing a visual indicator for status and trend. This article describes in detail the KPI settings needed to get the...
View ArticleFormula engine and storage engine in DAX
This article explains the roles of the formula engine and of the storage engine used to execute DAX queries. A large amount of Power BI users use DAX to write measures and calculated columns. However,...
View ArticleRANKX on multiple columns with DAX and Power BI
This article shows techniques to obtain a ranking based on more than one column. The ranking can be both static and dynamic. DAX offers the RANKX function to compute ranking over a table, based on...
View ArticleOptimizing memory settings in Analysis Services
This article describes the memory configuration in SQL Server Analysis Services and Azure Analysis Services. Modifying these settings may impact performance and memory errors. When you manage instances...
View ArticleUsing calculation groups to switch between dates
This article shows how to use calculation groups to change the active relationship in a model in order to let users choose among multiple dates. It is common to find multiple dates in your Sales table....
View ArticleImport vs. DirectQuery in Power BI
Should you use Import or DirectQuery data connectivity mode for your Power BI models? Let’s make the right choice by comparing the performance and scalability of the two options!
View ArticleNew composite models in Power BI: A milestone in Business Intelligence
Power BI sets a new milestone in Business Intelligence: Marco describes the importance of new composite models in an article, and Alberto shows them in action in a video. Microsoft released a new...
View Article