Forum Discussion

JH's avatar
JH
Frequent Visitor
8 years ago

Help! Delete cumulated values by Month

Hello, 

 

 

I created a revenue cohort in Power BI, looking like this (appr. recreation):

 

I successfully managed to cumulate my values, to get the cumulated revenue cohort. However the following issue appeared:

 

 

The cumulated values keep on appearing after their last Month (blue) as the revenue of M1 (yellow)

F.e.: If a vendor signed in 2014-09 and made a revenue of 32€ in his first month (M1), 32€ will appear in every M.. after M45. 

(2014-09 --> 2018-06 = 45 Months (M45))

 

I tried to use the following DAX Formula, with no success:

 

Remove values = IF(IFERROR([Cumulated_internal_revenue],10000 <10000),TRUE(),FALSE())

 

Please help me out, its driving me crazy :) 

 

Thanks

2 Replies

  • v-juanli-msft's avatar
    v-juanli-msft
    Icon for Community Support rankCommunity Support

    Hi JH

    Do you use stacked bar chart? Which columns/measures do you put in this visual and how they are created?

    Could you show a real screenshot of Power BI visual?

     

    Best Regards

    Maggie

    • JH's avatar
      JH
      Frequent Visitor

      Hey Maggie,

       

      Thanks for you reply! 

       

      No, I used a Matrix Table. As column, I used the measure "Months after Signup" and as rows " Cohort". The value is "cumulated internal revenue", calculated with the following DAX  Formula: 

       

      All three Measures are in the same "Internal Revenue" table

       

      Cohort is an added collumn created like the following:

      Unfortunately, I cannot publish an actual screenshot :)