Forum Discussion

fionabee's avatar
fionabee
Icon for Helper I rankHelper I
3 years ago
Solved

Count How Many Reports Occurred Last Month Without Updating Each Month

I have a stacked bar chart which shows reports made per team on a rolling 12 month basis with a separate section which shows the number made last month. The expression I'm using is:

Last Month Total New =
CALCULATE(
    COUNTA('Reports'[Team]),
    'Reports'[Created On (bins)] IN { DATE(2023, 7, 1) }
 
Each month I am going in and changing the month in the last part in brackets. Is there something I can do so this measure always looks at the previous month?

3 Replies