<?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 Current Month&amp;Previous Month Calculation Only on one selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Calculation-Only-on-one-selection/m-p/241070#M91521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can Anybody help me to find a solution 4 this problem i am facing here with my current project.&lt;/P&gt;&lt;P&gt;Scenario :&lt;/P&gt;&lt;P&gt;I am having sales amount based on month selection like it i select jan /feb /mar......... i will get correct data for my current selection,but my requirement is that ,i need 2 more selection like previous month ,previous-1month for that i should select only one Month .&lt;/P&gt;&lt;P&gt;that month can be Jan,Feb,Mar.......&lt;/P&gt;&lt;P&gt;if i select month of 'Feb' then i should get data for ,Jan and Dec automatically by selecting only on 'FEB.&lt;/P&gt;&lt;P&gt;if i select month of 'jan' then i should get data for ,Dec and Nov automatically by selecting only on 'JAN&lt;/P&gt;&lt;P&gt;if i select month of 'Jul' then i should get data for ,JUNE and Jul automatically by selecting only on jUL&lt;/P&gt;&lt;P&gt;if i select month of 'Mar' then i should get data for ,feb and jan automatically by selecting only on 'MAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried it by using set analysis but i was not able to find the solution .&lt;/P&gt;&lt;P&gt;Please suggest me any method which uses Current selection or Get selected Value.&lt;/P&gt;&lt;P&gt;I need this solution very urgent.............&lt;/P&gt;&lt;P&gt;Thankx in advance......&lt;/P&gt;&lt;P&gt;Plz reply me on.... &lt;A href="mailto:dushyant@iconresources.com"&gt;dushyant@iconresources.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dushyant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 18:53:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-03T18:53:12Z</dc:date>
    <item>
      <title>Current Month&amp;Previous Month Calculation Only on one selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Calculation-Only-on-one-selection/m-p/241070#M91521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can Anybody help me to find a solution 4 this problem i am facing here with my current project.&lt;/P&gt;&lt;P&gt;Scenario :&lt;/P&gt;&lt;P&gt;I am having sales amount based on month selection like it i select jan /feb /mar......... i will get correct data for my current selection,but my requirement is that ,i need 2 more selection like previous month ,previous-1month for that i should select only one Month .&lt;/P&gt;&lt;P&gt;that month can be Jan,Feb,Mar.......&lt;/P&gt;&lt;P&gt;if i select month of 'Feb' then i should get data for ,Jan and Dec automatically by selecting only on 'FEB.&lt;/P&gt;&lt;P&gt;if i select month of 'jan' then i should get data for ,Dec and Nov automatically by selecting only on 'JAN&lt;/P&gt;&lt;P&gt;if i select month of 'Jul' then i should get data for ,JUNE and Jul automatically by selecting only on jUL&lt;/P&gt;&lt;P&gt;if i select month of 'Mar' then i should get data for ,feb and jan automatically by selecting only on 'MAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried it by using set analysis but i was not able to find the solution .&lt;/P&gt;&lt;P&gt;Please suggest me any method which uses Current selection or Get selected Value.&lt;/P&gt;&lt;P&gt;I need this solution very urgent.............&lt;/P&gt;&lt;P&gt;Thankx in advance......&lt;/P&gt;&lt;P&gt;Plz reply me on.... &lt;A href="mailto:dushyant@iconresources.com"&gt;dushyant@iconresources.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dushyant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 18:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Calculation-Only-on-one-selection/m-p/241070#M91521</guid>
      <dc:creator />
      <dc:date>2010-08-03T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Current Month&amp;Previous Month Calculation Only on one selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Calculation-Only-on-one-selection/m-p/241071#M91522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have variables for your month or are you using fields ? You can try following&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={$(=Only(Month))}&amp;gt;} Sales) for current selected month&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={$(=Only(Month) - 1 )}&amp;gt;} Sales) and&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={$(=Only(Month) - 2 )}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 19:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Calculation-Only-on-one-selection/m-p/241071#M91522</guid>
      <dc:creator />
      <dc:date>2010-08-03T19:53:13Z</dc:date>
    </item>
  </channel>
</rss>

