dax

dax

1079 bookmarks
Custom sorting
PowerPivot – A sample of custom Median & Mode function – Frankie Yuen : Share my experience
PowerPivot – A sample of custom Median & Mode function – Frankie Yuen : Share my experience
Please note the performance is not optimized for a very large dataset, try with your own data. Create a Median Meausre [Lowerbound] =MINX( FILTER( VALUES( BoxOffice[TicketsSold]), CALCULATE( COUNTROWS( BoxOffice ), BoxOffice[TicketsSold] = COUNTROWS( BoxOffice ) / 2 ), BoxOffice[TicketsSold]) [Upperbound]=MINX( FILTER( VALUES( BoxOffice[TicketsSold]), CALCULATE( COUNTROWS( BoxOffice ), BoxOffice[TicketsSold]
·blogs.msdn.microsoft.com·
PowerPivot – A sample of custom Median & Mode function – Frankie Yuen : Share my experience
SQLBI - Marco Russo : Median calculation in DAX
SQLBI - Marco Russo : Median calculation in DAX
I recently discussed with Darren Gosbell about how to calculate the Median in DAX. The problem is to make the calculation using a measure, so that you can use it in a dynamic way into a PivotTable. We have a People table with three columns: Gender, Customer
·sqlblog.com·
SQLBI - Marco Russo : Median calculation in DAX
Statistical Patterns – DAX Patterns
Statistical Patterns – DAX Patterns
DAX Patterns is a collection of ready-to-use data models and formulas in DAX, which is the programming language of PowerPivot. Create your Excel data model faster by using a DAX pattern!
·daxpatterns.com·
Statistical Patterns – DAX Patterns
Alternative use of FIRSTNONBLANK and LASTNONBLANK
Alternative use of FIRSTNONBLANK and LASTNONBLANK
You might have used FIRSTNONBLANK and LASTNONBLANK in semi-additive measures, but you might not be aware that their use is not limited to time intelligence
·sqlbi.com·
Alternative use of FIRSTNONBLANK and LASTNONBLANK
Can EARLIER be used in DAX measures? | Javier Guillén
Can EARLIER be used in DAX measures? | Javier Guillén
EARLIER is a DAX function that acts exclusively on row context,  and its purpose is to create a reference to a column value on an outer loop of the evaluation of the expression.  It is commonly use…
·javierguillen.wordpress.com·
Can EARLIER be used in DAX measures? | Javier Guillén
The Correct Usage of EARLIER() - PowerPivotPro
The Correct Usage of EARLIER() - PowerPivotPro
Egg on My Face For Improper Use of EARLIER() Tonight I was looking at one of my recent posts, the one about “fuzzy” time relationships in calculated
·powerpivotpro.com·
The Correct Usage of EARLIER() - PowerPivotPro
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
Sometimes reporting data values day-by-day can create the impression of dramatic ups and downs, when really what we want to see is the general trend of changes over time.  We need, in other words, to create a chart based on moving averages.  Such a measure is commonly used in tracking the price of stocks, but […]
·blog.westmonroepartners.com·
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
Row vs Filter Context: a Visual Guide
Row vs Filter Context: a Visual Guide
Gaining an understanding of Row and Filter Context is among the most difficult challenges facing a new DAX author. Just when you think you've got it, a problem arises and your hard-won mental model seems to crumble before your eye. For a new author this is particularly tricky in that virtually every...
·community.powerbi.com·
Row vs Filter Context: a Visual Guide
Lookup multiple values in DAX - SQLBI
Lookup multiple values in DAX - SQLBI
This article describes different techniques to retrieve multiple values from a lookup table in DAX, improving code readability and performance. There are a
·sqlbi.com·
Lookup multiple values in DAX - SQLBI
Basket Analysis – DAX Patterns
Basket Analysis – DAX Patterns
DAX Patterns is a collection of ready-to-use data models and formulas in DAX, which is the programming language of PowerPivot. Create your Excel data model faster by using a DAX pattern!
·daxpatterns.com·
Basket Analysis – DAX Patterns
Market Basket Analysis using Power BI – business intelligist
Market Basket Analysis using Power BI – business intelligist
It’s been almost two years since I posted about the CONCATENATEX() DAX function here. At the end of that post I promised to publish a tutorial on how one might do Market Basket analysi…
·businessintelligist.com·
Market Basket Analysis using Power BI – business intelligist
Dynamically comparing current totals to last year totals - oxcrx34285
Dynamically comparing current totals to last year totals - oxcrx34285
One type of analysis I like to use quite often is comparing this year totals to last year totals. I want to also always make it as dynamic as possible. All I should have to do is change the context of my calculation (ie. bring in a new dimension like regions/products etc) and everything should autom...
·community.powerbi.com·
Dynamically comparing current totals to last year totals - oxcrx34285