<?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 Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection/m-p/1387357#M815695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;I have a query based on period selection in my period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets consider my requirement here like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my selection is Year=2016 and Month = 06.and I have a Filters (YTD,MTD,PY Year)&lt;/P&gt;&lt;P&gt;If i slect &lt;SPAN style="font-size: 13.3333px;"&gt;YTD&amp;nbsp; Should show 2016.06 date only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If i slect &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MTD &lt;SPAN style="font-size: 13.3333px;"&gt;Should show current - previous month data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If i slect PY Year Last Year Current month - previous month data only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>subbareddykm</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Selection/m-p/1387357#M815695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;I have a query based on period selection in my period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets consider my requirement here like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my selection is Year=2016 and Month = 06.and I have a Filters (YTD,MTD,PY Year)&lt;/P&gt;&lt;P&gt;If i slect &lt;SPAN style="font-size: 13.3333px;"&gt;YTD&amp;nbsp; Should show 2016.06 date only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If i slect &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MTD &lt;SPAN style="font-size: 13.3333px;"&gt;Should show current - previous month data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If i slect PY Year Last Year Current month - previous month data only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection/m-p/1387357#M815695</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Selection/m-p/1387358#M815697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create ISLAND Table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Selections&lt;/P&gt;&lt;P&gt;YTD&lt;/P&gt;&lt;P&gt;MTD&lt;/P&gt;&lt;P&gt;PY Year&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID is dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use formula like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Selections, 'YTD','MTD','PY Year'), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Sales), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Sum({&amp;lt;Month = {'$(=Max(Month))'}&amp;gt;}Sales)-&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Month = {'$(=AddYears(Max(Month), -1))'}&amp;gt;}Sales))&lt;/STRONG&gt;, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Sum({&amp;lt;Year = {'$(=AddYears(Max(Year), -1))'}, Month = {'$(=Max(Month))'}&amp;gt;}Sales)-&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Year = {'$(=AddYears(Max(Year), -1))'}, Month = {'$(=Max(Month)-1)'}&amp;gt;}Sales)&lt;/STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 08:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection/m-p/1387358#M815697</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-11T08:07:43Z</dc:date>
    </item>
  </channel>
</rss>

