Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
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
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?
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
User | Count |
---|---|
115 | |
73 | |
60 | |
48 | |
47 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |