DAX

DAX

1155 bookmarks
Custom sorting
Lineage in DAX
Lineage in DAX
Level: Intermediate–Advanced I have covered the topic of Lineage in DAX a few times in the past (within other articles). Today I thought I would write a single post dedicated to lineage. As you may kn…
·exceleratorbi.com.au·
Lineage in DAX
Re: Calculate Moving average of Attrition
Re: Calculate Moving average of Attrition
Hi , In this scenario, the formula below should work. :smileyhappy: _Release Count = CALCULATE ( COUNT ( 'Release Count'[Personnel Number] ), FILTER ( ALL ( 'Month Year'[Date] ), 'Month Year'[Date]
·community.powerbi.com·
Re: Calculate Moving average of Attrition
Computing same product sales in DAX - SQLBI
Computing same product sales in DAX - SQLBI
This article shows a technique in DAX to compute the sales volume of products that were available right from the beginning of a selected time period, ignori
·sqlbi.com·
Computing same product sales in DAX - SQLBI
Re: Finance Forecast using DAX
Re: Finance Forecast using DAX
Hi See the attached file. Hope it helps Here are the steps Step#1 Determine the First and Last Years with Actual data using these MEASURES FirstYear = FIRSTNONBLANK ( ALL ( YearTable[Year] ), CALCULATE ( SUM ( MeasureTable[Revenue] ) ) ) LastYear = LASTNONBLANK ( ALL ( YearTable...
·community.powerbi.com·
Re: Finance Forecast using DAX
Re: Return the 2nd Tuesday of every Month
Re: Return the 2nd Tuesday of every Month
Please try this as a caluculated column Is 2nd Tuesday = VAR a = 'Dates'[Date] VAR y = FILTER( ALL(Dates[Date]), YEAR('Dates'[Date]) = YEAR(a) && MONTH('Dates'[Date]) = MONTH(a) && DAY([Date]) > 7 && DAY([Date]) < 15 && WEEKDAY([Date],3) = 1) RE...
·community.powerbi.com·
Re: Return the 2nd Tuesday of every Month
Average of a DISTINCTCOUNT per day
Average of a DISTINCTCOUNT per day
Hello everyone, I'm new in DAX and I have a big problem with a measure (sorry my bad english). I need to calculate the average of Distinctcount for 7 days moving, for that, I'm counting distincts rows every day like that Vehiculos Totales:=DISTINCTCOUNT(VEHICULOS[PATENTE]) Second, I need to do ...
·community.powerbi.com·
Average of a DISTINCTCOUNT per day
Dynamic Age Calculation Using Measures - PowerPivotPro
Dynamic Age Calculation Using Measures - PowerPivotPro
by Matt Allington I was recently helping a forum member at http://powerpivotforum.com.au with a problem about how to dynamically calculate an employee’s ag
·powerpivotpro.com·
Dynamic Age Calculation Using Measures - PowerPivotPro
Re: calculate growth of counter
Re: calculate growth of counter
Hi , you're going in the right direction - the signal growth = today's value - previous day's value The previous day's row could be thought of as having the maximum timestamp that's less than today's timestamp. There is probably a more elegant way to express this idea, but this is how I'd do it ...
·community.powerbi.com·
Re: calculate growth of counter
Problem with weighted average formula
Problem with weighted average formula
Dear all, I’m new in power BI and I have a problem for calculating a weighted average based on a total of a column. In attach a simplified example for my PBIX. As you can see I have two table, a master table and a summarize table, with few fields calculated from master table. On summarized table I h...
·community.powerbi.com·
Problem with weighted average formula
New DAX function: COMBINEVALUES
New DAX function: COMBINEVALUES
There is a new DAX function coming soon to Power BI Desktop: COMBINEVALUES. It concatenates an unlimited number of values with a delimiter. You can already use the function by connecting to a dataset …
·xxlbi.com·
New DAX function: COMBINEVALUES
DAX UNICHAR Function in Power BI
DAX UNICHAR Function in Power BI
I first learnt about the new DAX UNICHAR function in Power BI by reading Chris Webb’s blog (which was also the inspiration for this article today). One of the uses of the UNICHAR function is to be abl…
·exceleratorbi.com.au·
DAX UNICHAR Function in Power BI
Killer Tips to Write Harder Measures
Killer Tips to Write Harder Measures
Level: Intermediate Background I was reading the questions at http://community.powerbi.com today and saw an interesting question. In short the OP wanted to know if there was a way to identify (via a m…
·exceleratorbi.com.au·
Killer Tips to Write Harder Measures
Simple Linear Regression
Simple Linear Regression
This measure allows you to predict dependent values Y from independent values X. NAME: Simple linear regression DESCRIPTION: Estimate Y values based on X values. PARAMETERS: Name: Category Tooltip: Th…
·community.powerbi.com·
Simple Linear Regression