Forum Discussion
ArchStanton
2 years agoPower Participant
Previous 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
- rajendraongole1Super 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!!- ArchStantonPower Participant
Thank you!