Skip to main content
Adaptive Planning
Last Updated: 2025-11-14
Example: Sort and Limit Data in Charts

Example: Sort and Limit Data in Charts

Sorting and limiting data on a chart helps you focus on key data points. You can analyze top or bottom performers that can help you uncover root causes and take action on them. Sorting and limits work best with area, bar, column and line charts with breakdown by dimension.
  • Sorting data lets you organize and list data in ascending or descending order. For example, you can view revenue by highest performing sales people or view lowest selling product by location.
  • Adding limits let you display only the top
    N
    or bottom
    N
    of a whole set of data. For example, you view the top 5 highest performing sales people or the 5 lowest selling products by location. It is possible to apply a filter to a data and then sort and limit of that filtered data.
This article explains how to create a bar chart that visualizes product sales for Q1. You will sort by revenue and limit data to the top five performers and bottom five performers. After completing this walkthrough, you will have a bar chart that shows top sales from highest to lowest and a bar chart that shows bottom sales from lowest to highest.

Prerequisites

  • This example uses the default version
    Working Budget,
    a
    Revenue
    cube account, and a
    Product
    dimension.
  • Edit access to a personal or shared perspective.
  • Security:
    • Access Dashboards
      permission.
    • Edit Dashboards
      permission.
Your versions and data sources may be different than the ones illustrated in this example.

Navigation

Navigation Icon5.png Navigate to
Dashboards
to display all perspectives.
View the perspective and select
Edit
and navigate to the dashboard where you will create the chart.

Create and Set up a Bar Chart

You will create a bar chart that shows revenue for the electronics department of a retail outlet.
After completing these steps, you will have a bar chart that looks like:
Bar Chart Without Sorting and Limiting Settings
Create a Bar Chart
  1. In edit mode, select the
    Charts
    button In the left panel. Drag and drop the
    Bar
    chart to the design area.
  2. Click the
    Accounts
    button to view a list of accounts. Expand Cube accounts and drag a revenue account to the chart.
Change Time Settings
  1. In the right panel, click the
    Time Settings
    button to change the default time of the chart.
  2. Change the Stratum. Select
    Quarter
    from the drop-down.
  3. Keep the Span default (no change is required).
  4. Pin and set time to an specific period. The
    Pin
    icon is blue when pinned and gray when unpinned.
  5. Change the period to show only Q1.
Time Range Settings to Show First Quarter
Change Appearance Settings
  1. In the right panel, select the
    Appearance Settings
    tab to change the appearance of the chart. Rename the chart to
    Q1 Computer and Gaming Sales
  2. (Optional) Experiment with these
    Appearance Settings
    :
    • Axis > Primary Axis Title: Account Name
    • Legend > Legend: Turn off (do not display the Legend)
Change Data Settings
  1. Select the
    Data Settings
    tab to edit the data settings.
    Expand the Breakdown section and:
    1. Change the breakdown to
      Dimension
      .
    2. Select a dimension or attribute. Search or browse and select
      Product
      .
  2. Expand the the Accounts section, and expand the Revenue account. Turn on the Trendline.

Set Up the Sort

You want to sort product sales by revenue from highest to lowest in descending order.
After completing these steps, you will have a bar chart that looks like:
Bar Chart Showing Product Sales Sorted by Revenue from Highest to Lowest
  1. Select the
    Data Settings
    tab to edit the data settings.
  2. Expand the Sorting & Limiting section and choose
    Revenue
    to sort by.
  3. Select
    Descending
    to set the sort order.
  4. For Limits, keep
    Show all records
    (default).

Set Up the Limit

You now want to focus your analysis on the top and bottom five product sales.
Show the Top Five Performers
For the top five products in sales, you want to show the highest to lowest performers. After completing these steps, you will have a bar chart that looks like:
Bar Chart Showing Top 5 in Sales from Highest to Lowest
  1. Select the
    Data Settings
    tab to edit the data settings. Keep the settings from Sort By as
    Revenue
    and Sort Order as
    Descending
    .
  2. Choose
    First N
    and enter
    5
    . This will limit the data to the top five performers.
  3. (Optional) In the
    Appearance Setting
    tab, rename the chart:
    Q1 Computer and Gaming Sales (Top 5)
Create a Copy of the Bar Chart
You want a second bar chart that shows the bottom five products in sales. You will copy the chart for top performers.
  1. On the chart, click
    Chart options
    Copy
    .
  2. Right-click in the dashboard area, then click
    Paste Chart
    . A new chart is created, active and ready to edit.
Show the Bottom Five Performers
For the bottom five products in sales, you want to show the lowest to highest performers. After completing these steps, you will have a bar chart that looks like:
Bar Chart Showing Bottom 5 from Lowest to Highest
  1. Select the
    Data Settings
    tab to edit the data settings. Keep the settings from Sort By as
    Revenue
  2. Change the Sort Order to
    Ascending
    .
  3. Select
    Last N
    and keep
    5
    as the limit.
  4. (Optional) In the
    Appearance Setting
    tab, rename the chart:
    Q1 Computer and Gaming Sales (Bottom 5)
This completes this walkthrough.