Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Calculate Cumulative value based on two variables

Hi Experts I am tryng to calculate the cumulative rate as shown in the explain below - which is pretty striaght forward in excel.  The first cell formula is 262/802338 then the formula there ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    hi team microsoft

    you formula is fine see my problem the graph to the left is correct the graph to the right is cumulative an is wrong.

  • v-lid-msft's avatar
    v-lid-msft
    6 years ago

    Hi Anonymous ,

     

    When we calculate the culmulative sales, we can use the following measure, add the filter in Dim_Sales_Volume Table instead of PMS_FINANCIAL_PDS

     

    Cumulative Sales = CALCULATE([TotalSalesTrend],
        FILTER(
          ALLSELECTED(Dim_Sales_Volume),
        [Month Start] <= MAX(PMS_FINANCIAL_PDS[Month Start])
        )
    )

     

     

    Best regards,

    Community Support Team _ Dong Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.