Computing the future value of an investment based on compound growth in DAX
This article describes how to write efficient DAX expressions that compute the compound interest of incremental investments made throughout the holding period. Defining compound interest If you make an...
View ArticleA small change in DAX Formatter and in DAX formatting rules
DAX Formatter was created in 2013 to help users format their code based on the Rules for DAX Code Formatting published in October 2012. Because the main goal is to make the code immediately readable...
View ArticleOptimizing LASTNONBLANK and LASTNONBLANKVALUE calculations
This article explains the behavior of LASTNONBLANK, LASTNONBLANKVALUE, and similar DAX functions, also providing patterns for performance optimization. The DAX language can operate on aggregated values...
View ArticleRelationships in Power BI and Tabular models
This article describes the types of relationships available in Power BI and Analysis Services, clarifying the differences in cardinality and filter propagation of physical relationships. Power BI and...
View ArticleCurrency conversion in Power BI reports
This article describes how to implement currency conversion for reporting purposes in Power BI. Currency conversion applied to reporting can include many different scenarios. Data in multiple...
View ArticleThe COALESCE function in DAX
COALESCE is a DAX function introduced in March 2020. This article describes the purpose of COALESCE and how to simplify DAX expressions by removing verbose conditions, and yet obtain the same result. A...
View ArticleFrom SQL to DAX: Projection
This article describes projection functions and techniques in DAX, showing the differences between SELECTCOLUMNS, ADDCOLUMNS, and SUMMARIZE. 2020-03-15 UPDATE: The original version of this article...
View ArticleCalculation Groups section in the Mastering DAX Video course
UPDATE 2020-03-28: Calculation groups are coming soon to Power BI Desktop, read the added section at the bottom of the post. I am glad to announce that we just released an additional module about...
View ArticleControlling Format Strings in Calculation Groups
This article describes how to control format strings in calculation groups. Before starting, we suggest you read the previous articles in this series. Each calculation item can change the result of a...
View ArticleObtaining accurate totals in DAX
This article describes how to compute visual totals accurately, in case a measure does not provide the right result at the total level but works correctly in other rows of the report. In simple DAX...
View ArticleWorking below a DAX formula’s granularity
This article explains how to control the result provided by a formula in a DAX measure when the measure is being used in a report with granularity below the granularity supported by the formula. In the...
View ArticleThe Definitive Guide to DAX second edition now available worldwide
The second edition of The Definitive Guide to DAX is now available worldwide! This blog post explains why we felt the need to rewrite the book and describes what happens behind the scenes when...
View ArticleWorking below a DAX formula’s granularity
This article explains how to control the result provided by a formula in a DAX measure when the measure is being used in a report with granularity below the granularity supported by the formula. In the...
View ArticleAvoiding Pitfalls in Calculation Groups Precedence
This article describes in which conditions the precedence of calculation groups might return unexpected results when filtering calculation items in both the visuals and the measures present in a...
View ArticleChecking model size using VertiPaq Analyzer in DAX Studio
VertiPaq Analyzer is a set of tools and libraries to analyze VertiPaq storage structures for a data model in Power BI and Analysis Services Tabular. In this webinar recorded for powerbi.tips, Marco...
View ArticleApplying color banding by document number in Power BI
This article describes how to use conditional formatting with a DAX expression to color the rows of a table in Power BI based on the order number instead of using the alternate rows color formatting...
View ArticleOptimizing card visuals in slow Power BI reports
This article describes how to optimize a slow Power BI report that has a large number of card visuals, by obtaining the same graphical layout with a smaller number of visuals. Every visual element in a...
View ArticleHighlighting the minimum and maximum values in a Power BI matrix
This article shows how to use DAX and conditional formatting together to highlight the minimum and maximum values in a matrix in Power BI. Conditional formatting is a handy feature in Power BI;...
View ArticleUsing USERELATIONSHIP in DAX
This article shows how to use the USERELATIONSHIP function in DAX to change the active relationship in a CALCULATE function. If two tables are linked by more than one relationship, you can decide which...
View ArticleStandard DAX separators in Power BI Desktop
Starting from the May 2020 version of Power BI Desktop, regardless of the Windows locale settings DAX always uses standard separators by default. This change does not affect most Power BI users around...
View Article