Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Power BI community,
I am working with some data that has been simplified in the below table.
What I am trying to do is split the data into quartiles based on a selected product. So if Product 2 is selected in a slicer/dropdown, what I would like is the sales data for that product split into 4 quartiles i.e. quartile 1 is the best performing countries in terms of Avg Profit (per unit), and quartile 4 the worst performing countries.. It's possible I may have certain products with sales in less than 4 countries, in which case they can go into the relevant quartiles in order from 1 to 2 to 3.
I would like to use the quartiles as visual filters after.
I've read several threads but can't figure out how I might do this, so any guidance would be appreciated.
| Product | Country | Avg Profit (per unit) |
| Product 1 | Country 1 | xyz |
| Product 1 | Country 2 | xyz |
| Product 1 | Country 3 | xyz |
| Product 1 | Country 4 | xyz |
| Product 1 | Country N | xyz |
| Product 2 | Country 1 | xyz |
| Product 2 | Country 3 | xyz |
| Product 2 | Country 5 | xyz |
| Product 2 | Country 9 | xyz |
| Product 2 | Country N | xyz |
| Product 5 | Country 3 | xyz |
| Product 5 | Country 7 | xyz |
| Product 5 | Country 8 | xyz |
| Product 5 | Country 11 | xyz |
| Product 5 | Country N | xyz |
| Product N | Country N | xyz |
Hi @Anonymous ,
You can refer to this thread:https://community.powerbi.com/t5/Desktop/quartile-ranking/m-p/560850
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This sounds like Dynamic ABC classification although it sounds like you want dynamic ABCD classification:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-ABC-Classification/m-p/479146#M180
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |