{"id":3412,"date":"2023-04-12T15:33:06","date_gmt":"2023-04-12T15:33:06","guid":{"rendered":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/"},"modified":"2026-01-20T14:45:54","modified_gmt":"2026-01-20T14:45:54","slug":"master-the-elisanc-function-in-turbointegrator-for-planning-analytics","status":"publish","type":"post","link":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/","title":{"rendered":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do?"},"content":{"rendered":"<p>ELISANC is one of the more versatile functions in Planning Analytics. The function determines whether the first element is an ancestor of the second element. This function returns 1 if the relationship is true, and it returns 0 if the relationship is not true. Although ELISANC can be used in rules and TurboIntegrator (TI), we will focus on using the function in TurboIntegrator in this article.<\/p>\n<p><em>Syntax<\/em><\/p>\n<p>ELISANC(dimension, element1, element2)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-large wp-image-1029\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M1-min-1024x543.jpg\" alt=\"\" width=\"605\" height=\"321\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em>Example 1<\/em><\/p>\n<p>ELISANC (\u2018Period\u2019, \u2018Q1 2020\u2019, \u2018202001\u2019)<\/p>\n<p>The element named Q1 2020 is an ancestor of the element named 202001. Therefore, this statement returns 1.<\/p>\n<p><em>Example 2<\/em><\/p>\n<p>ELISANC (\u2018Period\u2019, \u20182020\u2019, \u2018202001\u2019)<\/p>\n<p>The element named 2020 is an ancestor of the element named 202001. This statement returns 1.<\/p>\n<p><em>Example 3<\/em><\/p>\n<p>ELISANC (\u2018Period\u2019, \u2018Q1 2020\u2019, \u2018202004\u2019)<\/p>\n<p>The element named Q1 2020 is not an ancestor of the element named 202004. Consequently, this statement returns 0.<\/p>\n<p><em>Example 3<\/em><\/p>\n<p>ELISANC (\u2018Period\u2019, \u2018202001\u2019, \u2018Q1 2020\u2019)<\/p>\n<p>The element named 202001 is not an ancestor of the element named Q1 2020. This statement returns 0.<\/p>\n<p>We have discussed how the ELISANC function works. It is time to use it in a Turbo Integrator process. We use the ELISANC function when we want to find elements which are children or descendants of another element. The ELISANC function alone may not be useful, but the function will be very useful when we pair it with an IF condition. For example, we want to import from a file which contains 2019 and 2020 data, but we only want to load Q1 2020. \u00a0In the example below we will insert syntax on the Turbo Integrator (TI) DATA tab to read and load Q1 2020 data from the flat file to the Product Sales cube. \u00a0\u00a0The process will evaluate each record in the data source, determine if the period meets the criteria, and load each record where the result is TRUE or \u201c1\u201d.<\/p>\n<p>In our example, we prefixed our variable names with \u201cc\u201d.\u00a0 The Entity Name column is not used.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-large wp-image-1030\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M2-min-1024x415.jpg\" alt=\"\" width=\"605\" height=\"245\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em>Sample Code<\/em><\/p>\n<p>IF ( ELISANC ( &#8216;Period&#8217; , &#8216;Q1 2020&#8217; , cPeriod ) = 1 ) ;<\/p>\n<p>CELLPUTN ( cValue, &#8216;Product Sales&#8217;, cVersion, cEntityCode, cProduct, cPeriod, cMeasure ) ;<\/p>\n<p>ENDIF ;<\/p>\n<p>The test results can be found in the GIF image below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-large wp-image-1031\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M3-min-1024x626.jpg\" alt=\"\" width=\"605\" height=\"370\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Testing the sample code (GIF)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ELISANC is one of the more versatile functions in Planning Analytics. The function determines whether the first element is an ancestor of the second element. This function returns 1 if the relationship is true, and it returns 0 if the relationship is not true. Although ELISANC can be used in rules and TurboIntegrator (TI), we&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24],"tags":[35,36,52],"class_list":["post-3412","post","type-post","status-publish","format-standard","hentry","category-ibm","tag-development","tag-planning-analytics","tag-planning-analytics-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT<\/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:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT\" \/>\n<meta property=\"og:description\" content=\"ELISANC is one of the more versatile functions in Planning Analytics. The function determines whether the first element is an ancestor of the second element. This function returns 1 if the relationship is true, and it returns 0 if the relationship is not true. Although ELISANC can be used in rules and TurboIntegrator (TI), we&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/\" \/>\n<meta property=\"og:site_name\" content=\"QueBIT\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-12T15:33:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-20T14:45:54+00:00\" \/>\n<meta name=\"author\" content=\"agoddard\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"agoddard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/\"},\"author\":{\"name\":\"agoddard\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/#\\\/schema\\\/person\\\/e52d72da0fd2f5f70d189343fe4f5084\"},\"headline\":\"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do?\",\"datePublished\":\"2023-04-12T15:33:06+00:00\",\"dateModified\":\"2026-01-20T14:45:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/\"},\"wordCount\":375,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/M1-min-1024x543.jpg\",\"keywords\":[\"Development\",\"Planning Analytics\",\"Planning Analytics Development\"],\"articleSection\":[\"IBM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/\",\"url\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/\",\"name\":\"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/M1-min-1024x543.jpg\",\"datePublished\":\"2023-04-12T15:33:06+00:00\",\"dateModified\":\"2026-01-20T14:45:54+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/#\\\/schema\\\/person\\\/e52d72da0fd2f5f70d189343fe4f5084\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#primaryimage\",\"url\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/M1-min-1024x543.jpg\",\"contentUrl\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/M1-min-1024x543.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/#website\",\"url\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/\",\"name\":\"QueBIT\",\"description\":\"QueBIT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/#\\\/schema\\\/person\\\/e52d72da0fd2f5f70d189343fe4f5084\",\"name\":\"agoddard\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g\",\"caption\":\"agoddard\"},\"sameAs\":[\"https:\\\/\\\/quebit.com\\\/askquebit\"],\"url\":\"https:\\\/\\\/quebit.com\\\/askquebit\\\/author\\\/agoddard\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT","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:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT","og_description":"ELISANC is one of the more versatile functions in Planning Analytics. The function determines whether the first element is an ancestor of the second element. This function returns 1 if the relationship is true, and it returns 0 if the relationship is not true. Although ELISANC can be used in rules and TurboIntegrator (TI), we&hellip;","og_url":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/","og_site_name":"QueBIT","article_published_time":"2023-04-12T15:33:06+00:00","article_modified_time":"2026-01-20T14:45:54+00:00","author":"agoddard","twitter_card":"summary_large_image","twitter_misc":{"Written by":"agoddard","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#article","isPartOf":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/"},"author":{"name":"agoddard","@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/e52d72da0fd2f5f70d189343fe4f5084"},"headline":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do?","datePublished":"2023-04-12T15:33:06+00:00","dateModified":"2026-01-20T14:45:54+00:00","mainEntityOfPage":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/"},"wordCount":375,"commentCount":0,"image":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M1-min-1024x543.jpg","keywords":["Development","Planning Analytics","Planning Analytics Development"],"articleSection":["IBM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/","url":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/","name":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do? - QueBIT","isPartOf":{"@id":"https:\/\/quebit.com\/askquebit\/#website"},"primaryImageOfPage":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#primaryimage"},"image":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M1-min-1024x543.jpg","datePublished":"2023-04-12T15:33:06+00:00","dateModified":"2026-01-20T14:45:54+00:00","author":{"@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/e52d72da0fd2f5f70d189343fe4f5084"},"breadcrumb":{"@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#primaryimage","url":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M1-min-1024x543.jpg","contentUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2020\/05\/M1-min-1024x543.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/quebit.com\/askquebit\/master-the-elisanc-function-in-turbointegrator-for-planning-analytics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/quebit.com\/askquebit\/"},{"@type":"ListItem","position":2,"name":"How Do I Use the ELISANC Function in TurboIntegrator for IBM Planning Analytics and What Does It Do?"}]},{"@type":"WebSite","@id":"https:\/\/quebit.com\/askquebit\/#website","url":"https:\/\/quebit.com\/askquebit\/","name":"QueBIT","description":"QueBIT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/quebit.com\/askquebit\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/e52d72da0fd2f5f70d189343fe4f5084","name":"agoddard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d817b364cff1d66116debde8d1c85e5e76eeece9c5ae731b19276a6040231455?s=96&d=mm&r=g","caption":"agoddard"},"sameAs":["https:\/\/quebit.com\/askquebit"],"url":"https:\/\/quebit.com\/askquebit\/author\/agoddard\/"}]}},"_links":{"self":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/3412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/comments?post=3412"}],"version-history":[{"count":3,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/3412\/revisions"}],"predecessor-version":[{"id":5027,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/3412\/revisions\/5027"}],"wp:attachment":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/media?parent=3412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/categories?post=3412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/tags?post=3412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}