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]
Power_BI_tips·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
Power_BI_tips·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!
Power_BI_tips·daxpatterns.com·
Statistical Patterns – DAX Patterns
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…
Power_BI_tips·javierguillen.wordpress.com·
Can EARLIER be used in DAX measures? | Javier Guillén
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 […]
Power_BI_tips·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...
Power_BI_tips·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
Power_BI_tips·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!
Power_BI_tips·daxpatterns.com·
Basket Analysis – DAX Patterns
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...
Power_BI_tips·community.powerbi.com·
Dynamically comparing current totals to last year totals - oxcrx34285