dax

dax

1079 bookmarks
Custom sorting
Notepad++
Notepad++
“Excuse me, sir, you don't need 20 men, you need Miller Banfield.  He's an expert with explosives Excel, sir. He's probably the best in England
Power_BI_tips·powerpivotpro.com·
Notepad++
Date/Time Measures
Date/Time Measures
PeriodCurrentMTDQTDYTDPY CurrentPY MTDPY QTDPY YTDYOYYOY%YOY YTDYOY% YTDPM CurrentMoMMoM%PQ CurrentQoQQoQ%
Power_BI_tips·notes.pinboard.in·
Date/Time Measures
Last Date - SQLBI
Last Date - SQLBI
For this reason, calling LASTDATE when you have a row context (as it is the case in the FILTER of the original Last Balance formula) generates a context transition, and the internal MAX function only consider the date of the current row in the accounts table during the FILTER in Last Balance.Remember: LASTDATE is a table function, which is useful to use in a filter argument of CALCULATE, whereas MAX is a scalar function, which cannot be used in a filter argument. For this reason, you can write:Units LastNonBlank := CALCULATE ( SUM ( Inventory[UnitsBalance] ), LASTNONBLANK ( 'Date'[Date...
Power_BI_tips·sqlbi.com·
Last Date - SQLBI
Data Analysis Expressions (DAX)
Data Analysis Expressions (DAX)
Intro Data Analysis Expressions (DAX) In Excel 2010 PowerPivot DAX: Excel data analysis functions to construct dynamic analysis custom pivots on front end
Power_BI_tips·geekswithblogs.net·
Data Analysis Expressions (DAX)
DAX: Date Calculation Tables – Intelligent SQL
DAX: Date Calculation Tables – Intelligent SQL
Some time ago, I blogged about using a date calculation dimension in a multidimensional cube, and how easy it makes doing time intelligence in a multidimensional model. 2014 seems to have started out
Power_BI_tips·intelligentsql.wordpress.com·
DAX: Date Calculation Tables – Intelligent SQL
DAX Query Syntax Reference
DAX Query Syntax Reference
DAX queries allow the user to retrieve data defined by a table expression from the xVelocity in-memory analytics engine (VertiPaq). The user can create measures as part of the query; these measures
Power_BI_tips·technet.microsoft.com·
DAX Query Syntax Reference
Handling Different Granularities – DAX Patterns
Handling Different Granularities – DAX Patterns
The Handling Different Granularities pattern is a technique to show and hide measures depending on the level of granularity of the underlying data. For example, you do not want to display a measure
Power_BI_tips·daxpatterns.com·
Handling Different Granularities – DAX Patterns
Parameter Table – DAX Patterns
Parameter Table – DAX Patterns
The Parameter Table pattern is useful when you want to add a slicer to a PivotTable and make it modify the result of some calculation, injecting parameters into DAX expressions. To use it, you must
Power_BI_tips·daxpatterns.com·
Parameter Table – DAX Patterns