Forum Discussion
Anonymous
5 years agoNot applicable
Finding first date in table where column changes value
I have a table with a date column and a number column. Example: Date Number 01-01-'21 4 02-01-'21 4 03-01-'21 2 I want to add a calculated column that returns the first da...
- 5 years ago
Anonymous
Add the following Calc Column:Number Change = var __num = [Number] var __date = [Date] return CALCULATE( MIN(Table3[Date]), Table3[Number] <> __num, Table3[Date] > __date, REMOVEFILTERS(Table3) )
Fowmy
Super User
5 years agoAnonymous
Add the following Calc Column:
Number Change =
var __num = [Number]
var __date = [Date]
return
CALCULATE(
MIN(Table3[Date]),
Table3[Number] <> __num,
Table3[Date] > __date,
REMOVEFILTERS(Table3)
)