Found 447 bookmarks
Newest
Calculating SUM of TOPN rows
Calculating SUM of TOPN rows
Hello everyone! I am trying to compute SUM of TOP N values in a table in a time period specified via slicers using following measures: 1. VolumeSum = CALCULATE(SUM(Volumes[Volume]); Volumes[Dimension]="mln l") 2. VolumeRanks2 = RANKX(ALL(Producers[Producer Eng]); CALCULATE(SUM(Volumes[Volume]); ...
·community.powerbi.com·
Calculating SUM of TOPN rows
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
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
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
Walk Through Of Many Ranking Techniques using DAX in Power BI
Walk Through Of Many Ranking Techniques using DAX in Power BI
There's so many applications and situations where utilising ranking techniques really add a lot of value in your analysis. I've created many videos over at Enterprise DNA TV which showcase these techn…
·community.powerbi.com·
Walk Through Of Many Ranking Techniques using DAX in Power BI
Solving Attendance with the Disconnected Table Trick
Solving Attendance with the Disconnected Table Trick
The Challenge At a recent Columbus Azure ML and Power BI User Group (CAMLPUG) meeting, a member came forward with the following problem around tracking training attendance. Essentially, given a set of…
·community.powerbi.com·
Solving Attendance with the Disconnected Table Trick
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…
·blog.crossjoin.co.uk·
Using SelectColumns() To Alias Columns In DAX
Use calculated tables to filter down dimensions
Use calculated tables to filter down dimensions
I got an interesting request this week, to improve the usability of the tabular model they wanted to filter the dimension table to only contain the rows that have data in the fact table. That way t…
·kasperonbi.com·
Use calculated tables to filter down dimensions