<?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 Calculated Variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135723#M20018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi everyone, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need a hint about a calculated measure on some specific variables. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;As you can see in the picture, there is a pivot table based on some calculate variables ans a KPI field.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;BR /&gt;On the left, in the KPI,&amp;nbsp; there is the total of&amp;nbsp; $(operazioniValideTotal), defined as:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;count({&amp;lt;[NomeEsitoOperazione]= {'Successo'}&amp;gt;}&amp;nbsp; total(IDOPERAZIONE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;In the&amp;nbsp; pivot table, the dimensions are "Campagna Master" and "Campagna Sponsor" and the hierarchy is &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;Campagna Master&amp;gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Campagna Sponsor.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The first measure (Eventi Elaborati con successo)&amp;nbsp; is the &lt;SPAN style="font-size: 13.3333px;"&gt;$(operazioniValide), that is specific for the dimension Campagna Master (red circle) and the campagna Sponsor. The sum of Campagna Sponsor's values are the Campagna Master value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The&amp;nbsp; $(operazioniValide) is defined as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;count({&amp;lt;[NomeEsitoOperazione]= {'Successo'}&amp;gt;}&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;IDOPERAZIONE&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The other Measure (% Carico Attuale) is based on the ratio between the &lt;SPAN style="font-size: 13.3333px;"&gt;$(operazioniValide) and $(&lt;SPAN style="font-size: 13.3333px;"&gt;operazioniValideTotal).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;My request is that the measure (&lt;SPAN style="font-size: 13.3333px;"&gt;% Carico Attuale)&amp;nbsp; will be based on the specific value of the "campagna Sponsor" measur over the value of their "Campagna Master" value. &lt;BR /&gt;&lt;/SPAN&gt;For example: look at the green rectangle.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This value is based on:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3/39 = 0.076 (7.6%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;25/39 = 0.64 (64%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need that this value is :&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3/28 = 0.107 (10,7%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;25/28 = 0.893 (89.3 %)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This value will appear only if I selected the "campagna Master" and so Qlik will calculate the $(&lt;SPAN style="font-size: 13.3333px;"&gt;operazioniValideTotal) based on that selection.&lt;/SPAN&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 08:39:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-02T08:39:58Z</dc:date>
    <item>
      <title>Calculated Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135723#M20018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi everyone, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need a hint about a calculated measure on some specific variables. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;As you can see in the picture, there is a pivot table based on some calculate variables ans a KPI field.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;BR /&gt;On the left, in the KPI,&amp;nbsp; there is the total of&amp;nbsp; $(operazioniValideTotal), defined as:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;count({&amp;lt;[NomeEsitoOperazione]= {'Successo'}&amp;gt;}&amp;nbsp; total(IDOPERAZIONE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;In the&amp;nbsp; pivot table, the dimensions are "Campagna Master" and "Campagna Sponsor" and the hierarchy is &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;Campagna Master&amp;gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Campagna Sponsor.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The first measure (Eventi Elaborati con successo)&amp;nbsp; is the &lt;SPAN style="font-size: 13.3333px;"&gt;$(operazioniValide), that is specific for the dimension Campagna Master (red circle) and the campagna Sponsor. The sum of Campagna Sponsor's values are the Campagna Master value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The&amp;nbsp; $(operazioniValide) is defined as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;count({&amp;lt;[NomeEsitoOperazione]= {'Successo'}&amp;gt;}&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;IDOPERAZIONE&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The other Measure (% Carico Attuale) is based on the ratio between the &lt;SPAN style="font-size: 13.3333px;"&gt;$(operazioniValide) and $(&lt;SPAN style="font-size: 13.3333px;"&gt;operazioniValideTotal).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;My request is that the measure (&lt;SPAN style="font-size: 13.3333px;"&gt;% Carico Attuale)&amp;nbsp; will be based on the specific value of the "campagna Sponsor" measur over the value of their "Campagna Master" value. &lt;BR /&gt;&lt;/SPAN&gt;For example: look at the green rectangle.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This value is based on:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3/39 = 0.076 (7.6%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;25/39 = 0.64 (64%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need that this value is :&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3/28 = 0.107 (10,7%)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;25/28 = 0.893 (89.3 %)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This value will appear only if I selected the "campagna Master" and so Qlik will calculate the $(&lt;SPAN style="font-size: 13.3333px;"&gt;operazioniValideTotal) based on that selection.&lt;/SPAN&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 08:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135723#M20018</guid>
      <dc:creator />
      <dc:date>2016-09-02T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135724#M20019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in the denominator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count({&amp;lt;[NomeEsitoOperazione]= {'Successo'}&amp;gt;}&amp;nbsp; TOTAL &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;[C&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;ampagna Master&lt;/SPAN&gt;]&amp;gt;&lt;/SPAN&gt; IDOPERAZIONE)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2016 18:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135724#M20019</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-03T18:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135725#M20020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Right Answer &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 07:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Variable/m-p/1135725#M20020</guid>
      <dc:creator />
      <dc:date>2016-09-05T07:22:26Z</dc:date>
    </item>
  </channel>
</rss>

