<?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 Comparison actual Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226025#M391322</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;Im trying to compare Actual year vs Last Year by (Day-Month) , means Date(Date,'MM-DD), in pivot chart. Obviously, with month dimension there´s no problem with that because the two are showing up in the same cell, but I would like to show (Day-Month) in the same cell) , Actually my output is different cell, Because are two different years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression Are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(FieldA = '1', Num(Sum(FieldB)/Divisor,'#.##0'),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldA&lt;/SPAN&gt; = '2', Num((Sum(FieldC))/Divisor,'#.##0')))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Last Year:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Año={$(xAñoAnt)},Fecha,FechaAA,FechaDiaMes&amp;gt;}if(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldA &lt;/SPAN&gt;= '1', Num(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldB&lt;/SPAN&gt;,'#.##0'),&lt;/P&gt;&lt;P&gt;Num(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldC&lt;/SPAN&gt;,'#.##0')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 14:42:26 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2017-01-24T14:42:26Z</dc:date>
    <item>
      <title>Comparison actual Year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226025#M391322</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;Im trying to compare Actual year vs Last Year by (Day-Month) , means Date(Date,'MM-DD), in pivot chart. Obviously, with month dimension there´s no problem with that because the two are showing up in the same cell, but I would like to show (Day-Month) in the same cell) , Actually my output is different cell, Because are two different years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression Are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(FieldA = '1', Num(Sum(FieldB)/Divisor,'#.##0'),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldA&lt;/SPAN&gt; = '2', Num((Sum(FieldC))/Divisor,'#.##0')))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Last Year:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Año={$(xAñoAnt)},Fecha,FechaAA,FechaDiaMes&amp;gt;}if(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldA &lt;/SPAN&gt;= '1', Num(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldB&lt;/SPAN&gt;,'#.##0'),&lt;/P&gt;&lt;P&gt;Num(&lt;SPAN style="font-size: 13.3333px;"&gt;FieldC&lt;/SPAN&gt;,'#.##0')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226025#M391322</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2017-01-24T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison actual Year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226026#M391323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Help?&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>Tue, 24 Jan 2017 16:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226026#M391323</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2017-01-24T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison actual Year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226027#M391324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample output you desire and one which you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226027#M391324</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2017-01-24T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison actual Year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226028#M391325</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;Im getting this : (Photo).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output What I looking for is both years in the same column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Real&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AA&lt;/P&gt;&lt;P&gt;01-01&amp;nbsp; 741.609&amp;nbsp;&amp;nbsp; 298.487&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226028#M391325</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2017-01-24T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison actual Year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226029#M391326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found my own solution doing mapping to last year and renamed the field as Actual year. Now I can see Day-Month correctly in my dimenssion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 18:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-actual-Year/m-p/1226029#M391326</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2017-01-24T18:35:16Z</dc:date>
    </item>
  </channel>
</rss>

