<?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 sum expressión in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-expressi%C3%B3n/m-p/436305#M561148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the next expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(-(sum( {$&amp;lt;[FD_F_CUENTA_MAYOR] = {'70500002'},FD_F_FECHA_CONTABILIZACION={"=FD_F_FECHA_CONTABILIZACION=fechas"}&amp;gt;} FD_F_IMPORTE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where fechas as a variable and works ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now i need get the previous year information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have two fields (año and mes), when the year (año) 2013 and the month(mes) (2013 -feb) are selected, i have two variables that take a diferents values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fechas ( 28/02/2013) and fechas_prev_year (29/02/2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try to modify the expression including the variable fechas_prev_year but it doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(-(sum( {$&amp;lt;[FD_F_CUENTA_MAYOR] = {'70500002'},FD_F_FECHA_CONTABILIZACION={"=FD_F_FECHA_CONTABILIZACION=fechas_prev_year"}&amp;gt;} FD_F_IMPORTE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think that the problem is a año and mes selection because the range is for other year and other month, but i don´t know how can i solve it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i´m very pleassed with your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;and sorry for my english&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 13:07:00 GMT</pubDate>
    <dc:creator>jtrillori</dc:creator>
    <dc:date>2013-04-09T13:07:00Z</dc:date>
    <item>
      <title>sum expressión</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expressi%C3%B3n/m-p/436305#M561148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the next expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(-(sum( {$&amp;lt;[FD_F_CUENTA_MAYOR] = {'70500002'},FD_F_FECHA_CONTABILIZACION={"=FD_F_FECHA_CONTABILIZACION=fechas"}&amp;gt;} FD_F_IMPORTE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where fechas as a variable and works ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now i need get the previous year information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have two fields (año and mes), when the year (año) 2013 and the month(mes) (2013 -feb) are selected, i have two variables that take a diferents values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fechas ( 28/02/2013) and fechas_prev_year (29/02/2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try to modify the expression including the variable fechas_prev_year but it doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(-(sum( {$&amp;lt;[FD_F_CUENTA_MAYOR] = {'70500002'},FD_F_FECHA_CONTABILIZACION={"=FD_F_FECHA_CONTABILIZACION=fechas_prev_year"}&amp;gt;} FD_F_IMPORTE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think that the problem is a año and mes selection because the range is for other year and other month, but i don´t know how can i solve it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i´m very pleassed with your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;and sorry for my english&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 13:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expressi%C3%B3n/m-p/436305#M561148</guid>
      <dc:creator>jtrillori</dc:creator>
      <dc:date>2013-04-09T13:07:00Z</dc:date>
    </item>
  </channel>
</rss>

