|  Previous |  Next | 
This procedure creates a filter on an interactive report.
Syntax
APEX_UTIL.IR_FILTER(
    p_page_id       IN NUMBER,
    p_report_column IN VARCHAR2,
    p_operator_abbr IN VARCHAR2 DEFAULT NULL,
    p_filter_value  IN VARCHAR2,
    p_report_alias  IN VARCHAR2 DEFAULT NULL);
Parameters
Table: IR_FILTER Parameters describes the parameters available in IR_FILTER procedure.
IR_FILTER Parameters
| Parameter | Description | 
|---|---|
| 
 | Page of the current APEX application that contains an interactive report. | 
| 
 | Name of the report SQL column, or column alias, to be filtered. | 
| 
 | Filter type. Valid values are as follows: 
 | 
| 
 | Filter value. This value is not used for 'N' and 'NN'. | 
| 
 | Identifies the saved report alias within the current application page. To create a filter on a Primary report,  | 
Example
The following example shows how to use the IR_FILTER procedure to filter Interactive report with alias of '8101021' in page 1 of the current application with DEPTNO equals 30.
BEGIN
    APEX_UTIL.IR_FILTER (   
        p_page_id        => 1,
        p_report_column  => 'DEPTNO',
        p_operator_abbr  => 'EQ',
        p_filter_value   => '30'
        p_report_alias   => '8101021'
        );
END;