<?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: Logic in Scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1691798#M593716</link>
    <description>&lt;P&gt;Maybe the following Design Blog post may provide an idea on how to get things into the buckets, but you will still need to attach those to the correct dates then, so the link after the specific one is the base blog URL you can use to search further for other posts that may help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2020 21:31:48 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-04-07T21:31:48Z</dc:date>
    <item>
      <title>Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1684044#M593714</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need when I select credit date between 1st till 15th of every month then I&amp;nbsp; should get value for&amp;nbsp; ' Packing slip date field' as 18th for each month and when I select date between 16th to 31st then I should get value against ' Packing slip date field'. as 3rd of every month&lt;/P&gt;&lt;P&gt;Few eg are given below:-(Please refer screenshot attached for more clarity)&lt;/P&gt;&lt;P&gt;when I select&lt;/P&gt;&lt;P&gt;1.credit date 2.12.2019&amp;nbsp; I should get date&amp;nbsp; as 18.12.2019 under field name 'Packing slip date'&lt;/P&gt;&lt;P&gt;2. Similarly if credit date is selected as 3.12.2019 then I should&amp;nbsp;get date&amp;nbsp; as 18.12.2019 under field name 'Packing slip date'&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. if credit date is selected as 6.1.2020 then&amp;nbsp; I should get date&amp;nbsp; as 18.1.2020 under field name 'Packing slip date'&lt;/P&gt;&lt;P&gt;4. and in else condition if I select credit date as&amp;nbsp; 30-12-2019 then&amp;nbsp;&amp;nbsp;I should get date&amp;nbsp; as&amp;nbsp; 03.1.2020 under field name 'Packing slip date'&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sakshi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 08:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1684044#M593714</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2020-03-12T08:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1684120#M593715</link>
      <description>&lt;P&gt;Day 18 is not even an option under packing_slip_date... Are you able to share this qvw?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 11:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1684120#M593715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-03-12T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1691798#M593716</link>
      <description>&lt;P&gt;Maybe the following Design Blog post may provide an idea on how to get things into the buckets, but you will still need to attach those to the correct dates then, so the link after the specific one is the base blog URL you can use to search further for other posts that may help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 21:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1691798#M593716</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-07T21:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1692415#M593717</link>
      <description>&lt;P&gt;Thanks...I was able to implement the same ....&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 14:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1692415#M593717</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2020-04-09T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1702108#M593718</link>
      <description>&lt;P&gt;Are you looking something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET DateFormat='DD.MM.YYYY';

tab1:
LOAD *, If(tmpD&amp;lt;16, MakeDate(tmpY, tmpM, 18), AddMonths(MakeDate(tmpY, tmpM, 3),1)) As [Packing slip date];
LOAD *, Day([Credit Note Date]) As tmpD, Month([Credit Note Date]) As tmpM, Year([Credit Note Date]) As tmpY;
LOAD * INLINE [
    Batch, Batch_No, Credit Note Date
    A, 2019-12-A, 02.12.2019
    A, 2020-02-A, 03.02.2020
    A, 2020-01-A, 06.01.2020
    A, 2020-02-A, 10.02.2020
    A, 2020-01-A, 13.01.2020
    B, 2019-12-B, 16.12.2019
    B, 2020-02-B, 17.02.2020
    B, 2020-01-B, 20.01.2020
    B, 2019-12-B, 23.12.2019
    B, 2020-02-B, 24.02.2020
    B, 2020-01-B, 27.01.2020
    B, 2019-12-B, 30.12.2019
];

Drop Field tmpY, tmpM, tmpD;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV51.PNG" style="width: 282px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33643i89D213F8039B0889/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV51.PNG" alt="commQV51.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1702108#M593718</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-14T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Logic in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1702114#M593719</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV52.PNG" style="width: 819px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33646iFF29791C30B4C995/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV52.PNG" alt="commQV52.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-in-Scripting/m-p/1702114#M593719</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-14T17:51:55Z</dc:date>
    </item>
  </channel>
</rss>

