Forum Discussion
Abhijith_KG
5 years agoNew Member
Moving Average
Hello Friends, I am working on a dataset for my project and need to create a moving average. Below is the sample dataset that i am using. Can you suggest me the DAX command for the same. Company...
amitchandak
Super User
5 years agoAbhijith_KG , based on what I got
New column = averageX(filter(Table, [Date] = earlier([Date])),[Close])
or
New measure = averageX(filter(allselected(Table), Table[Date] = max(Table[Date])),[Close])