<?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 First two weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-two-weeks/m-p/1450072#M802705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that uses a fiscal_month and fiscal_week and this will produce a monthly report and a weekly report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am now trying to do is to say the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // Show week and month report for first two weeks of the month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'X',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //else only show weekly report for the last 2 weeks of the month. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Y'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the condition to show the report working; i am just trying to figure out how to show the weekly and monthly for the first two weeks and the weekly for the 3 and 4 week.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>bobbydave</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>First two weeks</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-weeks/m-p/1450072#M802705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that uses a fiscal_month and fiscal_week and this will produce a monthly report and a weekly report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am now trying to do is to say the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // Show week and month report for first two weeks of the month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'X',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //else only show weekly report for the last 2 weeks of the month. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Y'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the condition to show the report working; i am just trying to figure out how to show the weekly and monthly for the first two weeks and the weekly for the 3 and 4 week.&lt;/P&gt;&lt;P&gt;Any ideas?&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/First-two-weeks/m-p/1450072#M802705</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: First two weeks</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-weeks/m-p/1450073#M802706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps any one of these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;Month = {'$(=Max(Month))'}, Week = {"&amp;gt;=$(=Min(Week)) &amp;lt;=$(Min(Week+1))"}&amp;gt;} Measure),'X', &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;Month = {'$(=Max(Month))'}, Week = {"&amp;gt;=$(=Max(Week)) &amp;lt;=$(Max(Week-1))"}&amp;gt;} Measure),'Y'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(Sum({&amp;lt;Month = {'$(=Max(month))'}, Week = {"&amp;gt;=$(=Min(Week)) &amp;lt;=$(Min(Week+1))"}&amp;gt;} Measure),'X', &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;Month = {'$(=Max(month))'}, Week = {"&amp;gt;=$(=Max(Week)) &amp;lt;=$(Max(Week-1))"}&amp;gt;} Measure),'Y')), Month, Week))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 09:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-weeks/m-p/1450073#M802706</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-10T09:34:51Z</dc:date>
    </item>
  </channel>
</rss>

