DAX

DAX

1155 bookmarks
Custom sorting
Analyzing the performance of DISTINCTCOUNT in DAX - SQLBI
Analyzing the performance of DISTINCTCOUNT in DAX - SQLBI
This article describes how to analyze the performance of a DAX measure based on a DISTINCTCOUNT calculation and how to evaluate possible optimizations. The
·sqlbi.com·
Analyzing the performance of DISTINCTCOUNT in DAX - SQLBI
Showing the top 5 products and Others row
Showing the top 5 products and Others row
This article shows how to add an additional “other” row to the selection obtained using the Top N filter in a Power BI report. Power BI offers the abili
·sqlbi.com·
Showing the top 5 products and Others row
Filtering Power BI Visuals by Measure
Filtering Power BI Visuals by Measure
Power BI lets you filter the visual data by a measure, such as by a measure that dynamically calculates the customer’s rank. This is convenient but there are performance implications related to the wa…
·prologika.com·
Filtering Power BI Visuals by Measure
Row-based Time Intelligence
Row-based Time Intelligence
For this blog, I want to share an interesting data modelling technique which you might consider when having performance problems with time intelligence calculations. This particular pattern works w…
·dax.tips·
Row-based Time Intelligence
Using DataTable DAX Function for Creating Structured Table in Power BI
Using DataTable DAX Function for Creating Structured Table in Power BI
In another blog article, I explained how easy is to use table constructor in DAX to create a data table fast in Power BI. However, that method has some limitations, such as not being able to name columns or set their data types. In this blog post, I'll explain about DataTable function in DAX which…
·radacad.com·
Using DataTable DAX Function for Creating Structured Table in Power BI
Creating a Table in Power BI Using DAX Table Constructor
Creating a Table in Power BI Using DAX Table Constructor
There are some functions in DAX that are useful in very specific scenarios. For example, sometimes, you might want to create a table entirely in DAX. If you want to do that, what are your ways and how it is possible? This might be helpful especially in the first days of learning about DAX. Let's…
·radacad.com·
Creating a Table in Power BI Using DAX Table Constructor
DAX: Bitwise calculations
DAX: Bitwise calculations
As an extension to my recent article on base conversions in DAX, I thought I’d show how these conversion calculations can be used to help you perform bitwise calculations in DAX. At present, …
·dax.tips·
DAX: Bitwise calculations
DAX: Base conversions
DAX: Base conversions
I was doing some work recently which required DAX calculations to convert values from a specific base to another, e.g. to convert a value in hexadecimal format to a base 10 representation (or decim…
·dax.tips·
DAX: Base conversions
REMOVEFILTERS() in DAX
REMOVEFILTERS() in DAX
REMOVEFILTERS() is a new DAX function that was created to make the language easier to learn and understand. Learn why REMOVEFILTERS() was introduced here.
·exceleratorbi.com.au·
REMOVEFILTERS() in DAX
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
Custom Sort Order Within a DAX Measure
Custom Sort Order Within a DAX Measure
Learn how to use DAX to create a custom TEXT column sort order. This tutorial explains a simple solution to ordering items. Click here to learn more.
·powerbi.tips·
Custom Sort Order Within a DAX Measure
Using Custom Format Strings in Power BI Desktop
Using Custom Format Strings in Power BI Desktop
Patrick walks you through how to use custom format strings in Power BI Desktop. From dates and time to numbers, he calls out some things to look out for. Custom Format String Documentation: https://do…
·guyinacube.com·
Using Custom Format Strings in Power BI Desktop
TRIMMEAN in DAX
TRIMMEAN in DAX
This blog post shows how you can accurately replicate the Excel TRIMMEAN function in DAX, accounting for duplicate values at tails.
·xxlbi.com·
TRIMMEAN in DAX
A Brief Treatment of DIVIDE(), RANKX(), and “N/A”
A Brief Treatment of DIVIDE(), RANKX(), and “N/A”
This is What I Want (What I Really Really Want): Zeroes to Rank Poorly. Divide by Zero Errors to Display “N/A.” And “N/A” to NOT participate in my ranking. RANKX: the Mother of Many Blog Posts Ya know, we could probably write articles about RANKX for an entire year. There are just SO many subtleties to it, and
·powerpivotpro.com·
A Brief Treatment of DIVIDE(), RANKX(), and “N/A”
Previous year up to a certain date - SQLBI
Previous year up to a certain date - SQLBI
This article describes how to compute previous year values up to a certain date. This is useful in case the data is presenting incomplete months or years. I
·sqlbi.com·
Previous year up to a certain date - SQLBI
Some Methods for Calculating Quarter in DAX for Power BI
Some Methods for Calculating Quarter in DAX for Power BI
You might have wondered that there is no DAX Quarter function in Power BI. Here in this short blog post, I explain some easy methods for calculating quarter. If you like to learn more about Power BI, read Power BI book from Rookie to Rock Star. Sample Data To start this example, you can open…
·radacad.com·
Some Methods for Calculating Quarter in DAX for Power BI
Power BI Custom Format String Examples, Part 1: Numbers
Power BI Custom Format String Examples, Part 1: Numbers
Now that we can apply custom format strings to fields and measures in Power BI in the September 2019 release, I thought it would be useful to provide some examples of what’s possible with this very…
·blog.crossjoin.co.uk·
Power BI Custom Format String Examples, Part 1: Numbers
Custom Format Fields and Measures in Power BI
Custom Format Fields and Measures in Power BI
If you have been watching Power BI news recently, you know that Power BI fields now support custom formatting. In this short blog article, I am going to explain how to use this feature to achieve your custom formatting. You can do things like showing () for negative values, showing custom date/time formats, and etc.…
·radacad.com·
Custom Format Fields and Measures in Power BI
Dynamically Show Completed Months in Power BI
Dynamically Show Completed Months in Power BI
It is easy to get Power BI to show only compeleted months of data. Read my article explaining a dynamic DAX formula that filters out part completed months.
·exceleratorbi.com.au·
Dynamically Show Completed Months in Power BI
CONVERT and REMOVEFILTERS in DAX
CONVERT and REMOVEFILTERS in DAX
The DAX functions CONVERT and REMOVEFILTERS were introduced in August 2019. This blog post shows what they do.
·xxlbi.com·
CONVERT and REMOVEFILTERS in DAX
Blank row in DAX - SQLBI
Blank row in DAX - SQLBI
There are two functions in DAX that return the list of values of a column: VALUES and DISTINCT. This article describes the difference between the two, expla
·sqlbi.com·
Blank row in DAX - SQLBI
Power BI Icon Names
Power BI Icon Names
Now that you can create icons in Power BI, a common question is "where can I get a list of icon names?". This article provides a list of all standard icons.
·exceleratorbi.com.au·
Power BI Icon Names
Power BI: How to format a specific cell or row in a table or matrix?
Power BI: How to format a specific cell or row in a table or matrix?
This week, I got an interesting question about Power BI: “Can I format a specific cell or row in a table or matrix?” My answer was yes and I thought it could be a great blog. Let’s say, you need to format the Sales Amount for all countries as a whole number, except for Australia. ... Read morePower BI: How to format a specific cell or row in a table or matrix?
·zenatti.net·
Power BI: How to format a specific cell or row in a table or matrix?
Calculate 50 & 100-Day Moving Average with DAX
Calculate 50 & 100-Day Moving Average with DAX
Learn how to calculate 50 and 100-day moving average with DAX for your Excel cryptocurrency dashboard. With video and Learn and Earn activity
·theexcelclub.com·
Calculate 50 & 100-Day Moving Average with DAX
DAX Keyboard Shortcuts
DAX Keyboard Shortcuts
Here are 15 awesome DAX Keyboard Shortcuts in Power BI to help you write and debug your DAX code faster and smarter.
·goodly.co.in·
DAX Keyboard Shortcuts