Forum Discussion
Cumulative Count by Date
I have looked at 47 different formula posted here and cannot figure this out.
I have a Sharepoint list that tracks workflow items and I am trying to create a Cumulative Monthly count by the Created Date.
Requests Created Cumulative =
CALCULATE(
COUNT('Production Approval Workflow'[RowNumber]),
FILTER(
'Production Approval Workflow',
('Production Approval Workflow'[Created].[MonthNo] <= MAX ('CalendarTable'[Date]) )
)
)This code above will return the correct cumulative total for all time. What do I need to add to get this measure to display a monthly cumulative total for each month?
You may refer to measure below.
Measure = CALCULATE ( COUNT ( 'Production Approval Workflow'[RowNumber] ), FILTER ( ALLSELECTED ( 'Production Approval Workflow' ), 'Production Approval Workflow'[Created] <= MAX ( 'CalendarTable'[Date] ) ) )
4 Replies
- Phil_SeamarkMicrosoft Employee
- comish4lifHelper II
The picture above is how I want the calculation to show a monthly total.
Below is how it is not displaying the monthly total, and is only showing the complete total.
- v-chuncz-msftCommunity Support
You may refer to measure below.
Measure = CALCULATE ( COUNT ( 'Production Approval Workflow'[RowNumber] ), FILTER ( ALLSELECTED ( 'Production Approval Workflow' ), 'Production Approval Workflow'[Created] <= MAX ( 'CalendarTable'[Date] ) ) )
- TosloNew Member
In regard to the topic above. I used the solution to get a measure for the count in every category, but I get no values for dates when their is no "activity" on a category. It wil only cumulatively count the rows when there is a value in that year. Example 2018 "109", 2019 "" and 2020 "121". Does anybody know how to solve this issue?