Forum Discussion
Anonymous
5 years agoNot applicable
First value become second value.
Hi Please help me with DAX mentioned below. Date Cat Value Expecting Result 21/03/2012 A 100 0 15/04/2016 A 200 100 10/102020 A 300 200 21/03/2012 B 1000 0 13/7...
- 5 years ago
Anonymous , Try a new column like
new column =
var _max = maxx(filter(table, [Date] < earlier([Date]) && [Cat] =earlier([Cat])),[Date])
return
maxx(filter(table, [Date] = _max && [Cat] =earlier([Cat]) ),[value])
amitchandak
5 years agoSuper User
Anonymous , Try a new column like
new column =
var _max = maxx(filter(table, [Date] < earlier([Date]) && [Cat] =earlier([Cat])),[Date])
return
maxx(filter(table, [Date] = _max && [Cat] =earlier([Cat]) ),[value])
- Anonymous5 years agoNot applicable
Thank you so much amitchandak