- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No#of customers, # of new sales, # of churn
Hi all,
I have a tabular cube with a GL as fact table and some dimensions such as customers, time and P&L as dimensions in a star schema.
I want to count customerbase, new sales, churn and upsales. I can structure my data like shown below with customers in rows, time in column and invoiced sales as values.
jan feb march comment
customer
1 100 100 100 Should be counted as a customer each month
2 0 100 100 Should be counted as new sales from feb and ordinary customer from march
3 100 0 0 Should be counted as churn from feb
4 100 200 200 Should be counted as ordinary customer from jan and an upsale in feb and then ordinary customer from march again
I have been able to count customerbase with
Total customers = (DISTINCTCOUNT(Fact_Puzzel_Ax[CustTable_Id]))
but i am struggling to make som dax measures that captures the rest of the measures
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kandre,
If I understand your scenario correctly that you want to calculate the count of customerbase, new sales, churn and upsales.Now you have counted the customerbase, but you have problems with calculating the others?
If it is, could you share more details about your data sample, and what is meaning of churn and upsales?
I would apprecite it if you could share your desired output.
Best Regards,
Cherry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes this is correct.
Definition of churn for our case is when we have lost a recurring customer. We invoice each customer each month for a licensing subscription of our software. When a customer decides to terminate their contract it would mean 0 in sales for that particular customer from the month their termination takes effect.
Definition of upsale is when a recurring customer decides to buy add-ons to our software, meaning if their basic subscription was 100$ and they decided to add services such as a bot or social media add-in at 10$, their new monthly subscription would be 110$ that would count as upsale.
Output would be to identify monthly trends and on customer level the value and number of lost customer, new customer or upsale
How can i share datasample?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kandre,
You can upload a dummy pbix to OneDrive or Dropbox and post the link here. (Do mask sensitive data before uploading.)
Best Regards,
Cherry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
01-05-2025 05:26 AM | |||
06-12-2024 12:25 PM | |||
12-21-2023 05:27 AM | |||
01-03-2025 07:45 AM | |||
01-22-2025 06:32 AM |
User | Count |
---|---|
136 | |
107 | |
88 | |
58 | |
46 |