22.4 Top N Filter
Steps in Power BI – top 5 products in Nagpur
- Select a bar chart with
Product[Product Name]on the axis (City slicer = Nagpur). - In Filters on this visual, expand Product Name › Filter type › Top N.
- Show items: Top,
5. Drag[Total Sales]into By value › Apply filter. - Change the City slicer to Kolhapur. The top 5 are recalculated.
Lakshat theva, use Bottom to find the weakest products or slowest dark stores. For a user-controlled N, see Module 21.5.
Ravindra Bagale's Tip
Mitrano, lakshat theva: the Top N filter is evaluated in the visual's context, and students are surprised when the "Top 5 products" change with the City slicer. That is correct behaviour, so explain it in the title ("Top 5 products in selected city") or remove the slicer interaction if it should be fixed. Ha niyam lakshat theva.