<?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: Problem with total between 2 expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455395#M169984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi Gabriel,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;It's difficult to guess your expression and data to provide you with the exact expression. However, you can use the Label Names of both the expression and refer them in the third expression as part of your calculations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;For Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003366;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Expression1 is &lt;SPAN style="color: #800000;"&gt;TotalSales&lt;/SPAN&gt;. Which is Sum(Sales) as my expression.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003366;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Expression2 is &lt;SPAN style="color: #800000;"&gt;TotalItems&lt;/SPAN&gt;. Which is Sum(Qty) as my expression.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Now you can write third expression referring the labels i.e. &lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;TotalSales/ TotalItems&lt;/STRONG&gt;&lt;/SPAN&gt;. This will work as long as you are referring the Label Names within the same object type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;If this doesn't work then please post the sample app and we can mock up something for you.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;DV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;A href="http://www.QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2013 20:24:37 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2013-01-24T20:24:37Z</dc:date>
    <item>
      <title>Problem with total between 2 expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455393#M169982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 totals of 2 different expressions of a chart table (Simple Table), I need to make the total 1 divided by the total 2, but&lt;/P&gt;&lt;P&gt;I can not bring the correct value since the total 1 is a sum (which has Set Analysis) and total 2, the number of rows (expression NoOfRows(TOTAL)) in the table, does anyone know how to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 18:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455393#M169982</guid>
      <dc:creator />
      <dc:date>2013-01-24T18:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total between 2 expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455394#M169983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using AGGR()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 19:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455394#M169983</guid>
      <dc:creator />
      <dc:date>2013-01-24T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total between 2 expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455395#M169984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi Gabriel,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;It's difficult to guess your expression and data to provide you with the exact expression. However, you can use the Label Names of both the expression and refer them in the third expression as part of your calculations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;For Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003366;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Expression1 is &lt;SPAN style="color: #800000;"&gt;TotalSales&lt;/SPAN&gt;. Which is Sum(Sales) as my expression.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003366;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Expression2 is &lt;SPAN style="color: #800000;"&gt;TotalItems&lt;/SPAN&gt;. Which is Sum(Qty) as my expression.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Now you can write third expression referring the labels i.e. &lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;TotalSales/ TotalItems&lt;/STRONG&gt;&lt;/SPAN&gt;. This will work as long as you are referring the Label Names within the same object type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;If this doesn't work then please post the sample app and we can mock up something for you.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;DV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;A href="http://www.QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 20:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-between-2-expressions/m-p/455395#M169984</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-01-24T20:24:37Z</dc:date>
    </item>
  </channel>
</rss>

