Introduction
The TOPN function helps you find the top or bottom items in your data based on a number you choose. It is useful when you want to focus on the best or worst performers, like top-selling products or lowest expenses.
When you want to show the top 5 products by sales in a report.
When you need to highlight the top 3 customers with the highest purchases.
When you want to filter a table to only show the top 10 employees by performance score.
When you want to create a chart that displays the top regions by revenue.
When you want to compare the top 7 months with the highest profits.