<?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: Current Month Vs Last Year Same Month Sales in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1731477#M168573</link>
    <description>&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;1. Put&amp;nbsp;&lt;SPAN&gt;vMonthAgo12 in a textbox with the expression &lt;STRONG&gt;='$(vMonthAgo12)'&lt;/STRONG&gt;.&amp;nbsp;What values does it show?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. How you are creating the field Calendar Month? Can you put the script code?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 17:57:08 GMT</pubDate>
    <dc:creator>fosuzuki</dc:creator>
    <dc:date>2020-07-28T17:57:08Z</dc:date>
    <item>
      <title>Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720507#M166254</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;I have a filter pane where the user selects the month and I want my bar graph to show the month selected sales and the same month from last year sales.&amp;nbsp; Ex: If the user selects May 2020 I want the bar graph to show the net sales for May 2020 and May 2019. If the user selects May 2019 I want the bar graph to show the May 2019 and May 2018 net sales and so on and so forth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a variable called vMonthago12 =&amp;nbsp;&amp;nbsp;=DATE(addmonths(vCurrentMonth,-12),'MMM/YYYY')&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is the formula I'm currently using:&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[Calendar Month]={"&amp;lt;=$(vMonthAgo12)"}&amp;gt;}[Daily Net Sales])&lt;/P&gt;&lt;P&gt;and this is the result I'm getting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Isgranda_1-1592613939255.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35892i2F5D5F836E605F87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Isgranda_1-1592613939255.png" alt="Isgranda_1-1592613939255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated - Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 00:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720507#M166254</guid>
      <dc:creator>Isgranda</dc:creator>
      <dc:date>2020-06-20T00:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720533#M166260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what do you have in&amp;nbsp;&lt;SPAN&gt;vCurrentMonth?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, if you want only one month, I think that you should remove the "less than" signal from the set analysis, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 10:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720533#M166260</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2020-06-20T10:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720950#M166360</link>
      <description>&lt;P&gt;Hello, Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vCurrentMonth =&amp;nbsp;maxstring({1&amp;lt;[Calendar Year/Month]={'$(vCurrentMonth)'}&amp;gt;}[Fiscal Year])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm including the "less than" in my set analysis because, if the user filters on for example: March, April, and May 2020. I want the bar graph to display the values for March, April, and May 2019 (previous year).&amp;nbsp; If the user selects March 2020, I want the bar graph to display the values for March 2019.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, I want a dynamic&amp;nbsp; output.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 20:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1720950#M166360</guid>
      <dc:creator>Isgranda</dc:creator>
      <dc:date>2020-06-22T20:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1721107#M166393</link>
      <description>&lt;P&gt;Your vCurrentMonth is aggregating on the [Fiscal Year] field. Shouldn't it be aggregating on [Fiscal Month]?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 07:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1721107#M166393</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2020-06-23T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1722277#M166620</link>
      <description>&lt;P&gt;I'm sorry I sent you the wrong formula. This is what I have for vCurrentMonth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Isgranda_0-1593102299721.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36284iBE45BB9B1A70A425/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Isgranda_0-1593102299721.png" alt="Isgranda_0-1593102299721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 16:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1722277#M166620</guid>
      <dc:creator>Isgranda</dc:creator>
      <dc:date>2020-06-25T16:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1730452#M168341</link>
      <description>&lt;P&gt;Please help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 21:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1730452#M168341</guid>
      <dc:creator>Isgranda</dc:creator>
      <dc:date>2020-07-23T21:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Vs Last Year Same Month Sales</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1731477#M168573</link>
      <description>&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;1. Put&amp;nbsp;&lt;SPAN&gt;vMonthAgo12 in a textbox with the expression &lt;STRONG&gt;='$(vMonthAgo12)'&lt;/STRONG&gt;.&amp;nbsp;What values does it show?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. How you are creating the field Calendar Month? Can you put the script code?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 17:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Current-Month-Vs-Last-Year-Same-Month-Sales/m-p/1731477#M168573</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2020-07-28T17:57:08Z</dc:date>
    </item>
  </channel>
</rss>

