Configuring Additional Query Options

Objective

After completing this lesson, you will be able to configure additional query options Define data sets Create static and runtime filters in SAP SuccessFactors Canvas Reports.

Column Sorting

Columns in a query can be sorted by choosing EditSorting. You can rearrange the order of the columns by selecting the column name in Available Columns and then using the up and down arrows to set the sorting order of the columns. You can toggle between ascending and descending by selecting the blue button.

Example showing Last Name as the chosen sort option.

Hide Duplicate Rows

You can also hide duplicate rows by choosing EditHide Duplicate. When selected, duplicate rows will automatically be hidden from view. You can toggle between showing and hiding duplicate rows by selecting the checkmark next to Hide Duplicate Rows on the menu.

Note

Hiding rows is a feature that is not available when using the replicated data source.

Column Formatting

When adding columns to the query, it is possible to change the format of specific fields used in it. You can change the format of the following:

  • Date type fields (switch between Date or Date / TimeStamp)
  • Text type fields that are using picklist values (switch between the Value or the ID)

You can change the format by navigating to EditColumn Formatting.

Note

Column Formatting is only applicable to Detailed Reporting using live data.

Column formatting showing column, data type, and modified data type.

Save Queries

As you make changes to the query by adding data, static filters, and People Scope, you can save the query at key steps. To save the query, choose FileSave.

When you save your changes, if you make unwanted changes to the query, you can revert to the previous save point by choosing FileCancel Changes.

If you want to use the query in another report, you can export (save) the query in the query list. In the list component formatting page, choose Export and provide a name for the query. The query will appear in the query list when adding a new list report component.

Choose Export, and enter a name for the query. The query is displayed in the list.

Exercise: Sort Rows in a Query

Business Example

In this exercise, you will sort your Employee Information query by ascending name.

Steps

  1. On the query building screen, choose the Edit dropdown menu and select Sorting.

  2. From the Available Columns on the left, select Calculated ColumnsEmployee Name.

  3. To use more than one sort column, choose the arrows either up or down to arrange the Selected Sort Columns. To toggle between ascending and descending, choose the blue (A > Z) button. Confirm that the sort is ascending (A > Z).

  4. To complete the action, choose OK.

  5. Choose FileSave.

  6. Click Return to return to Format List Report.

  7. Select OK to return to page designer.

Summary