Forum Discussion
amirghaderi
4 years agoHelper IV
Weekly Movement calculation
Hi, I have a table of data which capture "Cumulative Expended Manhours" on every week. I need a column/measure that calculates the weekly value for each activty code on that week. example table as b...
- 4 years ago
Ashish_Mathur
4 years agoSuper User
Hi,
This calculated column formula works
=Data[Cumulative Expended Manhours]-LOOKUPVALUE([Cumulative Expended Manhours],Data[Activity Code],Data[Activity Code],Data[Week End Date],CALCULATE(MAX(Data[Week End Date]),FILTER(Data,Data[Activity Code]=EARLIER(Data[Activity Code])&&Data[Week End Date]<EARLIER(Data[Week End Date]))))
Hope this helps.