dax

dax

1079 bookmarks
Custom sorting
Calculation Groups to the Rescue!
Calculation Groups to the Rescue!
To set the stage, I need you to travel back in time with me a bit. The year was 2019, and none of us had ever heard of COVID-19…those were simpler
·p3adaptive.com·
Calculation Groups to the Rescue!
Rolling 12 Months Average in DAX - SQLBI
Rolling 12 Months Average in DAX - SQLBI
Rolling averages (a.k.a. moving averages or running averages) over time are useful to smoothen chart lines and to make trends more evident. This article sho
·sqlbi.com·
Rolling 12 Months Average in DAX - SQLBI
How to make your matrix column widths all equal to each other in Power BI using DAX.
How to make your matrix column widths all equal to each other in Power BI using DAX.
Have you ever come across an issue where your Power BI matrix column widths just aren’t the same width and visually just don’t look right? Unfortunately (as of April 21’) there is no easy way to make all column widths equal in the format pane of a matrix visual. However there is a hack to […]
·purplefrogsystems.com·
How to make your matrix column widths all equal to each other in Power BI using DAX.
When to use KEEPFILTERS over iterators - SQLBI
When to use KEEPFILTERS over iterators - SQLBI
This article describes how to use KEEPFILTERS in DAX iterator functions to preserve arbitrarily shaped filters in context transition. When you apply a filte
·sqlbi.com·
When to use KEEPFILTERS over iterators - SQLBI
DAX - Visualize Filter Context in Excel with an Explicit Measure
DAX - Visualize Filter Context in Excel with an Explicit Measure
DAX (Data Analysis Expressions) is the programming language of Power BI and it was created in PowerPivot for Excel back in 2010, integrated in SSAS Tabular and then, in 2015 in Power BI. There are two main types of users who are learning Power BI (and also DAX if they really want to master Power
·linkedin.com·
DAX - Visualize Filter Context in Excel with an Explicit Measure
How And When To Use Calculation Groups In Power BI - Microsoft Power BI Community
How And When To Use Calculation Groups In Power BI - Microsoft Power BI Community
In this blog post, I will give you a comprehensive overview on the Power BI calculation groups. I’ll share with you some of my tutorials around calculation groups and you’ll see how and when to use them.    Calculation groups are a collection of items, which are basically the same measures that you ...
·community.powerbi.com·
How And When To Use Calculation Groups In Power BI - Microsoft Power BI Community
Creating Value Dynamic Formatting using Calculatio... - Microsoft Power BI Community
Creating Value Dynamic Formatting using Calculatio... - Microsoft Power BI Community
What you can do and why you should Have you ever been facing the problem of showing small and large numbers together (e.g. 123,456, 789.99 and 34.56) in a nice way, lets say with a 3 digit precison as 34.5 and 123G (or 123E6).   When working with large numbers you can divide them with 1,000 or 1,000...
·community.powerbi.com·
Creating Value Dynamic Formatting using Calculatio... - Microsoft Power BI Community
Naming temporary columns in DAX - SQLBI
Naming temporary columns in DAX - SQLBI
This article describes a naming convention for temporary columns in DAX expressions to avoid ambiguity with the measure reference notation. Table functions
·sqlbi.com·
Naming temporary columns in DAX - SQLBI
Calculation Groups to the Rescue! | P3 Adaptive
Calculation Groups to the Rescue! | P3 Adaptive
To set the stage, I need you to travel back in time with me a bit.The year was 2019, and none of us had ever heard of COVID-19…those were simpler times.I was working on a data model that had A LOT of …
·flip.it·
Calculation Groups to the Rescue! | P3 Adaptive
When to use KEEPFILTERS over iterators
When to use KEEPFILTERS over iterators
This article describes how to use KEEPFILTERS in DAX iterator functions to preserve arbitrarily shaped filters in context transition. When you apply a filter in CALCULATE or CALCULATETABLE, by default the filter overwrites any existing filter over the columns specified in the filter. In order to avoi
·flip.it·
When to use KEEPFILTERS over iterators
Show previous 6 months of data from single slicer selection
Show previous 6 months of data from single slicer selection
In this article we demonstrate how to use calculation groups to show the behavior of any measure in the last 6 months, starting from a single date selection with a slicer. This can be applied to any number of months. The end result in this scenario is a report where the user has selected a date with
·flip.it·
Show previous 6 months of data from single slicer selection
How to use AddColumns function in DAX and Power BI
How to use AddColumns function in DAX and Power BI
AddColumns is a DAX function that is helpful often when writing calculations in Power BI. In this article and video, I’ll explain how you can use it to add calculated columns on the fly to the virtual tables in measures or directly in a table. AddColumns DAX Tabular Function AddColumns is a tabular function in Read more about How to use AddColumns function in DAX and Power BI[…]
·radacad.com·
How to use AddColumns function in DAX and Power BI
| 5MinuteBI
| 5MinuteBI
Being a Power BI enthusiast, I always find DAX a challenge but have found success by keeping to a couple of simple tricks. In this Power BI Tutorial, we review my DAX development workflow through an example case where we will use Power BI Desktop to create a KPI measure
·5minutebi.com·
| 5MinuteBI
Create a subset of the table in Power BI and add calculations using SELECTCOLUMNS DAX Function
Create a subset of the table in Power BI and add calculations using SELECTCOLUMNS DAX Function
Previously I explained the AddColumns function as a function that adds one or more columns to the existing table, In this article and video, I’ll explain another similar and useful function with slightly different behavior: SelectColumns, and you will learn how you can use it in Power BI and DAX. SELECTCOLUMNS is a Tabular function Read more about Create a subset of the table in Power BI and add calculations using SELECTCOLUMNS DAX Function[…]
·radacad.com·
Create a subset of the table in Power BI and add calculations using SELECTCOLUMNS DAX Function
Understanding eager vs. strict evaluation in DAX
Understanding eager vs. strict evaluation in DAX
This article describes the differences between eager evaluation and strict evaluation in DAX, empowering you to choose the best evaluation type for your data models. A conditional expression in DAX – like an IF function – can be evaluated in two ways: eager and strict. Understanding the difference be
·flip.it·
Understanding eager vs. strict evaluation in DAX
Showing Ranking in a Visual in Power BI using RANKX DAX function
Showing Ranking in a Visual in Power BI using RANKX DAX function
If you want to show the ranking in a Power BI visual, one way is to use a visual that supports that, such as a Ribbon chart. Another way, which is a more common way, is to write a calculation for rank, and RANKX is a DAX function that can help you with that. In Read more about Showing Ranking in a Visual in Power BI using RANKX DAX function[…]
·radacad.com·
Showing Ranking in a Visual in Power BI using RANKX DAX function
Optimizing IF conditions by using variables - SQLBI
Optimizing IF conditions by using variables - SQLBI
This article describes a very common optimization pattern that relies on variables to optimize conditional expressions in DAX. In a previous article we show
·sqlbi.com·
Optimizing IF conditions by using variables - SQLBI
Month over Month Calculation in Power BI using DAX
Month over Month Calculation in Power BI using DAX
Learn how to write calculations in Power BI for comparing values of a month with the month before and get variance and percentage.
·radacad.com·
Month over Month Calculation in Power BI using DAX