<?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: Divide By Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379299#M141449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thank you for your reply but still gives 1. &lt;SPAN class="hps"&gt;It's as if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I were&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dividing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;system 370000/370000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Operates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;separately&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;formulas&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;A formula&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;giving&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;leg&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and the other&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;gives&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the total but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I get&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;one&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;split.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 13:54:47 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2012-08-21T13:54:47Z</dc:date>
    <item>
      <title>Divide By Total</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379297#M141447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Independent the formulas works fine &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tramos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Tramo 0'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cod_Bloqueo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 8, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tramos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cod_Bloqueo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 8, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Gave me 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first result gives 17000000&lt;/P&gt;&lt;P&gt;The total Gives 31000000000000.&lt;/P&gt;&lt;P&gt;But is not calculating the real.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 21:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379297#M141447</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-08-20T21:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Divide By Total</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379298#M141448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Which dimensions do you have in your chart? &lt;/P&gt;&lt;P&gt;Maybe you'd like to use &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Tramos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Cod_Bloqueo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 8,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;as your second expression or &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Tramos = &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Cod_Bloqueo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 8,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can also remove the if condition and use it as a set analysis: &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Tramos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Tramo 0'}, Cod_Bloqueo-={8}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Tramos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Tramo 0'}, Cod_Bloqueo-={8}&amp;gt;} total &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Deuda_Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 22:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379298#M141448</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-08-20T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Divide By Total</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379299#M141449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thank you for your reply but still gives 1. &lt;SPAN class="hps"&gt;It's as if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I were&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dividing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;system 370000/370000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Operates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;separately&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;formulas&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;A formula&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;giving&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;leg&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and the other&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;gives&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the total but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I get&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;one&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;split.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 13:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379299#M141449</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-08-21T13:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Divide By Total</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379300#M141450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I found the problem my formula was fine. It was a format numeric problem now works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 14:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-By-Total/m-p/379300#M141450</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-08-21T14:07:03Z</dc:date>
    </item>
  </channel>
</rss>

