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

Image may be NSFW.
Clik here to view.

Naming variables in DAX

The current version of DAX has a limitation for names you can provide to variables in a DAX expression: a variable name cannot be the name of a table in the data model. This is not a big issue if you...

View Article


Image may be NSFW.
Clik here to view.

DAX error messages in Power BI

This article describes the real meaning of and the required action for a few common error messages that can appear when users define DAX expressions in Power BI. A DAX expression containing syntax...

View Article


Image may be NSFW.
Clik here to view.

Detect missing parameters in DAX queries

Yesterday I answered to a question related to parameters in DAX that could be useful to other readers who use DAX in Reporting Services (SSRS): how to manage missing parameters of a DAX query? I wrote...

View Article

Image may be NSFW.
Clik here to view.

Why Smart Filter Pro does not use IAP

This week OKViz released Smart Filter Pro 2.0.5, which is the first commercial version of a custom visual for Power BI produced by OKViz. This is the first of other rich and advanced visuals that will...

View Article

Image may be NSFW.
Clik here to view.

Hiding future dates for calculations in DAX

This article describes how to write DAX measures that compute aggregations or comparisons with past dates without showing or comparing future dates. DAX time intelligence functions such as year-to-date...

View Article


Image may be NSFW.
Clik here to view.

Displaying filter context in Power BI Tooltips

This article describes how to display the filter context applied to a calculation using a special DAX measure in Power BI Tooltips. Understanding the filter context applied to a measure in a Power BI...

View Article

Image may be NSFW.
Clik here to view.

Calculation Groups in DAX – first impressions

Microsoft announced at SqlBits a very important feature for DAX: Calculation Groups. These are my first impression about the new feature and the impact it will have on Analysis Services and Power BI....

View Article

Image may be NSFW.
Clik here to view.

Understanding relationships in Power BI

Relationships are the foundation of any Power BI or Analysis Services Tabular data model with multiple entities. At first sight, this is a trivial concept, especially if one has a knowledge of...

View Article


Image may be NSFW.
Clik here to view.

Computing running totals in DAX

This article shows how to compute a running total over a dimension, like for example the date. A very common calculation in DAX is the year-to-date calculation (YTD), which aggregates values from the...

View Article


Image may be NSFW.
Clik here to view.

Counting working days in DAX

This article shows a DAX technique to compute the number of working days between two dates. The example includes a Sales table containing order and delivery dates. DAX can compute the difference...

View Article

Image may be NSFW.
Clik here to view.

Different types of many-to-many relationships in Power BI

The introduction of the weak relationships in Power BI composite models enables new data modeling techniques. However, not all of the many-to-many relationships can be managed by using weak...

View Article

Image may be NSFW.
Clik here to view.

Using DAX with DateTime values

I was recently reading an interesting question by a user. Given a date/time value and a number of hours, add the number of hours to the date, but considering some constraints related to working hours:...

View Article

Image may be NSFW.
Clik here to view.

Start learning Data Modeling for free

SQLBI is now offering a new Data Modeling video course: Introduction to Data Modeling for Power BI. This article describes which users will benefit from this learning experience the most, and how to...

View Article


Image may be NSFW.
Clik here to view.

Semi-Additive Measures in DAX

Values such as inventory and account balance, usually calculated from a snapshot table, require the use of semi-additive measures. This article describes how to implement these calculations in DAX...

View Article

Image may be NSFW.
Clik here to view.

Aggregations in Power BI

Aggregations have been introduced in 2018 in Power BI, as an optimization technique to manage large tables. By providing pre-aggregated tables, you can highly improve the performance of a Tabular data...

View Article


Image may be NSFW.
Clik here to view.

Summing values for the total

This article shows how to compute a measure that sums the values produced row by row in the visual into the visual total, instead of recomputing the total value in the filter context of the total. When...

View Article

Image may be NSFW.
Clik here to view.

Understanding Calculation Group Precedence

This article explains the precedence of calculation groups in DAX, needed whenever multiple calculation groups are present within the same model. Before starting, we suggest you read the previous...

View Article


Image may be NSFW.
Clik here to view.

Filtering the Top 3 products for each category in Power BI

This article describes different techniques to display the first three products for each category in Power BI. It includes considerations on how to adapt the technique to different models and...

View Article

Image may be NSFW.
Clik here to view.

My Power BI Report is Slow – What Should I Do?

In this session, Marco Russo will guide you in analyzing the possible reasons for a slow Power BI report. By using Task Manager and DAX Studio, you will be able to determine whether you should change...

View Article

Image may be NSFW.
Clik here to view.

The Definitive Guide to DAX – 2nd Edition

The Definitive Guide to DAX (Business intelligence with Microsoft Excel, SQL Server Analysis Services, and Power BI) is the most comprehensive and authoritative guide to Microsoft’s DAX language for...

View Article
Browsing all 434 articles
Browse latest View live