If the number of entries in the List View is long, you may want to filter it so it displays only the entries that are currently of interest.
Note: If you regularly apply a particular filter, create a business rule instead. The
advantage is that business rules are saved, and filters are not saved.
To filter information in a List View pane
Example
This example shows how to find all rows in a List View where the substring of an attribute matches a specific value.
It uses an attribute named
Code
. The Code value is Jnnnnnn, and the 3rd position in
the value indicates the product type. For example, in the value J555555, the
product type is "5
."
The following procedure uses the SUBSTR function to find all rows with a product type of 9.
To find all rows for the attribute "Code" that have a product type of "9"- Open the Navigation View.
- Right-click the entity with which you want to work and select Drill down to Metadata.
- Double-click Rows. The Data Rows List View opens.
- In the List View, right-click and select Filter. The Filter List View window opens.
- In the expression elements list, click Functions.
- Click String in the middle elements list.
- Double-click SUBSTR in the right elements list. The expression SUBSTR(,,) displays in the upper pane.
- Place the insertion point before the first comma (,) in the expression.
- Click Attributes in the first elements list.
-
Double-click Code. The attribute "
Code
" is inserted in the expression. - Place the insertion point after the first comma.
-
Type 3 to indicate the first position of the string. The expression looks
like
SUBSTR(Code,3,
). - Place the insertion point after the last comma.
-
Type
1
to indicate the length of the string. The expression should now be SUBSTR(Code,3,1). -
Place the insertion point after the last parenthesis and type =. The expression
looks like
SUBSTR(Code,3,1)=
. -
Place the insertion point after the = (Equals) character and type
9
, where 9 indicates the product type for which you want to search. The expression looks like SUBSTR(Code,3,1)=9. -
Click Filter. The List View pane shows all values where the 3rd position
of
Code
is equal to 9.