Forum Discussion
Line Chart Cumulative sum
Hello v-yulgu-msft ,
Sorry for clarity purposes the [Status Over Time] field is an updating list of dates based on the date the product status was changed. Therefore, the date the record for the product was created there would be no value(as record creation date is not recorded from the data we pull), the date the product is in production the date will change to that date and if the product is shipped, the [Status over Time] will be changed to the date it was shipped. The created count changes to 1 if the product is in production and 0 if the product is not. If a product has been shipped, it was in production at some point and should be included in the running total
Hi alk,
Running Total SUM = CALCULATE (SUM(' Report'[Created Count]), FILTER( ALLSELECTED(' Report'), ‘Report’[date_added] <= MAX ( [Status Over Time]) && MIN([Status Over Time]) <= TODAY()))
I still have some concern:
- There is no [date-added] column in sample table.
- What does the highlighted part mean?
- Should we consider the "Product status", whether it is "In production" or "shipped" when calculating running total?
- Please use a column list to show us your desired result (the correct running total value) based on above sample.
Regards,
Yuliana Gu