<?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 how to get previous month results based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-get-previous-month-results-based-on-selection/m-p/96281#M15472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i have requirement to show previous month results based selection,&lt;/P&gt;&lt;P&gt;if i select April then it has to show mar results how can i achieve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me to built set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2018 13:11:46 GMT</pubDate>
    <dc:creator>kavitha_kommise</dc:creator>
    <dc:date>2018-10-11T13:11:46Z</dc:date>
    <item>
      <title>how to get previous month results based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-previous-month-results-based-on-selection/m-p/96281#M15472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i have requirement to show previous month results based selection,&lt;/P&gt;&lt;P&gt;if i select April then it has to show mar results how can i achieve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me to built set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-previous-month-results-based-on-selection/m-p/96281#M15472</guid>
      <dc:creator>kavitha_kommise</dc:creator>
      <dc:date>2018-10-11T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to get previous month results based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-previous-month-results-based-on-selection/m-p/96282#M15473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i have built a set expression like this&lt;/P&gt;&lt;P&gt;i am getting month based on selection previous month but aggregation is not happening.&lt;/P&gt;&lt;P&gt;it is returning 0 though i have value.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATE = {"=MonthName(DATE) = MonthName(AddMonths(max(DATE), -1))"}&amp;gt;}IN_CHARGE)&amp;lt;DATE = {"=MonthName(DATE) = MonthName(AddMonths(max(DATE), -1))"}&amp;gt;}IN_CHARGE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthName(AddMonths(max(DATE), -1))--this is giving previous month based on selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DATE = {"=MonthName(DATE) = MonthName(Today(), -1)"}&amp;gt;}IN_CHARGE)----this expression working statically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want set expression in such a way based on current month selection it has to show previous month results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help on same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-previous-month-results-based-on-selection/m-p/96282#M15473</guid>
      <dc:creator>kavitha_kommise</dc:creator>
      <dc:date>2018-10-11T13:38:41Z</dc:date>
    </item>
  </channel>
</rss>

