Quantcast
Channel: SQLBI
Browsing all 434 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

A 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 Article


Image may be NSFW.
Clik here to view.

Optimizing 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 Article

Image may be NSFW.
Clik here to view.

Relationships 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 Article

Image may be NSFW.
Clik here to view.

Currency 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

From 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 Article

Image may be NSFW.
Clik here to view.

Calculation 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 Article


Image may be NSFW.
Clik here to view.

Controlling 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 Article


Image may be NSFW.
Clik here to view.

Obtaining 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 Article

Image may be NSFW.
Clik here to view.

Working 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

Working 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 Article


Image may be NSFW.
Clik here to view.

Avoiding 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 Article

Image may be NSFW.
Clik here to view.

Checking 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 Article


Image may be NSFW.
Clik here to view.

Applying 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 Article

Image may be NSFW.
Clik here to view.

Optimizing 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 Article


Image may be NSFW.
Clik here to view.

Highlighting 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Standard 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
Browsing all 434 articles
Browse latest View live