LAUNCH OFFER: the books on Amazon, Apple, and Google stores have a reduced price (35% discount) until August 31, 2020. Starting September 1, 2020, the ebook
Generating Row Number in Power BI Visualization Using DAX
I have previously explained how to generate a row-number using Power Query. That method is good for pre-calculating row-numbers in the table. However, sometimes, you want to calculate the row number in a visual, based on something dynamic. That is where DAX comes handy. Let's see how this is possible. Sample model I have a…
Chris Webb's BI Blog: The Pros And Cons Of Modelling Measures As A Dimension In Power BI
You probably know that dimensional modelling and building a star schema are very important in Power BI. In a star schema you’ll have at least one fact table, and in your fact table you’…
This article describes how to create Key Performance Indicators (KPI) in a Power BI Desktop data model by using Tabular Editor. Starting from the July 2020
Using calculation groups to selectively replace measures in DAX expressions - SQLBI
This article describes how to use calculation groups to dynamically replace only a partial expression in a complex DAX calculation. This article contains a
Custom KPI Trend Calculation – UP ↑ – DOWN ↓ – or About The Same → (PowerBI DAX Tutorial)
Imaging a scenario where your monthly sales are $80 while the budge value for sales was supposed to be $100. Obviously, you are not making your number. However, would you rather be 20% short but wi…
Understanding the difference between LASTDATE and MAX in DAX - SQLBI
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
Compare DAX and M formulas in Visual Studio Code - Microsoft Power BI Community
Compare DAX and M formulas in Visual Studio Code is really easy with the help of Power BI Sidetools. As it is possible to transfer DAX and M formulas from Power BI desktop to files and to open them in Visual Studio Code, it is possible to compare two files. That’s extremely useful in many cases. Y...
How to Build a Multi-KPI Comparator Using Calculation Groups (Power BI DAX Tutorial)
As the name suggests, a multi-kpi comparator allows you to compare multiple KPIs or measures on the same chart. This way you can dramatically reduce the clutter on your Power BI report page. You ca…
Anomaly Detection Calculation Using DAX (Power BI Tutorial)
I am not trying to take Microsoft out of business, but after I read on the Power BI team’s blog that the anomaly detection feature was coming, I decided to see if I could implement something …
Set functions in DAX: UNION, INTERSECT, and EXCEPT - SQLBI
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 t
PowerBI & Big Data – Using pre-calculated Aggregations of Semi- and Non-Additive Measures
Calculating and visualizing semi- and non-additive measures like distinct count in Power BI is usually not a big deal. However, things can become challenging if your data volume grows and exceeds the …
Using calculation groups to switch between dates - SQLBI
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 commo
[vc_row][vc_column width="1/1"][vc_single_image media="88035" media_width_percent="100"][vc_column_text]Watch the video above to learn how to set up a visual with a dynamic date axis […]
Cumulative Discount or Commission Calculation (Power BI DAX Tutorial) – business intelligist
If you are looking to challenge your DAX skills while trying to figure out how to calculate a Cumulative Discount (or a Cumulative Commission) then this tutorial is for you. A Cumulative discount i…
This article describes the syntax and the use cases of the DEFINE TABLE statement in DAX. Introduced in December 2020, the DEFINE TABLE statement lets you d
On how to ask a technical question, if you really want an answer - SQLBI
How many times did you ask a technical question, to be met with a laconic “it depends”? Or worse, for your question to be totally ignored? This is so ty
This article describes the syntax and the use cases of the DEFINE COLUMN statement in DAX. Introduced in December 2020, the DEFINE COLUMN statement lets you
Filtering the top products alongside the other products in Power BI - SQLBI
This article shows an optimized DAX technique to display the first N products for each category in Power BI, adding a row that aggregates the value for all
Working with Averages in DAX using AVERAGEX, SUMMARIZE and DATESINPERIOD
In this blog post, we are going to dive into the world of averages and how to solve problems when calculating averages by using CALCULATE, SUMMARIZE and AVERAGEX. Specifically, we look at creating …