The goal is to create a visual for the Top 5 Sub-Categories with the highest average discount.
Connected to Sample Superstore Dataset.
Change the aggregation of a field:
If you want to change the aggregation of the field from sum to anything else, below is how you would do it.
![](https://www.thedataschool.co.uk/content/images/2022/08/image-460.png)
How to Create Top N:
![](https://www.thedataschool.co.uk/content/images/2022/08/image-463.png)
You have now successfully created a top 5 of average discount by sub-category.