Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

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.

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
       

  2. Click Filter from the menu that displays. 
    Click Filter from right-click menu

  3. Notice a Create a filtering condition dialog box displays with the basic framework for a WHERE statement.  The arithmetic operator is set to Equal to, by default.   
  4. Modify this operator by double clicking Equal to. 
    Equal to Operator

  5. Then click the "Equal to" dropdown arrow to display the available options.  
  6. Click to select an option from the list, as desired.  
    Equal to operator dropdown

  7. To modify the type of filter in use, double-click the <Value> field.
    Click Value field
  8. Then click the "Value" dropdown arrow to display a list of additional options.


  9. From the Value dialog box, click the Type dropdown 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 dropdown

Constant Filter Type 

  1. The Constant selection from the Type dropdown, allows you to either:
    1. Type the value(s) in the Value field. 
    2. Highlight the line item in the left  Value pane.
    3. Then click the double chevron to add it to the list of available options. 
      Type in Value field
    4. Repeat these steps for each value that should be added.  

      OR, 

    5. Retrieve all the available values from the database, by clicking the Get Values dropdown.
    6. Select an option from the dropdown.
    7. Then click the respective double chevron.  
      Get Values Dropdown
    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

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

Parameter Filter Type 

Parameter Options

  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. 

      You can also select Optional to indicate that the selected value (Simple, Static, or Dynamic) is optional when running the report.

Simple Parameter Filter 

  1. For our example, we will use EMPLID. 
  2. Select the Simple radio button.  


  3. Enter text in the Description field exactly as you would like it to be seen by the person running the report.  


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

Static Parameter Filter 

  1. For our example, we will use ACAD_PROG_PRIMARY. 
  2. Select the Static radio button. 
    Static Radio Button

  3. Enter text in the Description field exactly as you would like it to be seen by the person running the report.  
    Description Field

  4. Enter the appropriate text in the Value field, and then click the double arrow to add to the Multiple Values: list on the right. 

    The Multiple Values list, to the right, represents the list of values the user will see in the dropdown for this parameter when running the report.  

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


Dynamic Parameter Filter 

  1. For our example, we will use Term Codes.  
  2. Select the Dynamic radio button. 
    Dynamic Radio Button

  3. Enter text in the Description field exactly as you would like it to be seen by the person running the report. 
    Description Field

  4. To allow selection of multiple terms at the time of running the report, check off multiple values at runtime.   
    Select multiple values at runtime
  5. Select Desending, as the sort prompt order option.  Sorting in 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

  6. In the Search Fields section, select the field that is being filtered - this should match the text that displays in the Name field above.  


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


Vendor videos are available for additional relevant information, such as: How to Use Filters, as desired.  

Refer to the vendor documentation WebFOCUS InfoAssist Manual 8.2.06 for additional information, as desired.

  • No labels