Forum Discussion
DJSwezey
Helper I
3 years agoWeek over week compiling sales.
I have a table 'GoalsByWeek' that contains [Sales Goal Amount], [Actual Sales Amount] and [WeekOf]. I have created another table called 'WeekOrder' that contains [WeekOf] and [Week Num] from 'GoalsB...
Mahesh0016
Super User
3 years agoDJSwezey please try this
WOW Sales Amount = CALCULATE(sum('GoalsByWeek'[Actual Sales Amount]),DATESBETWEEN(All('GoalByWeek'[WeekOf]),max('GoalsByWeek'[WeekOf])-1000,max('GoalsByWeek'[WeekOf])))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DJSwezey
Helper I
3 years agoI unfortunately get this error when I use that measure: