Only show Top 20 count
Im trying to create a dashboard that only displays the top 25 count.
Or only show if the count is more than 5.
Right now i displays everything, and the once that have a count below 5 isnt really important.
Best Answer
-
Tom_Hendricks Customer Super IT Monkey ✭✭✭✭✭In your SQL query, does it begin with SELECT TOP 20? If you include an ORDER BY statement at the end, that will ensure that you are seeing only the highest counts. e.g.: ORDER BY COUNT(whateverfieldyouarecounting) DESC if your query is grouped or if it is just a number field, ORDER BY whateverfieldyouarecounting DESC
7
Answers