Feedback

  • Contents
 

Specify the Query Results Sort Order

Use the Order pane on the Account Analysis page to specify the sort order for the data returned in the query results. For example, if desk and customer appear in the Order pane, the query results sort first by desk and then by customer within the desk.

To specify the sort order for query results

  1. Ensure that a query is open on the Account Analysis page.

Account Analysis page

  1. In the Data Selection tree, expand nodes to locate the data item to include as a column.

  2. Drag and drop the data item into the Select Columns pane.

  3. Continue adding data items as necessary.

Note: You can sort by aggregate data by dragging the aggregated column from the Select Columns pane and dropping it into the Order pane. For more information about aggregating data, see Assign an Aggregate Function to a Column.

  1. To delete a data item from the sort, in the Order pane, click the data item and then click Delete.

  2. To change the sort order, in the Order pane, click the data item and then click Move Up or Move Down.

  3. To sort in ascending order, in the Order pane, click the data item and then click Order Asc.

  4. To sort in descending order, in the Order pane, click the data item and then click Order Desc.

Related Topics

Query Results

Create an Account Analysis Query

Modify an Account Analysis Query

Account Analysis