# Ranking

The Ranking feature in Powerviz heatmaps enables you to arrange data cells based on their values or categories, facilitating a clearer comparison of data points. This setting helps prioritize key information and uncover significant patterns within the heatmap.

you can apply ranking based on Rows and Columns

Rows:

* Top N / Bottom N: Define the ranking for rows by specifying the number of top or bottom items to display.
* Count: Add the count to determine the number of rows included in the ranking.

Columns:

* Top N / Bottom N: Define the ranking for columns by specifying the number of top or bottom items to display.
* Count: Add the count to determine the number of columns included in the ranking.

<figure><img src="/files/PemcMTaAbutjANfvHZb8" alt=""><figcaption></figcaption></figure>

Example

<figure><img src="/files/yuZAhIUwETrXzRK8kzLe" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerviz.ai/powerviz/heatmap/advanced-settings-introduction/ranking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
