<?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: Subtotal Expression after Concatenate,Inner and Load Functs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396165#M1161464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post small qvw sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 07:28:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-04T07:28:21Z</dc:date>
    <item>
      <title>Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396162#M1161461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13543267372749954" jivemacro_uid="_13543267372749954"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hello QlikCommunity; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with below expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;TablaA:&lt;BR /&gt;LOAD&lt;BR /&gt;//,'Table 1' as Table,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REMISION as remision,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AEROPUERTO as idestacion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LITROS as vnatural,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCEPTO as idproducto,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day &lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;//***************MOVIMIENTO TABLE******************&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;//,'Table 2' as Table, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idmovimiento,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmovimiento,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtipo,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; remision,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idestacion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vnatural,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idproducto,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//******************INNER JOIN*************************&lt;BR /&gt;INNER JOIN (TablaA)&lt;BR /&gt;LOAD* &lt;BR /&gt;WHERE "NoMatch"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "SiMatch"&lt;BR /&gt;&amp;nbsp; OR "Duplicadas"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "DifEstacion"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "DifLitros"&lt;BR /&gt;&amp;nbsp; OR "IgDesc"&lt;BR /&gt;&amp;nbsp; OR "NoMatch1"&lt;BR /&gt;&amp;nbsp; OR "NoMatch2"&lt;BR /&gt;;&lt;BR /&gt;LOAD &lt;BR /&gt;remision&lt;BR /&gt;,if(count(remision)=1 ,-1)as "NoMatch"&lt;BR /&gt;,if(count(remision)&amp;gt;=2,-2)as "SiMatch"&lt;BR /&gt;,if(count(remision)&amp;gt;=2,-3) as "Duplicadas"&lt;BR /&gt;,if(maxstring(idestacion)&amp;lt;&amp;gt;minstring(idestacion),-4) as "DifEstacion"&lt;BR /&gt;,if(max(vnatural)&amp;lt;&amp;gt;min(vnatural),-5)as "DifLitros"&lt;BR /&gt;,if(maxstring(idproducto)= minstring(idproducto),-7)as "IgDesc"&lt;BR /&gt;,if(count(remision)&amp;gt;=2 and (maxstring(idproducto)=minstring(idproducto)),-1) as "NoMatch1" &lt;BR /&gt;,if(count(remision)&amp;gt;=2 and (maxstring(idproducto)&amp;lt;&amp;gt;minstring(idproducto))and (maxstring(tmovimiento)=minstring(tmovimiento))and (maxstring(mtipo)=minstring(mtipo))and (maxstring(idmovimiento)&amp;lt;&amp;gt;minstring(idmovimiento)),-1) as "NoMatch2" &lt;/P&gt;&lt;P&gt;RESIDENT TablaA&lt;BR /&gt;GROUP BY remision;&lt;/P&gt;&lt;P&gt;STORE TablaA INTO C:\Users\jmarinesc\Downloads\SIAMCO\01_DATA\SQL\QVD\ESLK1JJOINA.qvd;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know how many equal ESremision exists making a subtotal on ESNOMATCH2 field and create new field Subtotal, with Subt results (4). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="246"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="18" width="71"&gt;ESremision&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="93"&gt;ESNOMATCH2&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none;" width="82"&gt;Subtotal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="18" style="border-top: medium none;"&gt;1520689&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;-1&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="18" style="border-top: medium none;"&gt;1520689&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;-1&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="18" style="border-top: medium none;"&gt;1520689&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;-1&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="19" style="border-top: medium none;"&gt;1520689&lt;/TD&gt;&lt;TD class="xl73" style="border-left: medium none; border-top: medium none;"&gt;-1&lt;/TD&gt;&lt;TD class="xl74" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like An Excel Subt Function.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="132"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="105"&gt;Remision&lt;/TD&gt;&lt;TD class="xl63" width="27"&gt;Tot&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta 1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;222&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;222&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta 222&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;333&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;333&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;333&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta 333&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;4444&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;4444&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;4444&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;4444&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta 4444&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;55555&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;55555&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;55555&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;55555&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;55555&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta 55555&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;Cuenta general&lt;/TD&gt;&lt;TD align="right"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tk in advanced&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 02:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396162#M1161461</guid>
      <dc:creator>jmarinesc</dc:creator>
      <dc:date>2012-12-01T02:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396163#M1161462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add at the end something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;left join load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;distinc &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;ESremision,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;STRONG&gt;count(ESremision) as &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Subtotal&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;STRONG&gt;group by &lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;STRONG&gt;ESremision;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 15:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396163#M1161462</guid>
      <dc:creator />
      <dc:date>2012-12-01T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396164#M1161463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pari Pari;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works partially, because I lost my concatenated table..... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 19:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396164#M1161463</guid>
      <dc:creator>jmarinesc</dc:creator>
      <dc:date>2012-12-03T19:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396165#M1161464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post small qvw sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 07:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396165#M1161464</guid>
      <dc:creator />
      <dc:date>2012-12-04T07:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396166#M1161465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t get error.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result of this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TablaA &amp;lt;&amp;lt; PedidosVentas1Jun2010 (qvd optimized) 20,292 registros leídos&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TablaA &amp;lt;&amp;lt; Movs1Jun2010 (qvd optimized) 46,066 registros leídos&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TablaA 26,031 registros leídos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--- Ejecución de Script finalizada --- &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;But, I don´t find&amp;nbsp; Subtotal field......&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;BR /&gt;SET DecimalSep='.';&lt;BR /&gt;SET MoneyThousandSep=',';&lt;BR /&gt;SET MoneyDecimalSep='.';&lt;BR /&gt;SET MoneyFormat='$#,##0.00;-$#,##0.00';&lt;BR /&gt;SET TimeFormat='hh:mm:ss TT';&lt;BR /&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff] TT';&lt;BR /&gt;SET MonthNames='ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic';&lt;BR /&gt;SET DayNames='lun;mar;mié;jue;vie;sáb;dom';&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;TablaA:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REMISION as remision,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AEROPUERTO as idestacion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LITROS as vnatural,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCEPTO as idproducto,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day &lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;//***************MOVIMIENTO TABLE******************&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idmovimiento,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmovimiento,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtipo,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; remision,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idestacion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vnatural,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idproducto,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;//******************INNER JOIN*************************&lt;BR /&gt;INNER JOIN (TablaA)&lt;BR /&gt;LOAD* &lt;BR /&gt;WHERE "NoMatch"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "SiMatch"&lt;BR /&gt;&amp;nbsp; OR "Dup"&lt;BR /&gt;&amp;nbsp; OR "Trip"&lt;BR /&gt;&amp;nbsp; OR "Cuad"&lt;BR /&gt;&amp;nbsp; OR "Quint"&lt;BR /&gt;&amp;nbsp; OR "&amp;gt;5"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "DifEstacion"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "DifLitros"&lt;BR /&gt;&amp;nbsp; OR "IgDesc"&lt;BR /&gt;&amp;nbsp; OR "NoMatch1"&lt;BR /&gt;&amp;nbsp; OR "NoMatch2"&lt;BR /&gt;;&lt;BR /&gt;LOAD &lt;BR /&gt;remision&lt;BR /&gt;,if(count(remision)=1 ,-1)as "NoMatch"&lt;BR /&gt;,if(count(remision)&amp;gt;=2,-2)as "SiMatch"&lt;BR /&gt;,if(maxstring(idestacion)&amp;lt;&amp;gt;minstring(idestacion),-4) as "DifEstacion"&lt;BR /&gt;,if(max(vnatural)&amp;lt;&amp;gt;min(vnatural),-5)as "DifLitros"&lt;BR /&gt;,if(maxstring(idproducto)= minstring(idproducto),-7)as "IgDesc"&lt;BR /&gt;,if(count(remision)&amp;gt;=2 and (maxstring(idproducto)=minstring(idproducto)),-1) as "NoMatch1" &lt;BR /&gt;,if(count(remision)&amp;gt;=2 and (count(distinct tmovimiento))=1&amp;nbsp; and (sum(idproducto))&amp;lt;=10,-1)as "NoMatch2"&lt;BR /&gt;,if(count(remision)=2,-12) as "Dup"&lt;BR /&gt;,if(count(remision)=3,-13) as "Trip"&lt;BR /&gt;,if(count(remision)=4,-14) as "Cuad"&lt;BR /&gt;,if(count(remision)=5,-15) as "Quint"&lt;BR /&gt;,if(count(remision)&amp;gt;5,-16) as "&amp;gt;5"&lt;/P&gt;&lt;P&gt;RESIDENT TablaA&lt;BR /&gt;group by remision;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;left join LOAD&lt;BR /&gt;distinct remision,&lt;/P&gt;&lt;P&gt;count(remision)as Subtotal&lt;/P&gt;&lt;P&gt;group by remision;&lt;/P&gt;&lt;P&gt;STORE TablaA INTO C:\Users\jmarinesc\Downloads\SIAMCO\01_DATA\SQL\QVD\ESLK1JJOINA.qvd;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tk in advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396166#M1161465</guid>
      <dc:creator>jmarinesc</dc:creator>
      <dc:date>2012-12-04T15:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Expression after Concatenate,Inner and Load Functs</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396167#M1161466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post small piece of&lt;STRONG&gt; &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Movs1Jun2010.qvd &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;and &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;PedidosVentas1Jun2010.qvd&lt;/SPAN&gt; &lt;/STRONG&gt;please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 18:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-Expression-after-Concatenate-Inner-and-Load-Functs/m-p/396167#M1161466</guid>
      <dc:creator />
      <dc:date>2012-12-04T18:31:43Z</dc:date>
    </item>
  </channel>
</rss>

