One of the fundamental things missing from Power Bis visualisation capabilities is the ability to easily control data labels. Having to resort to hacks is not ideal but if good data visualisation i…
Recently I had an interesting use case where I had to a compound calculation in Power BI. You can compound an interest rate for example, where you get a certain rate on your savings. Let's say 1% (which is at the time of writing ridiculously high, but bear with me). After 1 year, you get 1% interest
✨A new DAX function that is already available in the September release of #PowerBIDesktop, but was hidden in the last updates announced in September. ✨#OFFSET allows to make comparisons in context between two values, without writing extremely long and complex
Export your Power BI DAX measures using DAX Studio - A random blog about Business Intelligence
Time to read: 5 minutes Have you ever wanted to search through your Power BI measures, calculated columns or calculated tables for a specific function or table/column reference? Or export your DAX logic for documentation purposes? If this is the case then this post is for you. As a Power BI dataset admin or author, ... Read more
Over the past few days, I attended the Power BI Next Step conference in Lego land – Denmark. During the keynote, Will Thompson – PM on the Power BI team, showed a new DAX function that …
UNDERSTAND THE OUTPUT OF EVALUATEANDLOG FUNCTION OF TABLE EXPRESSIONS
Last week, we learned how to interpret the output of the EvaluateAndLog function of scalar expressions. Albeit interesting, the new function would be much less useful if it could only return scalar…
Chris Webb's BI Blog: Diagnosing Switch-Related Performance Problems In Power BI DAX Using EvaluateAndLog
The Switch function is often a cause of performance problems in DAX. Last year a number of optimisations were made that fixed the most common issues (and as a result you should ignore older blog po…
How to create a dynamic legend with dynamic measure
Field parameters are great for dynamic legends, but the creation of a dyanmic measure + time intel chart can be time consuming. Most of it can be automated.
This is the fourth and the last article on the EvaluateAndLog function. While DAX developers were excited about the prospect of printing the values of a portion of a DAX expression, many of the ear…
One approach to optimise DAX queries is to focus on the number of Storage Engine (SE) calls generated by a query and look for ways to provide the same result using fewer SE calls. If a query takes 30 seconds to run and makes hundreds of SE calls, reducing the number of SE calls almost … Continue reading DAX 1-Column Fusion
DAX Studio 3 has been released today. This new major version has a new user interface and user experience, providing a modern look and feel without losing a
Understand the Output of EvaluateAndLog Function of Scalar Expressions
This is the second article in a series on the introduction to the EvaluateAndLog function. As I explained last time, EvaluateAndLog can be used to print to the debug output the intermediate result …
How to effectively make and use rolling aggregations & rolling trends in Power BI — DATA GOBLINS
Since the start of the COVID-19 crisis, we are bombarded daily with graphics depicting exponential and rolling trends. These analyses are a powerful way to reveal trends in variable, incomplete and discrete data; however, interpreting them is more difficult.
Different filter behaviors in SUMMARIZECOLUMNS and CALCULATETABLE - SQLBI
We recently updated SUMMARIZECOLUMNS on DAX Guide by adding an example that clarifies the difference between a filter applied to SUMMARIZECOLUMNS and a filt
Using variables in DAX makes the code easier to read, faster, and easier to debug. In this article, we discuss how and when to use variables, along with why
Computing sales to specific customers before and after a time period - SQLBI
This article shows how to manipulate the filter context to create a report with the sales made to a specific customer segment, before and after a selected m
Hierarchies with dynamic levels in Matrix by Field Parameters
In a previous article about Field parameters, I spoke about using them in cooperation with Calculation groups (LINK). I used them to get specific measures for selected dimensions from the dimensions field.
There is a hidden gem in the August 2022 release of Power BI Desktop: a secret new DAX function EvaluateAndLog that is not listed in the feature summary of the official blogpost. Yet this function …
Controlling Calculation Items with RLS can't be done directly, but you can do it indirectly with another calculation group. This article shows you how.
Rolling averages are a very common calculation used to smooth out charts. This article shows how to compute a rolling average taking into account only the w
Conditional formatting with thresholds in Power BI
Conditional formatting is an easy way to highlight values so report users can receive quick insights on the status of key metrics. In this post, I will be showing a way to apply dynamic conditional formatting on visuals with set thresholds. This will...
The SWITCH function in DAX has been optimized over the years, and it is helpful to know what makes the optimization work best. The SWITCH function in DAX is widely used to define different execution paths depending on the condition of an expression. A very common case is when we want to check the sta