Forum Discussion
Anonymous
3 years agoNot applicable
Calculation in previous row
Hello Guys i have a problem, i get my data via directquery but i want to calculate everytime with previous rows. I want to get the seconds between every rows. Here is a example of it. ...
amitchandak
Super User
3 years agoAnonymous , You have to create a measure
datediff(maxx(filter(all(Table), Table[Date] < max(Table[Date]) ), Table[Date]) , Max(Table[Date]) , Second)
or
Sumx(Table, datediff(maxx(filter(all(Table), Table[Date] < max(Table[Date]) ), Table[Date]) , Max(Table[Date]) , Second) )
Anonymous
3 years agoNot applicable
I got this Error.