Forum Discussion
ArchStanton
Power Participant
2 years agoPrevious Month
Hi,
Is it possible to modify this measure so it gives me the previous month total?
MTD Active Cases = CALCULATE(
TOTALMTD(COUNT('Cases'[Case Number]),'Cases'[Created On]),
'Cases'[statecode] = "Active")Thanks,
Hi ArchStanton - Can you try below measure to get the previous month total
PreviousMonth_ActiveCases =
CALCULATE(
COUNT('Cases'[Case Number]),
DATEADD('Date'[Date], -1, MONTH),
'Cases'[statecode] = "Active"
)Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
2 Replies
- rajendraongole1
Super User
Hi ArchStanton - Can you try below measure to get the previous month total
PreviousMonth_ActiveCases =
CALCULATE(
COUNT('Cases'[Case Number]),
DATEADD('Date'[Date], -1, MONTH),
'Cases'[statecode] = "Active"
)Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!- ArchStanton
Power Participant
Thank you!