Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once a report is created, filters enable you to customize the display of data in your report. This gives you the advantage of viewing only the data that you want to see and
use.

Noteinfo

Refer to the Creating Basic Reports article prior to going through the steps of this article. 

Filters 

  1. Right-click on a field from the left Data navigation pane. 

    right-click on a field in the data pane Image Removed
       right-click on a field in the data pane Image Added
  2. Click Filter from the menu that displays. 

    Click Filter from right-click menu Image RemovedClick Filter from right-click menu Image Added
  3. Notice a Create a filtering condition dialog box displays with the basic framework for a WHERE statement.

      The

     The arithmetic operator is set to Equal to

    ,

    by default.   

  4. Modify this operator by double-clicking Equal to. 

    Equal to Operator Image RemovedEqual to Operator Image Added
  5. Then click the "Equal to"

    dropdown

    drop-down arrow to display the available options.  

  6. Click to select an option from the list, as desired.  

    Equal to operator dropdown Image RemovedEqual to operator dropdown Image Added
  7. To modify the type of filter in use, double-click the <Value> field.
    Click Value field Image Modified

  8. Then click the "Value" 

    dropdown

    drop-down arrow to display a list of additional options.

    Image Removedvalue drop-downImage Added
  9. From the Value dialog box, click the Type

    dropdown

    drop-down arrow to modify this selection, as desired.

     

    Available options are listed and briefly defined below.  

    1. Constant. Allows the entry of a literal value. This value can be a positive number, a negative number, or any character string.

    2. Parameter. Allows you to specify a parameter by entering a name and description in the provided text input areas, as well as selecting the type of parameter (Simple, Static, or Dynamic). 

    3. Field. Allows the specification of a field name to compare against

      . Will be documented in future documentation, more to come

      .

        


      Type dropdownImage Modified

Constant Filter Type 

  1. The Constant selection from the Type

    dropdown,

    drop-down allows you to either:

    1. Type the value(s) in the Value field. 

    2. Highlight the line itemin the left Value pane.

    3. Then click the double chevron

      to

      to add it to the list of available options. 

      Type in Value field Image RemovedType in Value field Image Added
    4. Repeat these steps for each value that should be added.

        
      OR

      Alternatively,

       

    5. Retrieve all the available values from the database

      ,

      by clicking the Get Values

      dropdown

      drop-down.

    6. Select an option from the dropdown.

    7. Then click the respective double chevron.  

      Get Values Dropdown Image RemovedGet Values Dropdown Image Added
    8. Repeat these steps for each option that should be added from the Get Values dropdown.  

  2. Once the values appear on the right

    ,

    within the Multiple Values

    :

    pane, select a value and click the up/down arrows to reorder, or click the red X to delete a value from the right.  

    Reorder or Delete values from the right Image RemovedReorder or Delete values from the right Image Added
  3. Click OK to confirm and return to the WHERE statement view.  

Parameter Filter Type 

...

  1. Once Parameter is selected from the Type dropdown, available options include:

    1. Simple. This is used for prompts using Text Input. This is the default value.

    2. Static. This is used for prompts using Selection. This option allows you to select from a user-defined list of values at run time. 

    3. Dynamic. This is used for prompts using Data Values. This option allows you to select from a list of all values at run time. 

    4. Tip

      You can also select Optional to indicate that the selected value (Simple, Static,

      or

      Dynamic) is optional when running the report.

Simple Parameter Filter 

For our example, we will use EMPLID. 

  1. Select the Simple radio button.  

    Image Removedsimple buttonImage Added
  2. Enter text in the Description field exactly as you would like it to be seen by the person running the report.  

    Image Removeddescription fieldImage Added
  3. Click OK to confirm and return to the WHERE statement view.  

    Image Removedok checkmark buttonImage Added

Static Parameter Filter 

For our example, we will use ACAD_PROG_PRIMARY. 

  1. Select the Static radio button. 

    Static Radio Button Image RemovedStatic Radio Button Image Added
  2. Enter text in the Description field exactly as you would like it to be seen by the person running the report.  

    Description FieldImage RemovedDescription FieldImage Added
  3. Enter the appropriate text in the Value field, and then click the double arrow to add to the Multiple Values

    :

    list on the right.

      NoteThe Multiple Values list, to the right, represents the list of

     This list displays the values the user will see in the

    dropdown

    drop-down for this parameter when running the report.

      
    Image Removed

  4. Click OK to confirm and return to the WHERE statement view.  

Dynamic Parameter Filter 

For our example, we will use Term Codes.  

  1. Select the Dynamic radio button. 

    Dynamic Radio Button Image RemovedDynamic Radio Button Image Added
  2. Enter text in the Description field exactly as you would like it to be seen by the person running the report. 

    Description Field Image RemovedDescription Field Image Added
  3. To allow the selection of multiple terms at the time of running the report, check off Select multiple values at runtime.   

    Select multiple values at runtimeImage RemovedSelect multiple values at runtimeImage Added
  4. Select

    Desending,

    Descending as the sort prompt order option.

     

    Sorting in

    Descending Order

    descending order is recommended for this example, as this allows the most recent term to appear at the top of the list. 

    Sort prompt values - Descending Image RemovedSort prompt values - Descending Image Added
  5. In the Search Fields section, select the field that is being filtered

    -

    ; this should match the text that displays in the Name field above.  

    Image Removedsearch fields sectionImage Added
  6. Click OK to confirm and return to the WHERE statement view.  

false
Note
icon
Info

Vendor videos are available for additional relevant information , such as:(e.g., How to Use Filters, as desired.  Refer to the vendor documentation ). For more information, see WebFOCUS InfoAssist Manual 8.2.06 for additional information, as desired.

Filter by label (Content by label)
showLabelsfalse
max

...

10
spacesIKB
showSpacefalse

...

...

typepage
cqllabel

...

in ( "webfocus" , "info_assist" , "infoassist" ) and type = "page" and space =

...

currentSpace ( )
labelskb-how-to-article
Page Properties
hiddentrue

Related issues