<?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: Multiplying two fields in a expression! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222736#M500544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Hello Sir,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I've a new problem of calculating differences of two cols based on some condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I've two tables: 1&lt;SUP&gt;st&lt;/SUP&gt;&amp;nbsp; having dimensions as Dim 1--&amp;gt; Dim 2--&amp;gt;Dim 3.....they've hierarchial relation as we represent in a pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;But here we're concerned only wid Dim 3….the expr is Exp 1…Table1.xlsx is attached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Now the other is an excel file in crosstable format having sheets named 2011 &amp;amp; 2012 (Years) having&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Cols Dim 3 &amp;amp; expr2…Table2.xlsx is attached….the script is below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Crosstable&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;expr2&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2)&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(sheetname)&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Dim3,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;January&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;February&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;March&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;April&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;May&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;June&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;July&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;August&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;September&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;October&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;November&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;December&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; '$(file)' (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(sheetname)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;I’m fetching them in QV &amp;amp; need to calculate the third expression : expr3 as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Expr3=if(expr1-expr2 for feb 2012&amp;gt;0,30 (expr1/expr2)*30)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Calculate Expr4 if&amp;nbsp; Expr3=30: Expr4= if(expr1-(expr2 for feb 2012 + expr2 for Jan2012)&amp;gt;0,30,(expr1-expr2 for Feb2012)/(expr2 for Jan 2012)*30)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Calculate Expr5 if Expr4=30: Expr5=if (expr1-(expr2 for feb 2012+expr2 for Jan2012 +expr2 for Dec2011)&amp;gt;0,30,(expr1-( expr2 for feb 2012+expr2 for Jan2012))/(expr2 for Dec 2011)*30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;And so on……till expr3/expr4/expr5 is less than 30...and as soon as we get any of them less than 30 then add another col showing the sum:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;for eg….expr3=30,expr4=30 and expr5=29, so Sum col=expr3+expr4+expr5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;where &amp;amp; how&amp;nbsp; shud this logic be put……in script or in GUI expressions……&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Plz help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 09:08:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-15T09:08:25Z</dc:date>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222690#M500498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Imagine if Date is there are as a dimension in line chart and I want some to have some below in the expression. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Sales * Count(ID) //Where Sales and ID are the fields.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I tried something same like above but it is not giving any value. Is there is anyother way of doing it please.&lt;/P&gt;&lt;P&gt;Hope some can help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 09:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222690#M500498</guid>
      <dc:creator />
      <dc:date>2011-02-18T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222691#M500499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please explain ur problem in details. What are the dimenssions, we can use the aggr function also.&lt;/P&gt;&lt;P&gt;Can u post some sample application?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222691#M500499</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-18T10:01:06Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222692#M500500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you are missing SUM function. try : Sum(Sales)*Count(ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222692#M500500</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-02-18T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222693#M500501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Or use Sum(Sales*aggr(Count(ID),Dimenssion))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222693#M500501</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-18T10:07:00Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222694#M500502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;tresesco wrote:&lt;BR /&gt;i think you are missing SUM function. try : Sum(Sales)*Count(ID)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I have already tried that but it giving in correct result.&lt;/P&gt;&lt;P&gt;If try that as per your suggestion, where Sales=306 and ID=1244.&lt;/P&gt;&lt;P&gt;There result should be 306 * 1244 = 380664 but where as if I try as per your suggestion it is giving 14845896.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222694#M500502</guid>
      <dc:creator />
      <dc:date>2011-02-18T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222695#M500503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Manesh wrote:&lt;BR /&gt;Please explain ur problem in details. What are the dimenssions, we can use the aggr function also.&lt;BR /&gt;Can u post some sample application?&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dimension is a Date. I think if you look into the below reply you should get to know what I am looking for. If not please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222695#M500503</guid>
      <dc:creator />
      <dc:date>2011-02-18T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222696#M500504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check the frequency of Sales.&lt;/P&gt;&lt;P&gt;send me ur applicatio (Sample).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222696#M500504</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-18T10:23:10Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222697#M500505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying : Sum(Sales) * Count (ID) (count would count the occurance/ frequency of ID, it would not give you ID value) OR,&lt;/P&gt;&lt;P&gt;Sum(Sales*ID) OR Sum(Sales) * ID All are very much different. it depends on your data and your requirement. if it is getting you confused, please upload your sample application as suggested by Manesh.&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222697#M500505</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-02-18T10:36:06Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222698#M500506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Manesh wrote:&lt;BR /&gt;Please check the frequency of Sales.&lt;BR /&gt;send me ur applicatio (Sample). &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Above sugggestion also didn't work. I am sorry I cannot attach the sample application. I think you can use your own data that you have to work on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222698#M500506</guid>
      <dc:creator />
      <dc:date>2011-02-18T10:39:11Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222699#M500507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Attitue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should be Sum(Sales) * count(distinct ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222699#M500507</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-18T10:44:59Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222700#M500508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Deepak Kurup wrote:&lt;BR /&gt;I think it should be Sum(Sales) * count(distinct ID)&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks but it didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222700#M500508</guid>
      <dc:creator />
      <dc:date>2011-02-18T10:55:33Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222701#M500509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Attitude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did work ?? or didnt work ??.. if it didnt work.. Then create two separate expression and check the values. and in third expression add column(1) * Column(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there might be an issue in the data model,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222701#M500509</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-18T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222702#M500510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls Check whether link is perfect between this field.&lt;/P&gt;&lt;P&gt;can you post application with limited data ?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222702#M500510</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-18T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222703#M500511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have attached the sample now. Please check and let me know some solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222703#M500511</guid>
      <dc:creator />
      <dc:date>2011-02-18T11:13:25Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222704#M500512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;P&gt;Pls check and Reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222704#M500512</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-18T11:33:51Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222705#M500513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Sunil Jain wrote:&lt;BR /&gt;Pls check and Reply&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Give me some time. I will check and get back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 12:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222705#M500513</guid>
      <dc:creator />
      <dc:date>2011-02-18T12:15:42Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222706#M500514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why there is no data in the chart? Can you please check and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 12:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222706#M500514</guid>
      <dc:creator />
      <dc:date>2011-02-18T12:22:32Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222707#M500515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Attitude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just need a clarification. I goan through your data and I was finding it diffcult to understand the data.&lt;/P&gt;&lt;P&gt;you data looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 Field2 ID Year Month Sales&lt;/P&gt;&lt;P&gt;A X 1 2009 X3 6&lt;/P&gt;&lt;P&gt;A X 1 2009 S3 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the above case if you look the month is getting repeated twice.&lt;/P&gt;&lt;P&gt;As per you output you require only Sales as 6 for which you are writing in Expression Sales&lt;/P&gt;&lt;P&gt;and if we make Sum(Sales) the value becomes 12 which you said is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something wrong either in the data or in the way we are analyzing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 13:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222707#M500515</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-18T13:03:17Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222708#M500516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think u r not explaining the problem / situation correctly. This is not a big issue.&lt;/P&gt;&lt;P&gt;Then also u can try&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;B&gt;sum&lt;/B&gt;(&lt;B&gt;Distinct&lt;/B&gt; &lt;B&gt;SALES&lt;/B&gt;)*&lt;B&gt;Count&lt;/B&gt;(&lt;B&gt;ID&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;B&gt;aggr&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;Distinct&lt;/B&gt; &lt;B&gt;SALES&lt;/B&gt;),&lt;B&gt;ID&lt;/B&gt;)*&lt;B&gt;Count&lt;/B&gt;(&lt;B&gt;ID&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And revrt back , we are curious to see the solution.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 12:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222708#M500516</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-21T12:07:52Z</dc:date>
    </item>
    <item>
      <title>Multiplying two fields in a expression!</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222709#M500517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manesh&lt;/P&gt;&lt;P&gt;Got stuck with some issues. Thats why I couldn't respond to you properly. Will get back to you very soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 12:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplying-two-fields-in-a-expression/m-p/222709#M500517</guid>
      <dc:creator />
      <dc:date>2011-02-21T12:56:55Z</dc:date>
    </item>
  </channel>
</rss>

