<?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: Use a defined KPI in another KPI measure in master items? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59461#M1047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can creat variable to store your mesure then call them as another mesure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemple &lt;/P&gt;&lt;P&gt;lets say A = &lt;/P&gt;&lt;P&gt;sum([long-term liabilities])&lt;/P&gt;&lt;P&gt;+ &lt;/P&gt;&lt;P&gt;sum([short-term liabilities])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable ( clic at the bottom left button )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195475_Capture.PNG" style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; height: 118px; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; border-width: 0px; border-color: #575757; border-style: none; margin: 12px;" /&gt;&lt;/P&gt;&lt;P&gt;then add your mesure in the variable editor &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195485_Capture.PNG" style="width: 620px; height: 200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the same for mesure B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can either create a KPI for C &lt;/P&gt;&lt;P&gt;add as mesure this &lt;/P&gt;&lt;P&gt;=$(A) + $(B)&lt;/P&gt;&lt;P&gt;dollar sign and parenthese are used to call variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or create a third variable &lt;/P&gt;&lt;P&gt;Same approch open the variable editor &lt;/P&gt;&lt;P&gt;name your variable as C for example and add as mesure this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;=$(A) + $(B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in a KPI just add $(C) as mesure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS see on YouTube &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=uFT-PNf_z9g"&gt;https://www.youtube.com/watch?v=uFT-PNf_z9g&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 17:24:26 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2018-03-06T17:24:26Z</dc:date>
    <item>
      <title>Use a defined KPI in another KPI measure in master items?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59460#M1046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I have defined two measures in master items. KPI A and KPI B.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;KPI A is defined as following:&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; long-term liabilities &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;short-term liabilities.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;KPI B is defined as following:&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B = &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stocks &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;requirements. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I want to create KPI C:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C = &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The situation is, Qlik Sense gives an error message, when I edit formula C and put in A - B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The onl&lt;SPAN lang="en"&gt;y way so far is confusing and following: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;STRONG&gt;C =&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="en"&gt;long-term liabilities&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="en"&gt;+&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;short-term liabilities&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stocks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;requirements. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I heard about the possibility of storing formulas in variables and using them in other formulas (in this case "C"). &lt;SPAN lang="en"&gt;I'm at a loss, because the previous method is very confusing to create KPIs that use other KPIs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;Can someone give me a key word, which allows me to google?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 15:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59460#M1046</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-06T15:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use a defined KPI in another KPI measure in master items?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59461#M1047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can creat variable to store your mesure then call them as another mesure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemple &lt;/P&gt;&lt;P&gt;lets say A = &lt;/P&gt;&lt;P&gt;sum([long-term liabilities])&lt;/P&gt;&lt;P&gt;+ &lt;/P&gt;&lt;P&gt;sum([short-term liabilities])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable ( clic at the bottom left button )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195475_Capture.PNG" style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; height: 118px; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; border-width: 0px; border-color: #575757; border-style: none; margin: 12px;" /&gt;&lt;/P&gt;&lt;P&gt;then add your mesure in the variable editor &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195485_Capture.PNG" style="width: 620px; height: 200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the same for mesure B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can either create a KPI for C &lt;/P&gt;&lt;P&gt;add as mesure this &lt;/P&gt;&lt;P&gt;=$(A) + $(B)&lt;/P&gt;&lt;P&gt;dollar sign and parenthese are used to call variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or create a third variable &lt;/P&gt;&lt;P&gt;Same approch open the variable editor &lt;/P&gt;&lt;P&gt;name your variable as C for example and add as mesure this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;=$(A) + $(B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in a KPI just add $(C) as mesure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS see on YouTube &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=uFT-PNf_z9g"&gt;https://www.youtube.com/watch?v=uFT-PNf_z9g&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 17:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59461#M1047</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2018-03-06T17:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use a defined KPI in another KPI measure in master items?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59462#M1048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your responce. I tried that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I'm just wondering about the testimony of a colleague who said that the word code injection is what I should look for. Google said "Code Injection + Qlik zero hits"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 07:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59462#M1048</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-07T07:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use a defined KPI in another KPI measure in master items?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59463#M1049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure to understand what your collegue means by "word code injection" &lt;/P&gt;&lt;P&gt;in script editor you can type the first lettre of a dimension and Qlik propose a list of possible occurrence &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same is possible with variable , if you type the first letter of a variable name Qlik will give a list of possible variable name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for master mesure and dimension this is not possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59463#M1049</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2018-03-08T11:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use a defined KPI in another KPI measure in master items?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59464#M1050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;Hm that sounds complicated. &lt;/SPAN&gt;The first variant you have explained works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thank you. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Use-a-defined-KPI-in-another-KPI-measure-in-master-items/m-p/59464#M1050</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-08T11:21:17Z</dc:date>
    </item>
  </channel>
</rss>

