---
isPrivate: true
title: >-
  There are too many lines on my graph, can I only display the most important
  ones?
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Dashboards > Graphing FAQ > There are too many lines on my graph, can I
  only display the most important ones?
---

# There are too many lines on my graph, can I only display the most important ones?

## Problem{% #problem %}

When using a grouped query there are sometimes too many lines displayed on the graph, and you might end up with something complicated to read, for example:

{% image
   source="https://datadog-docs.imgix.net/images/dashboards/faq/too_many_metrics_1.e4350ab7e6df1a4e6bccded14f175de9.png?auto=format"
   alt="too_many_metrics_1" /%}

… where you only need to focus on the hosts with high load values here.

## Solution{% #solution %}

The top function is a good fit to display only the few relevant lines on the graph:

{% image
   source="https://datadog-docs.imgix.net/images/dashboards/faq/too_many_metrics_2.4677bedba499489bcf1bd1239747ff6e.png?auto=format"
   alt="too_many_metrics_2" /%}

See the [Top function documentation](https://docs.datadoghq.com/dashboards/functions/rank/) for more details.
