Power BI

Power BI

9059 bookmarks
Custom sorting
Using SelectColumns() To Alias Columns In DAX
Using SelectColumns() To Alias Columns In DAX
A few years ago I wrote this post on how to alias columns in a table in DAX, using a combination of AddColumns() and Summarize(). The good news is that in Excel 2016/the Power BI Designer/SSAS Tabular…
Power_BI_tips·blog.crossjoin.co.uk·
Using SelectColumns() To Alias Columns In DAX
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…
Power_BI_tips·community.powerbi.com·
Simple Linear Regression
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…
Power_BI_tips·exceleratorbi.com.au·
Killer Tips to Write Harder Measures
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…
Power_BI_tips·exceleratorbi.com.au·
DAX UNICHAR Function in Power BI
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 …
Power_BI_tips·xxlbi.com·
New DAX function: COMBINEVALUES
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...
Power_BI_tips·community.powerbi.com·
Problem with weighted average formula
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 ...
Power_BI_tips·community.powerbi.com·
Re: calculate growth of counter
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 ...
Power_BI_tips·community.powerbi.com·
Average of a DISTINCTCOUNT per day
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...
Power_BI_tips·community.powerbi.com·
Re: Return the 2nd Tuesday of every Month
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...
Power_BI_tips·community.powerbi.com·
Re: Finance Forecast using 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]
Power_BI_tips·community.powerbi.com·
Re: Calculate Moving average of Attrition