Forum Discussion
Dunner2020
Post Prodigy
5 years agoSpeeding up calculated column time
Hi there, I am calculating a column using DAx language. The new column is the rolling sum of 48 half-hourly values. The calculation of column is : calculated col = sumx(filter(Table1, Tab...
Anonymous
5 years agoNot applicable
Hi Dunner2020 ,
Check if the formula work.
calculated col =
var tmp = filter(Table1,Table1[EpochHH] >= EARLIER(Table1[EpochHH])-47 && Table1[EpochHH] <= EARLIER(Table1[EpochHH]))
return
calculate(sum(Table1[value]),tmp)
Best Regards,
Jay