<?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: Compare CY and PY data for Current Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1654788#M730061</link>
    <description>&lt;P&gt;Cliff, best I have is the following Design Blog post, hopefully it may provide some ideas for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 21:19:41 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-12-05T21:19:41Z</dc:date>
    <item>
      <title>Compare CY and PY data for Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1650349#M730060</link>
      <description>&lt;P&gt;I have a dashboard that compares Current Year totals vs. Previous Year totals for the current reporting month.&amp;nbsp; The expression for the Current Year is:&lt;/P&gt;&lt;P&gt;Num(Sum({&amp;lt;[FY]={$(vCurrentYear)}&amp;gt;} Cost),'$#,##0.')&lt;/P&gt;&lt;P&gt;We are currently in month two for our reporting calendar.&amp;nbsp; I am having trouble getting just the first two months of data for the Previous Year.&amp;nbsp; I created a field called MonthNumber that pulls the month from a date field.&amp;nbsp; I also have a field called NumberMonth that converts the MonthNumber to a standard month number starting point.&amp;nbsp; For example, our Fiscal Year starts in October, so the first MonthNumber value is 10 then 11 for November and so on.&amp;nbsp; When the value of NumberMonth equals 10, then the value of NumberMonth is 1 and so on.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I write the expression for the Previous Year to give me the same month's data as the Current Year?&amp;nbsp; The variable for Previous Year is vPreviousYear.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1650349#M730060</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2024-11-16T01:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CY and PY data for Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1654788#M730061</link>
      <description>&lt;P&gt;Cliff, best I have is the following Design Blog post, hopefully it may provide some ideas for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1654788#M730061</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-05T21:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CY and PY data for Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1654844#M730062</link>
      <description>&lt;P&gt;Can you please post your expressions for CurrentYear and LastYear.&lt;/P&gt;&lt;P&gt;Below expression should work&lt;/P&gt;&lt;P&gt;vLastYearMonth = Month(Addyears(today(),-1)) - This should give you the same month as that of today for the last year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jesh&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 06:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-CY-and-PY-data-for-Current-Month/m-p/1654844#M730062</guid>
      <dc:creator>Jesh19</dc:creator>
      <dc:date>2019-12-06T06:07:19Z</dc:date>
    </item>
  </channel>
</rss>

