Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Community!
I am struggling with a writing the DAX to correctly calculate a Retention % at the Total level.
I believe a picture will best help me to explain my scenario.
The below tables represent customers acquired in each month, and how many months they remain active until dropping.
The goal is to be able to further visualize these %'s over time to track how various efforts can improve Customer Retention.
In order to do so, I need to improve how the Total Retention % for each MonthNumber (columns) is being calculated.
The issue at hand is represented in orange below.
In the orange circles, we can see that our 17mo Retention % is currently being tracked at 9%, which is the result of 944/10,050.
The desired inputs for Month 17 Retention is circled in red - 944 / 1,915 or 49%.
Desired Inputs for Month 16 Retention are circled in Blue, Month 15 in green.
Underlying data shown below. Each subscription has a "Months Active" value calculated in SQL using a datediff between Active and Drop date. Helper table is used to account for Start Months that may have gaps.
I would like to help but I'm a little unclear about your requirements.
Can you provide the following?
1) Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
2) Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
3) Please explain how you would expect to get from step 1 to 2.
4) If possible, please show your past attempts at a solution.
A .pbix file with sample data would be best.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |