Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Finance
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.

Finance_0-1606507997182.png

 for Upgrade im using 

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

Downgrade
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))



2 REPLIES 2
edhans
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

https://totalserver-my.sharepoint.com/:u:/r/personal/ruchit_patel_performive_com/Documents/Churn%20A...

 

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

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors