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.
Hello everyone,
Currently i am working on a customer churn dashboard. It's almost finished except for one thing which I cant solve. I want to calculate for each customer for how long he or she has been a subscriber in the last 3 years (My dataset contains only 3 years of data). What i did so far is that I entered the count of churners in the value slot and the ID's of customer in the axis slot. With this graph I can see for how many years each customer has been subscribed. however, I want to convert this data to a table. This is what I had in mind:
ID | Count of churn by ID |
2100005 | 3 |
2100006 | 1 |
2100007 | 1 |
Im kind of new to PowerBI so i'm not sure how to convert this sum of count per ID in a new column/table.
Thanks in advance!
Solved! Go to Solution.
@Anonymous
How many year or Count of churn by ID
one seems like
datediff(min[subscribe Date]), Max(Date[Date]),Year)
averaged(Values(Table[Customer]),datediff(min[subscribe Date]), Max(Date[Date]),Year) )
Where Date[Date] is date from date table used in slicer
In case you need bucketing - https://www.youtube.com/watch?v=CuczXPj0N-k
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
refer if needed
Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458
@Anonymous
How many year or Count of churn by ID
one seems like
datediff(min[subscribe Date]), Max(Date[Date]),Year)
averaged(Values(Table[Customer]),datediff(min[subscribe Date]), Max(Date[Date]),Year) )
Where Date[Date] is date from date table used in slicer
In case you need bucketing - https://www.youtube.com/watch?v=CuczXPj0N-k
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
refer if needed
Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |