Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

revenue churn

I have date set with (client id, Invoice id, plan id, amount, billing start date, billing end date). I have to identify revenue in 4 parts (New  revenue, Downgrade in revenue, Upgrade in revenue, Lost in revenue). I have identified Revenue from new customer, lost customer, lost customer and having hard time finding revenue from upgrade. Currently I can do (Upgrade - New customer revenue) but my total will be in negative, which is not my desire amount. Can any one help me identifying upgrade and downgrade in most efficient way.


 for Upgrade im using 

Upgrade = SUMX(VALUES(Revenue[clientid]),MAX(BLANK(),[Per Month Revenue Jump]))

DownGrade = SUMX(VALUES(Revenue[clientid]),MIN(BLANK(),[Per Month Revenue Jump]))

per month revenue change 
Per Month Revenue Jump = SUM(Revenue[Monthly Amount])-[Last Month Invoice]

Previous Month sale
Last Month Invoice = CALCULATE(SUM('Revenue'[Monthly Amount]),DATEADD('Calendar'[Date],-1,MONTH))

Super User
Super User

Without data this is hard to do. What is [Per Month Revenue Jump] for example? Not sure why you are using BLANK() in MAX/MIN either. It treats them as 0, so why not use 0 to make the code more readable? 


How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.

Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling

Proud to be a Super User!

MCSA: BI Reporting

Hey Edhans


Please find the attach link


I have calculated absolute revenue of each customer to measure sales from new customer at any given point. Any added or removing service "different product", will  be cosnider downgrade and upgrade from the customer to track revenue change from the customer over time. I'm not able to come up with better logic to calculate downgrade and upgrade from the customer.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors