{"id":7644,"date":"2022-05-11T10:09:43","date_gmt":"2022-05-11T09:09:43","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?post_type=epkb_post_type_1&#038;p=7644"},"modified":"2023-09-27T12:21:39","modified_gmt":"2023-09-27T11:21:39","slug":"applying-filters-and-contexts","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/","title":{"rendered":"Applying filters and contexts"},"content":{"rendered":"\n<p>Filters and contexts show a subset of the response data in the report or analysis. There are two types of filters and contexts available to use in Snap XMP Online:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>External filters and contexts<\/strong>. These are defined from the Analyses or Reports windows in Snap XMP Desktop. Once defined, you can apply the\u00a0filter\u00a0or context to reports and analyses in both Snap XMP Desktop and Snap XMP Online. They form part of the survey which means you can use them every time the survey is open.<\/li>\n\n\n\n<li><strong>Custom filters and contexts<\/strong>. These are set up in Snap XMP Online using a filter expression. You can use the variables section to check the variables and questions used in the questionnaire to help create the expression. These are temporary filters and contexts that are available while the survey is open but are removed when the survey is closed.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Using an external filter or context<\/h2>\n\n\n\n<p>Any analyses or reports that include external filters or contexts can use these to view a subset of the response data. To apply a filter to an analysis, use the following instructions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Snap XMP Online, select the survey from Your work.<\/li>\n\n\n\n<li>In the&nbsp;<strong>Summary<\/strong>&nbsp;tab, click the&nbsp;<strong>Analyze<\/strong>&nbsp;link. The reports and analyses are available here.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"658\" height=\"361\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png\" alt=\"Graphical user interface, text, application\n\nDescription automatically generated\" class=\"wp-image-7482\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png 658w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2-300x165.png 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Select&nbsp;the report or analysis from the <strong>Reports <\/strong>or <strong>Tables and Charts<\/strong> menus.<\/li>\n\n\n\n<li>To apply a filter to the selected report or analysis, select&nbsp;<strong>Filter &amp; context<\/strong>&nbsp;in the side menu.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Add variable<\/strong>&nbsp;&nbsp;<img decoding=\"async\" width=\"25\" height=\"23\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/word-image-9.png\">&nbsp;&nbsp;to add a filter rule.<\/li>\n\n\n\n<li>In the&nbsp;<strong>Select a variable<\/strong>&nbsp;list, select a variable to use as the filter then click&nbsp;<strong>Next.<\/strong><\/li>\n\n\n\n<li>Select the answers to use in the filter and click&nbsp;<strong>OK<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"261\" height=\"256\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-application-word-descr.png\" alt=\"Graphical user interface, application, Word\n\nDescription automatically generated\" class=\"wp-image-7485\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"8\">\n<li>Click&nbsp;<strong>Apply changes<\/strong>&nbsp;to update the analysis of your response data for the selected filter.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"261\" height=\"241\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-3.png\" alt=\"Graphical user interface, text, application\n\nDescription automatically generated\" class=\"wp-image-7486\"\/><\/figure>\n\n\n\n<p>Further information on the full process of setting up and using external filters is available at <a href=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/setting-up-filters-snap-online-analysis\/\" target=\"_blank\" rel=\"noreferrer noopener\">Setting up filters for Snap Online analysis<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set a custom filter or context<\/h2>\n\n\n\n<p>As well as using externally defined filters and contexts, you can create a custom filter or context. These are temporary and only available while you are using the survey in Snap XMP Online.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Snap XMP Online, select the survey from Your work.<\/li>\n\n\n\n<li>In the\u00a0<strong>Summary<\/strong>\u00a0tab, click the\u00a0<strong>Analyze<\/strong>\u00a0link to see the list of reports and analyses.<\/li>\n\n\n\n<li>Select&nbsp;the report or analysis from the <strong>Reports <\/strong>or <strong>Tables and Charts<\/strong> menus.<\/li>\n\n\n\n<li>To apply a filter to the selected report or analysis, select&nbsp;<strong>Filter &amp; context<\/strong>&nbsp;in the side menu.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Set custom<\/strong>&nbsp;<img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"27\" class=\"wp-image-7667\" style=\"width: 26px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/05\/CustomFilterIcon.png\" alt=\"\"> to add a custom filter or context rule.<\/li>\n\n\n\n<li>Enter the filter expression and click <strong>OK<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"254\" height=\"283\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/05\/CustomFilter2.png\" alt=\"\" class=\"wp-image-7669\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\">\n<li>Click&nbsp;<strong>Apply changes<\/strong>&nbsp;to update the analysis of your response data for the selected filter.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Viewing variable details<\/h2>\n\n\n\n<p>Click on the <strong>Variables <\/strong>menu to view the variables available in the survey. This helps to identify the variable details of the questions, derived variables and paradata, which you can use to build the custom filter expression. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"516\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/05\/Variable-list.png\" alt=\"\" class=\"wp-image-7663\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/05\/Variable-list.png 540w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/05\/Variable-list-300x287.png 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Filters and contexts show a subset of the response data in the report or analysis. There are two types of filters and contexts available to use in Snap XMP Online: Using an external filter or context Any analyses or reports that include external filters or contexts can use these to view a subset of the [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"epkb_post_type_1_category":[30],"epkb_post_type_1_tag":[],"class_list":["post-7644","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-analyzing-your-survey"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Applying filters and contexts | SnapSurveys<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Applying filters and contexts | SnapSurveys\" \/>\n<meta property=\"og:description\" content=\"Filters and contexts show a subset of the response data in the report or analysis. There are two types of filters and contexts available to use in Snap XMP Online: Using an external filter or context Any analyses or reports that include external filters or contexts can use these to view a subset of the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/\" \/>\n<meta property=\"og:site_name\" content=\"SnapSurveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/snapsurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-27T11:21:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/\",\"name\":\"Applying filters and contexts | SnapSurveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png\",\"datePublished\":\"2022-05-11T09:09:43+00:00\",\"dateModified\":\"2023-09-27T11:21:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png\",\"width\":658,\"height\":361,\"caption\":\"Graphical user interface, text, application Description automatically generated\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snap XMP Support\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Applying filters and contexts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"name\":\"Snap XMP Support Hub\",\"description\":\"Support documentation for Snap Surveys products\",\"publisher\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\",\"name\":\"Snap Surveys\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"width\":867,\"height\":159,\"caption\":\"Snap Surveys\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/snapsurveys\",\"https:\/\/x.com\/snapsurveys\",\"https:\/\/www.linkedin.com\/company\/snapsurveys\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Applying filters and contexts | SnapSurveys","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/","og_locale":"en_GB","og_type":"article","og_title":"Applying filters and contexts | SnapSurveys","og_description":"Filters and contexts show a subset of the response data in the report or analysis. There are two types of filters and contexts available to use in Snap XMP Online: Using an external filter or context Any analyses or reports that include external filters or contexts can use these to view a subset of the [&hellip;]","og_url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/","og_site_name":"SnapSurveys","article_publisher":"https:\/\/www.facebook.com\/snapsurveys","article_modified_time":"2023-09-27T11:21:39+00:00","og_image":[{"url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/","name":"Applying filters and contexts | SnapSurveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png","datePublished":"2022-05-11T09:09:43+00:00","dateModified":"2023-09-27T11:21:39+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#primaryimage","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2022\/03\/graphical-user-interface-text-application-descr-2.png","width":658,"height":361,"caption":"Graphical user interface, text, application Description automatically generated"},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/applying-filters-and-contexts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/"},{"@type":"ListItem","position":2,"name":"Snap XMP Support","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/"},{"@type":"ListItem","position":3,"name":"Applying filters and contexts"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","name":"Snap XMP Support Hub","description":"Support documentation for Snap Surveys products","publisher":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization","name":"Snap Surveys","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","width":867,"height":159,"caption":"Snap Surveys"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/snapsurveys","https:\/\/x.com\/snapsurveys","https:\/\/www.linkedin.com\/company\/snapsurveys"]}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/7644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/comments?post=7644"}],"version-history":[{"count":15,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/7644\/revisions"}],"predecessor-version":[{"id":10104,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/7644\/revisions\/10104"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/media?parent=7644"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=7644"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=7644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}