Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Dynamic Current Month vs Last Month Measure

I'm trying to create a measure that dynamically calculates current month vs last month values, so right now I'm always taking the MAX month selected (this is working) and comparing the previous month's value (even if just one month is selected in a filter). I tried using ALL on the filter conditions, but then it doesn't seem to have the context to change based on any filter conditions (I'm trying to create current vs last month by different categories and have it respond to filters). Is something like this possible, or would you always have to have at least 2 months selected in the filters?

1 Reply