<?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: Setting the previous year in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/924#M167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sunny will be that the set analys is correct?&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;It is not bringing values...&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMesAtual = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Makedate(year(today()),month(today()),25);&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMesAnt = &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;AddMonths(&lt;/SPAN&gt;MakeDate(Year(Today()), Month(Today()), 25)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, -1)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt;Ano =,Mes=,Date1 = {"&amp;gt;= $(vMesAnt) &amp;lt;= $(vMesAtual)"},&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;[Movimento_Tipo_Operacao]={'DEV','VND','VPC','VEF','ACE','FPV','CVE'},[Dt_Passou1]={'0'} &amp;gt;}Preco_Final)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 13:03:37 GMT</pubDate>
    <dc:creator>Ribeiro</dc:creator>
    <dc:date>2018-01-15T13:03:37Z</dc:date>
    <item>
      <title>Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/917#M160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to go back the previous year in the variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMesAtual = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Makedate(year(today()),month(today()),25);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMesAnt = Makedate(year(today()&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;-30&lt;/STRONG&gt;&lt;/SPAN&gt;),month(today()-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;),25);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to fix the variable to bring 12/25/2017 = &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;vMesAnt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;&lt;STRONG&gt;But the variable must always be on the 25th of every month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="190094" alt="2018-01-15_10-09-59.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190094_2018-01-15_10-09-59.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;vMesAnt :&amp;nbsp; 25/12/&lt;SPAN style="; color: #575757; font-size: 12pt;"&gt;&lt;STRONG&gt;2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vMesAtual: 25/01/2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/917#M160</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2018-01-15T12:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/918#M161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMesAtual = MakeDate(&lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;Year(Today()) &lt;SPAN style="color: #ff0000;"&gt;- 1)&lt;/SPAN&gt;, Month(Today()), 25);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMesAtual = MakeDate(Year(&lt;SPAN style="color: #ff0000;"&gt;AddYears(&lt;/SPAN&gt;Today()&lt;SPAN style="color: #ff0000;"&gt;, -1)&lt;/SPAN&gt;), Month(Today()), 25);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/918#M161</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-15T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/919#M162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use addYear(YourExpression,-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/919#M162</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-15T12:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/920#M163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the date is 2/25/2018 and 1/25/2018 will it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/920#M163</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2018-01-15T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/921#M164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, you want to go just one month back? Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMesAnt = &lt;SPAN style="color: #ff0000;"&gt;AddMonths(&lt;/SPAN&gt;MakeDate(Year(Today()), Month(Today()), 25)&lt;SPAN style="color: #ff0000;"&gt;, -1)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/921#M164</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-15T12:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/922#M165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi, try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;vMesAnt = Makedate(AddYears(today(),-1),month(today()-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;30&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;),25);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/922#M165</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-01-15T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/923#M166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your patience and competence.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/923#M166</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2018-01-15T12:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/924#M167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sunny will be that the set analys is correct?&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;It is not bringing values...&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMesAtual = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Makedate(year(today()),month(today()),25);&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMesAnt = &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;AddMonths(&lt;/SPAN&gt;MakeDate(Year(Today()), Month(Today()), 25)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, -1)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt;Ano =,Mes=,Date1 = {"&amp;gt;= $(vMesAnt) &amp;lt;= $(vMesAtual)"},&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;[Movimento_Tipo_Operacao]={'DEV','VND','VPC','VEF','ACE','FPV','CVE'},[Dt_Passou1]={'0'} &amp;gt;}Preco_Final)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/924#M167</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2018-01-15T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/925#M168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't add spaces and then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Ano =,Mes=,Date1 = {"&amp;gt;=$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vMesAnt)&amp;lt;=$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vMesAtual)"},&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Movimento_Tipo_Operacao]={'DEV','VND','VPC','VEF','ACE','FPV','CVE'},[Dt_Passou1]={'0'} &amp;gt;}Preco_Final)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;or this&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Ano =,Mes=,Date1 = {"&amp;gt;=$(&lt;SPAN style="color: #ff0000;"&gt;=$(&lt;/SPAN&gt;vMesAnt&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;STRONG style="color: #ff0000;"&gt;$(&lt;/STRONG&gt;&lt;/SPAN&gt;vMesAtual&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt;)"},&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Movimento_Tipo_Operacao]={'DEV','VND','VPC','VEF','ACE','FPV','CVE'},[Dt_Passou1]={'0'} &amp;gt;}Preco_Final)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 13:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/925#M168</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-15T13:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the previous year in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/926#M169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;Sum({$&amp;lt;Ano =,Mes=,Date1 = {"&amp;gt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;vMesAnt)&amp;lt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;vMesAtual)"},&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;[Movimento_Tipo_Operacao]={'DEV','VND','VPC','VEF','ACE','FPV','CVE'},[Dt_Passou1]={'0'} &amp;gt;}Preco_Final)&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 13:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-the-previous-year-in-set-analysis/m-p/926#M169</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2018-01-15T13:08:28Z</dc:date>
    </item>
  </channel>
</rss>

