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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Hailey_Hung
New Member

Churned MRR calculation

Hey guys,

I'm new to Power BI. I'm writing MRR analysis. Completed count of churned customer, new customer and retained customer using following measures:

CustCountChurned = - sumx(VALUES(Cust_lookup[Cust#]), if(not(ISBLANK('GL'[RevLastMTD])) && ISBLANK('GL'[RevMTD]) ,1,BLANK()))


CustCountNew = sumx(VALUES(Cust_lookup[Cust#]), if(ISBLANK('GL'[RevLastMTD]) && not(ISBLANK('GL'[RevMTD])) ,1,BLANK()))


CustCountRetained = sumx(values(Cust_lookup[Cust#]),if(not(ISBLANK('GL'[RevLastMTD])) && not(ISBLANK('GL'[RevMTD])) , 1,BLANK()))

 

Datasets look like this:

螢幕擷取畫面 2024-05-11 005910.png

 

Need your help on calculate the revenue of churned customer, new customer and retained customer with following definitions:

  • Rev of Customter churned = prior month revenue from customers churned in current month
  • Rev of new Customer = current month revenue from new customer in current month
  • Rev of Customers retained = current month revenue from retained customer in current month

I would very appreciation your help 🙂
p.s. I have read post on similar topics but can't find solutions. I tried to use the following measure to calculate revenue of customer churned but failed.  

RevChurned = 
VAR ChurnedCustomers =
    CALCULATETABLE(
        VALUES(Cust_lookup[Cust#]),        
        ISBLANK('GL'[RevMTD]) && NOT(ISBLANK('GL'[RevLastMTD]))
        )
RETURN
CALCULATE(
    SUM(Revenue[GLAmtAdj.]),
    Cust_lookup[Cust#] IN ChurnedCustomers
)




1 REPLY 1
Anonymous
Not applicable

Hi @Hailey_Hung ,

 

Can you provide your sample data and expected results?

 

Best regards,
Community Support Team_ Scott Chang

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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