dax

dax

1079 bookmarks
Custom sorting
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
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
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
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
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
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”
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
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
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
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
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
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
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
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
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
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
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
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
Crazy keyboard shortcuts for dax in power bi desktop
Crazy keyboard shortcuts for dax in power bi desktop
Patrick shows you how to be efficient in Power BI Desktop using keyboard shortcuts for the DAX Editor. It is crazy bananas! Documentation: https://docs.microsoft.com/power-bi/desktop-accessibility
·guyinacube.com·
Crazy keyboard shortcuts for dax in power bi desktop
Phil Seamark on DAX
Phil Seamark on DAX
I wasn’t originally planning on including an article on Incremental Aggs as part of this series, but I like the idea, and it seems like a good fit for the series, so here goes. The series so …
·dax.tips·
Phil Seamark on DAX
Phil Seamark on DAX
Phil Seamark on DAX
This post is the last in this series (for now) and describes a technique used to enhance performance in Power BI models that use Aggregate Awareness. I hope you’ve enjoyed the series as much …
·dax.tips·
Phil Seamark on DAX
Phil Seamark on DAX
Phil Seamark on DAX
My last article described the Shadow Model data modelling technique and how you can use it to help resolve a specific performance challenge caused by tables forced to direct query mode in particula…
·dax.tips·
Phil Seamark on DAX
Sorting months in fiscal calendars - SQLBI
Sorting months in fiscal calendars - SQLBI
This article shows a basic technique used to sort months according to a fiscal calendar, by using a couple of calculated columns and the “sort by column
·sqlbi.com·
Sorting months in fiscal calendars - SQLBI