Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Suppose I have a list with clients and the months they have been onboard. The clients are either active or inactive, and I want to make a chart going from 0 months to Max months, where at month i I will have the percentile of clients that "made it" to i months without quitting. So far, I have been using R and 12 measures* to produce this chart.
Note that this chart can easily be made with an auxiliary table, but then I can not filter on my data in the report.
Anyone else stumbled across something like that?
Last note- I recently saw the whatif trick, which allows to perform * with a parameter, but this can not be transfered to R, sadly.
*The measures are of the sort
i month attrition = CALCULATE(COUNTROWS('Gifts'), FILTER('Gifts','Gifts'[months onboard]>=i)) / CALCULATE(COUNTROWS('Gifts'), FILTER('Gifts',not ('Gifts'[IsActive]= TRUE() && ('Gifts'[Months onboard]<i))
Hi @noyrotbart,
Can you share a sample in TEXT mode? The .pbix file would be great. I think DAX formula is enough.
Best Regards!
Dale
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 40 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 149 | |
| 105 | |
| 63 | |
| 36 | |
| 36 |