Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have 5yrs of historical data where I need to provide a chart that tells me how many 'Customers' contributed to the Top 80% of sales
I have managed to get this far by using RANKX (Refer image)
Issues
1) I dont know how to write a DAX that only COUNT the number of customers giving me Top 80% of Sales (highlighted in Green in the image). I dont want to use to use the FILTER pane
2) I dont know how to write a DAX to help me provide below (including a bar chart)
FY16 | FY17 | FY18 | FY19 | FY20 | |
No. Customers contributing to Top80% of Sales | 100 | 85 | 95 | 110 | 115 |