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.

Summary

  • Rearrange the order of query results by navigating to Edit and selecting the Sorting option.
  • Remove identical data records from your query view by enabling the Hide Duplicate Rows feature.
  • Adjust the display of specific fields, such as switching between picklist IDs and labels, using Column Formatting.
  • Use File then Cancel Changes to revert to the last saved version of your query.
  • Export your finalized query to the query list to reuse it in other List Report components.