Forum Discussion
TMO_KY
3 years agoHelper II
DAX Previous Value with multiple categories
Good afternoon Community, I know this post will be similar to some others so hopefully it doesn't get overlooked as I can't seem to find the answer and I'm getting stumped. I have a DAX table th...
- 3 years ago
Try this calculated column:
Prev Month Value = VAR vIndex = '24MonthTable'[index] VAR vResult = CALCULATE ( MAX ( '24MonthTable'[Failures] ), ALLEXCEPT ( '24MonthTable', '24MonthTable'[Product Family], '24MonthTable'[Codes] ), '24MonthTable'[index] = vIndex + 1 ) RETURN vResult
TMO_KY
3 years agoHelper II
THANK YOU so much! I've been racking my brain but now that I see it written and working, it makes sense. Appreciate it!
DataInsights
3 years agoSuper User
Glad to hear that!