{"id":199,"date":"2018-12-27T06:50:40","date_gmt":"2018-12-27T06:50:40","guid":{"rendered":"http:\/\/wd3.teracet.com\/?page_id=199"},"modified":"2019-01-18T08:29:44","modified_gmt":"2019-01-18T08:29:44","slug":"advanced-search","status":"publish","type":"page","link":"https:\/\/teracet.com\/active-agenda\/support\/user-guide\/advanced-search\/","title":{"rendered":"Advanced search"},"content":{"rendered":"\n<p>Active Agenda includes an Advanced Search feature found in the Tools \nmenu that allows you to search for appointments based on a variety of \ncriteria and export the results into a spreadsheet.  You can also \nproduce aggregated results based on the client record.<\/p>\n\n\n\n<p>There are three mandatory pieces of search criteria to be specified:<\/p>\n\n\n\n<ol><li>The calendars to be searched.  By default your own calendar, or the \nfirst calendar you have open will be selected.  You can only search \ncalendars you have open.\n<\/li><li>The time period to be searched.\n<\/li><li>The result set.  You can choose between:\n<ol><li>Appointments \u2013 One row per appointment\n<\/li><li>Clients Attending \u2013 One row per client attending, a client \nattending multiple matching appointments will be listed multiple times.\n<\/li><li>Clients Attending Distinct \u2013 One row per client record.  A client matching multiple appointments will only be listed once.\n<\/li><\/ol>\n<\/li><\/ol>\n\n\n\n<p>Optionally you can add additional search conditions by clicking the  \u201cAdd search condition\u201d button.  Click the red \u201cX\u201d button to remove a  search condition from your query.  The optional search conditions can  include:<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>Field<\/td><td>Matches<\/td><td>Description<\/td><\/tr><tr><td>Summary<\/td><td>Appointment<\/td><td>The appointment&#8217;s summary.<\/td><\/tr><tr><td>Location<\/td><td>Appointment<\/td><td>The appointment&#8217;s location.<\/td><\/tr><tr><td>Category<\/td><td>Appointment<\/td><td>The appointment&#8217;s category. In the case of multiple applied categories, this will be considered a match if any of the categories match the search condition.<\/td><\/tr><tr><td>Status<\/td><td>Client attending<\/td><td>The attending client(s)&#8217;s status.<\/td><\/tr><tr><td>Outcome<\/td><td>Client attending<\/td><td>The attending client(s)&#8217;s outcome.<\/td><\/tr><tr><td>Client category<\/td><td>Client attending<\/td><td>The attending client(s)&#8217;s category.<\/td><\/tr><tr><td>Client name<\/td><td>Client attending<\/td><td>The attending client(s)&#8217;s name.<\/td><\/tr><tr><td>Appointment ID<\/td><td>Appointment<\/td><td>The appointment&#8217;s ID. It must exactly match the ID.<\/td><\/tr><tr><td>Client ID<\/td><td>Client attending<\/td><td>The attending client(s)&#8217;s ID. It must exactly match the ID.<\/td><\/tr><\/tbody><\/table>\n\n\n\n<h4>Simple example<\/h4>\n\n\n\n<p>If we wanted a list of all \u201cWorkshops\u201d that \u201cJill\u201d facilitated between January 2013 and June 2013 we would do the following:<\/p>\n\n\n\n<ol><li>Click the &#8220;calendars&#8221; button and set the calendar to be searched to Jill\n<\/li><li>Click the from date picker and select January 1, 2013\n<\/li><li>Click the to date picker and select June 30, 2013\n<\/li><li>Leave the result set as &#8220;Appointments&#8221;\n<\/li><li>Click &#8220;Add search condition&#8221;\n<\/li><li>Change the added search condition to : Category &#8211; is &#8211; Workshop\n<\/li><li>Click Search\n<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"953\" height=\"564\" src=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-1.png\" alt=\"\" class=\"wp-image-200\" srcset=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-1.png 953w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-1-300x178.png 300w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-1-768x455.png 768w\" sizes=\"(max-width: 953px) 100vw, 953px\" \/><\/figure><\/div>\n\n\n\n<p>If we now wanted to refine this example to only return the clients scheduled into Jill&#8217;s workshops we would do the following:<\/p>\n\n\n\n<ol><li>Change the result set to \u201cClients attending\u201d\n<\/li><li>Click search\n<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"926\" height=\"486\" src=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled.png\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled.png 926w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-300x157.png 300w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-768x403.png 768w\" sizes=\"(max-width: 926px) 100vw, 926px\" \/><\/figure><\/div>\n\n\n\n<p>What is returned now is a list of all the clients scheduled into Jill&#8217;s workshops from January 1, 2013 until June 30, 2013.<\/p>\n\n\n\n<p>Now wanted to refine this example even further to only return the clients that attended Jill&#8217;s workshops we would:<\/p>\n\n\n\n<ol><li>Click \u201cAdd search condition\u201d\n<\/li><li>Change the added search condition to : Outcome \u2013 is \u2013 Attended\n<\/li><li>Click search\n<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"926\" height=\"563\" src=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-attended.png\" alt=\"\" class=\"wp-image-202\" srcset=\"https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-attended.png 926w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-attended-300x182.png 300w, https:\/\/teracet.com\/active-agenda\/wp-content\/uploads\/2018\/12\/advanced-search-clients-scheduled-attended-768x467.png 768w\" sizes=\"(max-width: 926px) 100vw, 926px\" \/><\/figure><\/div>\n\n\n\n<p>What is returned is a list of all the clients that attended (as \nopposed to cancelled, no-showed, etc.) Jill&#8217;s workshops.  A client that \nattended multiple workshops will be listed multiple times.  If we want a\n client listed only once regardless of how many workshops they attended \nwe would:<\/p>\n\n\n\n<ol><li>Change the result set to \u201cClients attending distinct\u201d\n<\/li><li>Click Search\n<\/li><\/ol>\n\n\n\n<h4>Exporting results to a spreadsheet<\/h4>\n\n\n\n<p>Once you have the results you are looking for you have the option of exporting them to a spreadsheet. The spreadsheet will have the same rows and columns (you can use the Column Picker on the right in the header row to change what columns are visible) as the result you are looking at when you click \u201cExport spreadsheet\u201d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Active Agenda includes an Advanced Search feature found in the Tools menu that allows you to search for appointments based on a variety of criteria and export the results into a spreadsheet. You can also produce aggregated results based on the client record. There are three mandatory pieces of search criteria to be specified: The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":72,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/pages\/199"}],"collection":[{"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":1,"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/pages\/199\/revisions"}],"predecessor-version":[{"id":203,"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/pages\/199\/revisions\/203"}],"up":[{"embeddable":true,"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/pages\/72"}],"wp:attachment":[{"href":"https:\/\/teracet.com\/active-agenda\/wp-json\/wp\/v2\/media?parent=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}