<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Central KPI Formula Repository (solution) in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478682#M1490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice solution &lt;A href="https://community.qlik.com/qlik-users/20543"&gt;cschwarz&lt;/A&gt;‌! The images on this page aren't visible for use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 12:50:30 GMT</pubDate>
    <dc:creator>gardenierbi</dc:creator>
    <dc:date>2015-09-29T12:50:30Z</dc:date>
    <item>
      <title>Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478681#M1489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;Current Version 3.20 (16-Oct-2015)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;Now supports Partial Reload, runs faster with large data sets&lt;BR /&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;and puts Num() function only on the outer KPI if KPIs are nested. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"&gt;&lt;STRONG&gt;Download: &lt;A href="https://www.dropbox.com/s/z0m221a8iwqgs2e/KPI_Repository.zip?dl=0" title="https://www.dropbox.com/s/z0m221a8iwqgs2e/KPI_Repository.zip?dl=0" target="_blank"&gt;Dropbox - KPI_Repository.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&lt;EM&gt;I recommend to name KPI variables starting with "_". Then you have a nice way to use type ahead formula completion in Sense and QlikView, as all your KPIs sort in a dropdown list next to the "_".&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;As Presales, you have probably done it a hundred times: Add lots of KPIs formulas and also try to keep a maintainable format with a "define once" principle. Formulas and Sets should be separated in their definitions and mixed and reused as needed.&lt;/P&gt;&lt;P style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;This solution allows you to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Define KPIs separate from the Apps and define in which app to use the KPI&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Make Set-Definitions separately from KPIs&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use KPIs on basis of other KPIs (KPI3 = KPI1 / KPI2)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Inject Set-Modifiers in the same KPI creating variants of the KPI without redefining.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;In large apps you will need just a Partial Reload to redefine formulas, not a entire data loading. The script runs also in Partial Reload mode. &lt;/STRONG&gt;&lt;BR /&gt;(for Sense 2.0 and 2.1 you need this external tool to execute a Partial Relaod &lt;A _jive_internal="true" class="external-link" href="https://community.qlik.com/docs/DOC-8866" rel="nofollow" style="color: #3b73af;" title="https://community.qlik.com/docs/DOC-8866" target="_blank"&gt;https://community.qlik.com/docs/DOC-8866&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;It is common knowledge that&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you can put your KPI formulas into a text file or&amp;nbsp; in a database tables&lt;/LI&gt;&lt;LI&gt;load this table and loop through it while creating variables for each formula&lt;/LI&gt;&lt;LI&gt;Anywhere in Qlik Sense or QlikView you may then call that formulas by the dollar-brackets syntax $(my_variable) ... this is a "code injection" interpreted ad-hoc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;But wait a minute! There are&lt;STRONG&gt; two traps&lt;/STRONG&gt;, which are definately NOT common knowledge.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Those dollar-bracket $(constructs) are immediately &lt;SPAN style="text-decoration: underline;"&gt;interpreted in the script&lt;/SPAN&gt; during script execution. This makes a difference and often results in undesired variable content.&lt;/LI&gt;&lt;LI&gt;The combination dollar-brackets-equal $(= ...) always leads to a hard to spot error. The script will not throw an error, but instead of where you had $(=something) you will find $(internal error) or simply anything removed between "$(" and ")".&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;So forget this manual approach and use my include script in one of the below ways: minimalistic flat file, maximum flat file, or database mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="margin: 30px 0 0; font-weight: normal; color: #333333; border-bottom-color: #324228; font-family: Arial, Helvetica, sans-serif;"&gt;Using a KPI File (CSV, Excel)&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Any textformat is supported. You have to specify the arguments for the text format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102313" alt="Clipboard02.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102313_Clipboard02.png" style="height: 327px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Alternatively, use this in an Excel sheet. Same thing, easier to edit, but Excel is not always available during a SiB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102314" alt="Clipboard01.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/102314_Clipboard01.png" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102315" alt="Clipboard03.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/102315_Clipboard03.png" style="height: 360px; width: 620px;" /&gt;&lt;/P&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;If the KPI Definitions are in a Flat file and you use QlikView:&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; line-height: 1.5em;"&gt;SET vKPI_Source = 'File'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; line-height: 1.5em;"&gt;SET vKPI_File = &lt;E&gt;; &lt;/E&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; line-height: 1.5em;"&gt;SET vKPI_File_Params = [txt, codepage is 1252, embedded labels, delimiter is '\t', msq];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; line-height: 1.5em;"&gt;SET vKPI_KeepTable = 1;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; line-height: 1.5em;"&gt;$(must_include=&lt;E&gt;);&lt;/E&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;If the KPI Definitions are in a Flat file and you use Qlik Sense:&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Create a folder connection to where the include-script.txt is placed and a folder connection (if different) where the KPI definition file is placed. All formats of the file are supported but you have to provide the file import parameters below, so it could be txt, biff, xlsx …&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;SET vKPI_Source = 'File'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;SET vKPI_File = [&lt;A rel="nofollow" style="color: #3b73af;" target="_blank"&gt;&lt;SPAN style="color: #0000ff;"&gt;lib://include/KPI_Def.txt&lt;/SPAN&gt;&lt;/A&gt;]; // Qlik Sense&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;SET vKPI_File_Params = [txt, codepage is 1252, embedded labels, delimiter is '\t', msq];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;SET vKPI_KeepTable = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;$(must_include=[&lt;A rel="nofollow" style="color: #3b73af;" target="_blank"&gt;&lt;SPAN style="color: #0000ff;"&gt;Lib://include/Create_KPI_Repository-include.txt&lt;/SPAN&gt;&lt;/A&gt;]);&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="margin: 30px 0 0; font-weight: normal; color: #333333; border-bottom-color: #324228; font-family: Arial, Helvetica, sans-serif;"&gt;Using a KPI Database&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;It doesn't matter which database you used. Attached is an MS Access example. Could be any other relational database.&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;You will need 4 tables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102316" alt="Screenshot 2015-09-16 17.36.05.png" class="image-4 jive-image" src="/legacyfs/online/102316_Screenshot 2015-09-16 17.36.05.png" style="height: 255px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;You know, sequence matters, so it is key to understand when you can already refer to a "previously" defined Formula.&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;The sequence when using a database is like this&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;LI&gt;AggGroups are read&lt;/LI&gt;&lt;LI&gt;Set_Definitions are read in the sequence of SORTID&lt;/LI&gt;&lt;LI&gt;KPI_Definitions and KPI_Variants are cascaded together, the main order is driven by the SORTID of KPI_Defintions, but whenever a KPI_Variant refers to each given KPI_Definition it immediately defines the dependent KPI_Variants after its parent KPI_Definition.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; margin: 10px 0 0; font-family: Arial, Helvetica, sans-serif;"&gt;Examples for each table&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;Table "AppGroups"&lt;/H3&gt;&lt;TABLE class="confluenceTable tablesorter"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;MGMT&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*Management*&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;MGMT&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*Dashboard*&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;TEST&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*test*&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;TEST&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*try*&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;THEAD&gt;&lt;TR class="sortableHeader"&gt;&lt;TH class="confluenceTh sortableHeader" data-column="0" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="1" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;APPGROUP&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="2" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;APP_PATTERNNAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;THEAD&gt;&lt;/THEAD&gt;&lt;/TABLE&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;Table "Set_Definitions"&lt;/H3&gt;&lt;TABLE class="confluenceTable tablesorter"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;CY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Year={$(=Max(Year))}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;MGMT&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;LH&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;CARRIER_ALN_CD_LH_Flag = {1}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;PY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Year={$(=Max(Year)-1)}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;THEAD&gt;&lt;TR class="sortableHeader"&gt;&lt;TH class="confluenceTh sortableHeader" data-column="0" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="1" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;USAGE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="2" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;NAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="3" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;FORMULA&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="4" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;DONTRESOLVE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="5" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;COMMENT&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;THEAD&gt;&lt;/THEAD&gt;&lt;/TABLE&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;Table "KPI_Definitions"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H3&gt;&lt;TABLE class="confluenceTable tablesorter"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum ({$} PAX_NR)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;0.000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;.&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_Destinations&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Count(DISTINCT {&amp;lt; $(LH) &amp;gt;} OTHER_ARP_CD)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_%PAX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum(PAX_NR_DETAILS)/ SUM (TOTAL PAX_NR_DETAILS)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;##0 %&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;40&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;MGMT&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_Margin 1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum(Margin_ONB)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;50&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_Margin 1 per PAX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;$(_Margin 1) / $(_PAX_NR.LH)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;THEAD&gt;&lt;TR class="sortableHeader"&gt;&lt;TH class="confluenceTh sortableHeader" data-column="0" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="1" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;USAGE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="2" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;NAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="3" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;FORMULA&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="4" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;DONTRESOLVE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="5" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;NUMFORMAT&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="6" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;DECIMALSEP&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="7" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;THOUSANDSEP&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="8" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;COMMENT&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;THEAD&gt;&lt;/THEAD&gt;&lt;/TABLE&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Table "&lt;/SPAN&gt;KPI_Variants"&lt;/H3&gt;&lt;TABLE class="confluenceTable tablesorter"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR.CY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt; $(CY) &amp;gt;}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR.PY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt; $(PY) &amp;gt;}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR.LH&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;_PAX_NR&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt; $(LH) &amp;gt;}&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;TD class="confluenceTd" style="border: 1px solid #dddddd; padding: 7px 10px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;THEAD&gt;&lt;TR class="sortableHeader"&gt;&lt;TH class="confluenceTh sortableHeader" data-column="0" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="1" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;USAGE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="2" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;NAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="3" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;VARIANTOF&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="4" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;SEARCH&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="5" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;REPLACE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="6" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;DONTRESOLVE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="7" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;NUMFORMAT&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="8" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;DECIMALSEP&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="9" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;THOUSANDSEP&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="confluenceTh sortableHeader" data-column="10" style="border: 1px solid #dddddd; padding: 7px 15px 7px 10px; font-weight: bold; background: 100% 50% no-repeat #f0f0f0;"&gt;&lt;SPAN class="tablesorter-header-inner" style="font-size: 8pt;"&gt;COMMENT&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;THEAD&gt;&lt;/THEAD&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; margin: 10px 0 0; font-family: Arial, Helvetica, sans-serif;"&gt;Note that KPI_Variants has no FORMULA column, as the formula is inherited from the KPI defined under VARIANTOF.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;Script for QlikView&lt;/H3&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt; //Put your database connector here&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;OLEDB CONNECT TO [Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=.............];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;SET vKPI_Source = Database; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_AppGroups = 'AppGroups';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_Set_Definitions = 'Set_Definitions';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_KPI_Definitions = 'KPI_Definitions';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_KPI_Variants = 'KPI_Variants';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;$(must_include=&lt;E&gt;);&lt;/E&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="margin: 30px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;Script for Qlik Sense&lt;/H3&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;Create a folder connection to where the include script is placed. In below example that connection is called “include” Create the database connection to where the definition table Is located. Connect to it, then provide the SQL command in the variable vKPI_Select before calling the include script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LIB CONNECT TO 'kpi_definitions_db'; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;SET vKPI_Source = Database; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_AppGroups = 'AppGroups';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_Set_Definitions = 'Set_Definitions';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_KPI_Definitions = 'KPI_Definitions';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0 30px;"&gt;LET vKPI_SQL_KPI_Variants = 'KPI_Variants';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; margin: 10px 0 0 30px; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #0000ff;"&gt;$(include=[&lt;/SPAN&gt;&lt;A rel="nofollow" style="color: #3b73af;" target="_blank"&gt;&lt;SPAN style="color: #0000ff;"&gt;Lib://include/Create_KPI_Repository-include.txt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #0000ff;"&gt;]);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="margin: 30px 0 0; font-weight: normal; color: #333333; border-bottom-color: #324228; font-family: Arial, Helvetica, sans-serif;"&gt;The columns explained in detail&lt;/H1&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;Provide columns in UPPER CASE. The sequence of the columns doesn't matter. You don't have to provide all columns, the 3 mandatory columns are enough. Any other combination is allowed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;USAGE (mandatory)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;work in progress&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Note: the script will not “find” apps with a matching title anywhere and inject the KPI definitions there. You need to add the load script yourself in any of the applicable apps.&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Be aware that a formerly created variable is not removed if later a wildcard expression is changed and is no longer applicable for a given app. The variable remains with its last loaded state unless removed in the frontend.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;NAME (mandatory)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Variable name under which the formula is stored. Brackets and single quotes are not allowed in the KPI_Name, the name is case-sensitive.&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Recommended characters: A-Z, a-z, 0-9, @, $, _ and space. Use a distict prefix for sets (like set_ or $) and another prefix for KPI formulas&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;FORMULA (mandatory)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Put the correct formula or other definitions here.Altough you can assign all type of content into variables here, I see two typical ways of usage: Aggregation Formulas (aka "KPI") and Set Modifiers&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;Important&lt;/SPAN&gt;: The formula can hold a &lt;STRONG&gt;reference&lt;/STRONG&gt; to a previously defined formula in the dollar-brackets-syntax: $(reference).&lt;/LI&gt;&lt;LI&gt;Unless column “DONTRESOLVE” is set to 1, the reference is &lt;SPAN style="text-decoration: underline;"&gt;immediately&lt;/SPAN&gt; resolved (replaced with the content) upon script execution. If this is not wanted and the reference should make it until later use in the GUI (frontend), put the column “DontResolve” to 1&lt;/LI&gt;&lt;LI&gt;If you used $(= … fragment …) combination in the formula (watch for the&lt;STRONG&gt; equal sign(!) &lt;/STRONG&gt;after dollar-open bracket) this fragment will not be interpreted by the script execution but passed into the variable definition as part of the formula.&amp;nbsp; E.g. Sum({&amp;lt; Year={$(=Year(Now())}&amp;gt;} Amount)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;VARIANTOF (optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;work in progress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;SEARCH (optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;work in progress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;REPLACE (optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;work in progress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;DONTRESOLVE (optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;A flag that defines whether a formula with a dollar-brackets $(reference) is resolved (=replaced by it’s referred content) immediately during Script execution or if the reference (the dollar-brackets fragment) is kept as part of the formula itself.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;put 1 to NOT resolve dollar-bracket $(fragments) ... if no such&amp;nbsp; fragment is used, 1 has no effect&lt;/LI&gt;&lt;LI&gt;put 0 to resolve dollar-bracket $(fragments)&lt;/LI&gt;&lt;LI&gt;If omitted, 0 is assumed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;NUMFORMAT (optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Optionally, put a valid format-string here. That will cause the above formula to be wrapped into a NUM( … ) formula, where columns 6 and 7 are used as additional parameters for the NUM() formula.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If omitted, no NUM( … ) formula will be used and formatting is up to the format of the data or chart default.&lt;/LI&gt;&lt;LI&gt;Typical examples: 0.0%&amp;nbsp; #.##0&amp;nbsp; #,##0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; #,##0.00 €&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;DECIMALSEP(optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;If column 5 is used, this may optionally define the decimal separator (one character only).&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;If NumFormat is not used, this column is ignored&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Arial, Helvetica, sans-serif; margin: 10px 0 0;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;THOUSANDSEP(optional)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;If column 5 and 6 are used, this may optionally define the thousand separator (one character only).&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0 30px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;If DecimalSep is not used, this column is ignored. It only works in combination with columns 5 + 6&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="margin: 30px 0 0; font-weight: normal; color: #333333; border-bottom-color: #324228; font-family: Arial, Helvetica, sans-serif;"&gt;Traps avoided when using my script&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; margin: 10px 0 0; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; margin: 10px 0 0; font-family: Arial, Helvetica, sans-serif;"&gt;If you would like to understand why defining KPIs in variables directly in the script will be problematic then try this in your Load Script&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LET set_LastYear&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt; = 'Year={$(=Year(Now())-1)}';&lt;/LI&gt;&lt;LI&gt;See the content of the variable "set_LastYear"? It will read 'Year={}' and the lovely formula =Year(Now())-1 is gone. In earlier versions of QlikView you may read 'Year={(internal error)}' instead.&lt;/LI&gt;&lt;LI&gt;Try the same with SET:&lt;/LI&gt;&lt;LI&gt;SET set_LastYear&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt; = 'Year={$(=Year(Now())-1)}';&lt;/LI&gt;&lt;LI&gt;No difference. As a general rule&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;So we conclude as a general rule&lt;/SPAN&gt;&lt;SPAN class="aui-message hint shadowed information-macro" style="margin: 10px 0 0; padding: 10px 10px 10px 36px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; background: #fcfcfc;"&gt;&lt;SPAN class="aui-icon icon-hint" style="text-indent: -999em; background-position: no-repeat;"&gt;Icon&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;The only way to define those formulas in a way to survive the script run and to make it into the frontend use, you have to either use my template or separate the dollar from the open brackets. Avoid the two characters unless you want the script immediately to inject something at this point. Try this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LET set_LastYear&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt; = 'Year={$' &amp;amp; '(=Year(Now())-1)}';&amp;nbsp; // the string is torn into two substrings and concatenated with &amp;amp;&lt;/LI&gt;&lt;LI&gt;LET set_LastYear&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt; &lt;/SPAN&gt; = Replace('Year={§(=Year(Now())-1)}', '§', '$');&amp;nbsp; // used § instead of $ in the formula and later replaced it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="table-wrap" style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN class="aui-message hint shadowed information-macro" style="margin: 10px 0 0; padding: 10px 10px 10px 36px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; background: #fcfcfc;"&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;In both ways, the script doesn't "see" the dollar in combination with open-brackets. It will do nothing here but to save the result of the string operation (concatenation or Replace) into the variable. Then you will get what you wanted and in the GUI you can check, that the variable set_LastYear&lt;SPAN style="color: #808080;"&gt; finally contains &lt;/SPAN&gt;'Year={$(=Year(Now())-1)}'&lt;/SPAN&gt;&lt;SPAN style="margin: 10px 0 0; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;You don't want to expose this to your customer in a SiB, do you? So use my simple template instead ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="margin: 30px 0 0; font-weight: normal; color: #333333; border-bottom-color: #324228; font-family: Arial, Helvetica, sans-serif;"&gt;Known limitations&lt;/H1&gt;&lt;UL&gt;&lt;LI&gt;Defining the KPI formulas only prepares variables for later use. It does NOT create Measures in the Qlik Sense Master Items&lt;/LI&gt;&lt;LI&gt;Measures which are removed in the definitions won't be deleted from the apps which were using it. Be careful with name-giving of those KPI variables, as they will remain in the apps. If you change the name the old ones will still be there together with the new.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2025 17:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478681#M1489</guid>
      <dc:creator>ChristofSchwarz</dc:creator>
      <dc:date>2025-07-22T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478682#M1490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice solution &lt;A href="https://community.qlik.com/qlik-users/20543"&gt;cschwarz&lt;/A&gt;‌! The images on this page aren't visible for use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 12:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478682#M1490</guid>
      <dc:creator>gardenierbi</dc:creator>
      <dc:date>2015-09-29T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478683#M1491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Mr.Schwarz:&lt;/P&gt;&lt;P&gt;Fix the images; It can be seen.&lt;/P&gt;&lt;P&gt;CB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478683#M1491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-29T17:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478684#M1492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good work&lt;/P&gt;&lt;P&gt;Thank's for sharing.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 03:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478684#M1492</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-10-12T03:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478685#M1493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed the images. Those were pointing to an Qlik internal resource before. Also published an update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 07:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478685#M1493</guid>
      <dc:creator>ChristofSchwarz</dc:creator>
      <dc:date>2015-10-17T07:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478686#M1494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice work! Any update on enhancing this to create Measures in Qlik Sense Master Items?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 22:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478686#M1494</guid>
      <dc:creator />
      <dc:date>2015-12-07T22:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478687#M1495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! this seems very complete. I will try to implement it in a future project!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 18:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478687#M1495</guid>
      <dc:creator>alexdataiq</dc:creator>
      <dc:date>2016-02-03T18:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478688#M1496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌working on the functionality to add also into the master items. The problem is that from the load script alone there is currently no way to create those master items, so it needs to be an outside piece of code (eg nodejs) or an extension, which i likely will write.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 06:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/1478688#M1496</guid>
      <dc:creator>ChristofSchwarz</dc:creator>
      <dc:date>2016-02-04T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Central KPI Formula Repository (solution)</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/2044349#M1497</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18172"&gt;@ChristofSchwarz&lt;/a&gt;&amp;nbsp;- Thank you for the great explanation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately it's not possible to download your zip-file from Dropbox. Could you upload it once again, please?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 10:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Central-KPI-Formula-Repository-solution/m-p/2044349#M1497</guid>
      <dc:creator>pwagner</dc:creator>
      <dc:date>2023-03-02T10:20:06Z</dc:date>
    </item>
  </channel>
</rss>

