Forum Discussion
sfn
8 years agoFrequent Visitor
Normalizing Periods from Dates
Hi, Does anyone have experience with normalizing date ranges to represent periods starting at n for a set of categories? I have a lot of data on hours spent to execute specific projects, and ...
- 8 years ago
so you basically want to rank the dates for each category
try this calculated columnColumn = VAR Cat = Table[Category] RETURN RANKX(FILTER(Table,Table[Category]=Cat),FIRSTDATE(Table[Date]),,ASC)
Stachu
8 years agoCommunity Champion
so you basically want to rank the dates for each category
try this calculated column
Column = VAR Cat = Table[Category] RETURN RANKX(FILTER(Table,Table[Category]=Cat),FIRSTDATE(Table[Date]),,ASC)
Anonymous
7 years agoNot applicable
I getting the following error:
A single value for column 'WELL' in table 'BODS' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
Here is my code
Column =
VAR Cat = BODS[WELL]
RETURN
RANKX(FILTER(BODS,BODS[WELL]=Cat),FIRSTDATE(BODS[REPORT_DATE]),,ASC)
I'm terrible at DAX :(