<?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: Month &amp; Date calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702238#M253367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 12:30:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-16T12:30:26Z</dc:date>
    <item>
      <title>Month &amp; Date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702236#M253365</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;&lt;/P&gt;&lt;P&gt;I have to develop below dashboard based on the below conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;I have to get total by month.&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;If there is no selection of Year, Month, Day (Default to Current year, Current month total&amp;nbsp; and so on)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;If Year only selected and that is Less than current year, show DEC month &amp;amp; Selected Year.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt; e.g. 2013 selected, totals should be DEC &amp;amp; 2013, Nov2013,oct 2013, sept2013.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. If Year only selected and that is Current year default to Current month &amp;amp; current year&amp;nbsp; and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt; e.g. 2014 selected, show Sept 2014, aug 2014, july 2014, june 2014.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;&amp;nbsp; 4. If Year, Month selected – show as selected in boxes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt; 5. If Day only selected, show the current month and current year and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt; 6. If month only selected, show current year and current month and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;&amp;nbsp; 7. if Quarter selected and no year selected, show that quarter months and current year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman','serif';"&gt;&amp;nbsp; 8. if year and Quarter selected – show those months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66814_pastedImage_3.png" style="width: 620px; height: 275px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 21:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702236#M253365</guid>
      <dc:creator />
      <dc:date>2014-09-15T21:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Month &amp; Date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702237#M253366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could read the selections with getfieldselections(), getselectedcount() and so on and use these values for your calculations, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getfieldselections(Year) = year(today()), THEN, ELSE)&lt;/P&gt;&lt;P&gt;if(rangesum(getselectedcount(Year), getselectedcount(Month), getselectedcount(Day)) &amp;lt; 1, THEN, ELSE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think 8 different levels are too much, it will be (too) difficult for a user to find out which selection leads to which calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 00:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702237#M253366</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-16T00:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Month &amp; Date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702238#M253367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 12:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Date-calculation/m-p/702238#M253367</guid>
      <dc:creator />
      <dc:date>2014-09-16T12:30:26Z</dc:date>
    </item>
  </channel>
</rss>

