Forum Discussion
Top 5 By Two different Conditions
- 6 years ago
Hi Anonymous
I've attached a file with a solution.
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Hi Everyone,
Adding one more situation in the given scenario. (I am using SQL server direct query source hence unable to add new tables in model)
I want to filter category first and then in the filter category I want fetch top 5 associate name and top 5 divison in that particulat category.
Below is the Raw data
| Category | Associate | Division | Spend |
| Business | A1 | Road | 234 |
| Asset | A2 | Services | 343 |
| Electriical | A1 | Home | 223 |
| Labour | A4 | Services | 555 |
| Business | A5 | Group | 4234 |
| Asset | A6 | Medical | 234 |
| Electriical | A7 | Music | 344 |
| Labour | A6 | Home | 2344 |
| Business | A9 | Vehicle | 434 |
| Asset | A6 | Hospital | 434 |
| Electriical | A11 | Class | 2 |
| Labour | A12 | Veg | 23434 |
| Business | A13 | Cream | 234 |
| Asset | A6 | Home | 2344 |
| Electriical | A9 | Vehicle | 434 |
| Labour | A6 | Hospital | 434 |
Asset | A11 | Class | 2 |
Result would be say I filtered Category using page level Filter as Asset. Therfore under asser Top5 supplier and Top 5 spend would be like below snapshot. Mine motive is to segereate the Associate name by category and under cateory which are the Top5 associate and their spend with Top5 division(In column in powerBi)
Kindly help I am struggling on this from last couple of weeks. I am new in PowerBi therefore need support from you.
Regards
Uphar Tandon