<h2>Create a reference field interactive filter</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Create a reference field interactive filter" /><meta name="abstract" content="A reference field interactive filter allows users to filter report widgets based on the value of a reference field." /><meta name="description" content="A reference field interactive filter allows users to filter report widgets based on the value of a reference field." /><meta name="DC.subject" content="Interactive filter, Reference field" /><meta name="keywords" content="Interactive filter, Reference field" /><meta name="DC.relation" scheme="URI" content="../../../use/dashboards/reference/r_AvailableHomepagePublisherTypes.html" /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" /><meta name="DC.relation" scheme="URI" content="../../../use/reporting/concept/classic-vis-overview.html" /><meta name="DC.relation" scheme="URI" content="../../../use/dashboards/concept/c_HomepagePublishers.html" /><meta name="DC.relation" scheme="URI" content="../administer/field-administration/concept/c_ReferenceField.dita/c_ReferenceField.html" /><meta name="DC.relation" scheme="URI" content="../reference/r_AvailableHomepagePublisherTypes.html" /><meta name="DC.relation" scheme="URI" content="../use/using-lists-v3/task/create-related-list-query.dita/create-related-list-query.html" /><meta name="DC.contributor" content="josephinesne.sokkula" /><meta name="DC.contributor" content="courtney.bradwell" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2024-04-25" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="t_CreateAReferenceFieldPublisher" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Create a reference field interactive filter</title></head><body id="t_CreateAReferenceFieldPublisher"> <div class="breadcrumb"><a class="link" href="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" title="Optimize processes and increase productivity with Reporting, Performance Analytics, User Experience Analytics, and Process Mining. Present data in either the Core UI or the Next Experience UI Framework.">Analyze and optimize business processes</a> > <a class="link" href="../../../use/reporting/concept/classic-vis-overview.html" title="Present analytics on Core UI dashboards through reports and Performance Analytics widgets. Explore Performance Analytics indicators on the Analytics Hub.">Reporting, dashboards, and Performance Analytics in the Core UI</a> > <a class="link" href="../../../use/dashboards/concept/c_HomepagePublishers.html" title="Interactive Filters allow you to filter all reports on a dashboard dynamically, without modifying the original reports.">Interactive Filters</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Create a reference field interactive filter</h1> <div class="body taskbody"><p class="shortdesc">A reference field interactive filter allows users to filter report widgets based on the value of a reference field.</p> <div class="section prereq p"> <p class="p">Role required: <span class="ph">hp_publisher_admin and report_admin. The hp_publisher_admin role exists only for managing interactive filters. By default, it contains no other roles and is not contained in any other roles.</span></p> <div class="p"><span class="ph">When a user selects All, they do not see a report with all filter options applied, they see the unfiltered report.</span> This example of reference filter provides filter options from the Assignment Group field on the Group [sys_user_group] table.<br /><img class="image" id="t_CreateAReferenceFieldPublisher__image_w4s_yvn_2vb" src="../image/if-ex-rf.png" alt="Reference list filter example with the All option selected" /><br /></div> <div class="note"><span class="notetitle">Note:</span> If the interactive filter has a default value or specifies the last selected value, non-responsive dashboards do not apply this value automatically. This feature is only available on <a class="xref" href="../concept/c_ResponsiveDashboards.html" title="Responsive dashboards enable you to share widgets such as reports and Performance Analytics visualizations in the classic environment. An easy-to-use drag and drop canvas helps you create, edit, and arrange content, and then share it with colleagues.">Responsive dashboards</a>.</div> </div> <ol class="ol steps" id="t_CreateAReferenceFieldPublisher__steps_isr_y1h_kr"><li class="li step stepexpand"><strong>Optional: </strong> <span class="ph cmd">Check the existing interactive filters on the same table.</span> <ol type="a" class="ol substeps" id="t_CreateAReferenceFieldPublisher__substeps_jm1_dvy_lnb"><li class="li substep"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Reports</span> > <span class="ph uicontrol">Administration</span> > <span class="ph uicontrol">Interactive filters</span></span> and select an interactive filter based on the same table you want to filter.</span> </li><li class="li substep"> <span class="ph cmd">Under Related Links, select <span class="ph uicontrol">Other filters on Table</span>.</span> </li><li class="li substep"> <span class="ph cmd">Review the other filters that are available on the same table to see if the filter you want already exists.</span> </li></ol> </li><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Reports</span> > <span class="ph uicontrol">Administration</span> > <span class="ph uicontrol">Interactive filters</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">New</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">In the <span class="ph uicontrol">Filter based on</span> list, select <span class="ph uicontrol">Reference</span>.<br /><img class="image" id="t_CreateAReferenceFieldPublisher__image_l4g_fr5_vzb" src="../../reporting/image/if-filter-based-on-reference.png" alt="Filter based on list with Reference selected" /><br /></span> </li><li class="li step stepexpand"> <span class="ph cmd">In the <span class="ph uicontrol">Reference table</span> list, select the table that stores the referenced records you want to filter on.</span> </li><li class="li step stepexpand"><strong>Optional: </strong> <span class="ph cmd">Select a <span class="ph uicontrol">Default value</span> for the filter.</span> <div class="itemgroup info">This default is applied automatically for all users. Values that a user selects override the global default for that user. You can specify more than one default value when using a UI control type that enables multiple selections, such as <span class="ph uicontrol">Select Multiple Input</span>.<div class="note"><span class="notetitle">Note:</span> To pass more than 50 default values, or if you see the error <samp class="ph systemoutput">This is exceeding the GET call limitation</samp>, create multiple interactive filters.</div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Set the following fields:</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="t_CreateAReferenceFieldPublisher__table_blj_vgr_5tb" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d325207e227">Name</th><th class="entry cellrowborder" style="vertical-align:top;" id="d325207e230">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e227 ">Name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e230 ">Enter a name for the filter. <span class="ph" id="t_CreateAReferenceFieldPublisher__ph_jnw_x4q_bz">This name appears on the dashboard widget for the filter.</span></td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e227 ">Look up name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e230 ">Enter a lookup name for the filter. This name appears in the <span class="ph uicontrol">Add content</span> menu for users adding a filter to a dashboard. Use this name to help organize your filters. If you do not specify a lookup name, the <span class="ph uicontrol">Name</span> value is used instead.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e227 ">Description</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e230 ">Enter a description of the filter.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e227 ">UI control type</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e230 ">Select how the available filtering options for this filter appear on the dashboard widget. See <a class="xref" href="../reference/r_HomepagePublisherUIControlTypes.html" title="The interactive filter UI control type field provides several options for displaying the filter.">Available interactive filter UI control types</a>.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e227 "><p class="p">Show only search results that start with keyword</p> </td><td class="entry cellrowborder" style="vertical-align:top;" headers="d325207e230 "><p class="p">When selected, searches return only the results that start with the search term. Otherwise, searches return results that contain the search term anywhere. Consider this option when you are setting up a reference filter on a very large table, for example one with millions of records. A search on a common term may return too many records to be managed.</p> </td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand"><strong>Optional: </strong> <span class="ph cmd">Select <span class="ph uicontrol">Apply filter to database views and tables</span> to apply the filter to widgets based on both database views and tables.</span> <div class="itemgroup info"> <div class="note"><span class="notetitle">Note:</span> It is not possible to apply filters to tables that extend the database view’s tables. For more information, see <a class="xref" href="../../reporting/task/apply-filter-to-all-tables-in-hierarchy.html" title="When you create an interactive filter on an extended table, you can also apply the filter to database views and to the other tables in the hierarchy. The hierarchy includes all parent, child, and sibling tables.">Interactive filters on database views and table hierarchies</a>.</div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Right-click on the form header and select <span class="ph uicontrol">Save</span>.</span> </li><li class="li step stepexpand"><strong>Optional: </strong> <span class="ph cmd">If the UI control type is Select Single Input, select <span class="ph uicontrol">Remove All option</span> to configure the interactive filter without the All option.</span> <div class="itemgroup info"> <span class="ph">When a user selects All, they do not see a report with all filter options applied, they see the unfiltered report.</span> </div> </li><li class="li step stepexpand"> <span class="ph cmd">In the <span class="ph uicontrol">Interactive filter references</span> related list, select <span class="ph uicontrol">New</span>.</span> <div class="itemgroup info">This related list does not appear until you save the filter.</div> </li><li class="li step stepexpand"> <span class="ph cmd">In the <span class="ph uicontrol">Reference table</span> field, select a table that has reports that you want to filter.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Select the <span class="ph uicontrol">Reference field</span> to filter on.</span> <div class="itemgroup info"> <p class="p">The field must reference the table specified in the parent filter <span class="ph uicontrol">Reference table</span> field.</p> <p class="p">You can dot-walk from fields that reference other tables. For example, if the parent filter <span class="ph uicontrol">Reference table</span> is Department [cmn_department], you can select Incident as the reference <span class="ph uicontrol">Reference table</span>, then select <span class="ph uicontrol">Caller Department</span> as the <span class="ph uicontrol">Reference field</span>.</p> <div class="note"><span class="notetitle">Note:</span> Reference interactive filters do not support string fields.</div> </div> </li><li class="li step stepexpand"><strong>Optional: </strong> <span class="ph cmd">Add a related list condition.</span> <div class="itemgroup info">You can add a condition to your filter based on the records in one related table.</div> <ol type="a" class="ol substeps" id="t_CreateAReferenceFieldPublisher__substeps_iqq_phh_nmb"><li class="li substep substepexpand"> <span class="ph cmd">Click the link labeled <span class="ph uicontrol">Greater than or Equal to 1</span>.</span> <div class="itemgroup info"> From the list, select the number of records on the source table that must be related to a record on the target table.<div class="p">The options are: <ul class="ul" id="t_CreateAReferenceFieldPublisher__ul_vnp_hnj_qmb"><li class="li">Greater than or Equal to</li><li class="li">Greater than</li><li class="li">Less than or Equal to</li><li class="li">Less than</li><li class="li">Equal to</li><li class="li">None</li><li class="li">Between</li></ul> </div> <div class="fig fignone" id="t_CreateAReferenceFieldPublisher__fig_gwc_f3h_nmb"> <img class="image" id="t_CreateAReferenceFieldPublisher__image_grv_k3h_nmb" src="../../reporting/image/ref-interactive-filter-rel-list-condition-1.png" alt="Related list condition value list" /> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Choose the related table.</span> </li><li class="li substep substepexpand"> <span class="ph cmd">Specify the conditions on that table that must be met for the filter to be valid.</span> </li></ol> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Submit</span>.</span> </li></ol> <div class="section postreq">Repeat steps 10–13 as needed for each reference field you want to filter on. After you create the filter, add it to a dashboard.<div class="note"><span class="notetitle">Note:</span> A filter may be converted from the <span class="ph uicontrol">Check boxes</span> control type to the <span class="ph uicontrol">Select Multiple Input</span> control type for performance reasons.</div> <div class="p"> <ol class="ol" id="t_CreateAReferenceFieldPublisher__ul_g3j_rv5_2bc"><li class="li">After you create the filter, add it to a dashboard.</li><li class="li">On the dashboard, select the <span class="ph uicontrol">Edit widget</span> icon (<img class="image icon" id="t_CreateAReferenceFieldPublisher__image_ddb_yv5_2bc" height="20" src="../image/icon-cogwheel-ac.png" alt="Edit columns icon" />) on each visualization on the dashboard that should follow the filter and select <span class="ph uicontrol">Follow interactive filter</span>.</li></ol> </div> </div> </div> <div class="related-links"> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../use/dashboards/reference/r_AvailableHomepagePublisherTypes.html" title="You can create and configure Interactive Filters for multiple field types.">Available Interactive Filter types</a></div> </div> <div class="linklist relinfo relref"><strong>Related reference</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../reference/r_AvailableHomepagePublisherTypes.html" title="You can create and configure Interactive Filters for multiple field types.">Available Interactive Filter types</a></li></ul></div> <div class="linklist relinfo"><strong>Related topics</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../administer/field-administration/concept/c_ReferenceField.dita/c_ReferenceField.html" target="_blank" rel="noopener noreferrer">Reference field type</a></li><li class="linklist"><a class="link" href="../use/using-lists-v3/task/create-related-list-query.dita/create-related-list-query.html" target="_blank" rel="noopener noreferrer">Add related list conditions</a></li></ul></div> </div> </body></html></div>