<?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 VENDOR CODE EXISTS IN CONTINUES THREE MONTH in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VENDOR-CODE-EXISTS-IN-CONTINUES-THREE-MONTH/m-p/1526313#M748060</link>
    <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I Stuck a requirement.i want to check vendor code exists in continues three months.&lt;/P&gt;&lt;P&gt;Requirement is what&lt;/P&gt;&lt;P&gt;If my vendor code come in continues three month then it show consistent otherwise inconsistent.&lt;/P&gt;&lt;P&gt;Means vendor code 101 if come in &lt;STRONG&gt;apr, may, jun&lt;/STRONG&gt; then consistent if this code miss any one month like may then it non consistent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:39:37 GMT</pubDate>
    <dc:creator>GauravKumar1</dc:creator>
    <dc:date>2024-11-16T21:39:37Z</dc:date>
    <item>
      <title>VENDOR CODE EXISTS IN CONTINUES THREE MONTH</title>
      <link>https://community.qlik.com/t5/QlikView/VENDOR-CODE-EXISTS-IN-CONTINUES-THREE-MONTH/m-p/1526313#M748060</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I Stuck a requirement.i want to check vendor code exists in continues three months.&lt;/P&gt;&lt;P&gt;Requirement is what&lt;/P&gt;&lt;P&gt;If my vendor code come in continues three month then it show consistent otherwise inconsistent.&lt;/P&gt;&lt;P&gt;Means vendor code 101 if come in &lt;STRONG&gt;apr, may, jun&lt;/STRONG&gt; then consistent if this code miss any one month like may then it non consistent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VENDOR-CODE-EXISTS-IN-CONTINUES-THREE-MONTH/m-p/1526313#M748060</guid>
      <dc:creator>GauravKumar1</dc:creator>
      <dc:date>2024-11-16T21:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR CODE EXISTS IN CONTINUES THREE MONTH</title>
      <link>https://community.qlik.com/t5/QlikView/VENDOR-CODE-EXISTS-IN-CONTINUES-THREE-MONTH/m-p/1526323#M748061</link>
      <description>&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the following:&lt;/P&gt;&lt;P&gt;Use the expression:&amp;nbsp;if(count({&amp;lt;Year_Month,Date_Num={"&amp;gt;=$(=Num(AddMonths(Max(Date_Num),-2)))&amp;lt;=$(=Max(Date_Num))"}&amp;gt;}Vendor)=3,'Consistent','Inconsistent')&lt;/P&gt;&lt;P&gt;in a chart, using only the vendor code as dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will count when the code is used in the last three months and if it's equal to 3, its consistent, since it counts the vendor code for the past last three months.&lt;/P&gt;&lt;P&gt;If not, it excludes the vendor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As example, it gives the following for the bellow load script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sample.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3039i3EA420807D824FF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="sample.png" alt="sample.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load script is as follows:&lt;/P&gt;&lt;P&gt;dummy:&lt;BR /&gt;Load&lt;BR /&gt;*,&lt;BR /&gt;Num(Year_Month) as Date_Num;&lt;BR /&gt;Load&lt;BR /&gt;Vendor,&lt;BR /&gt;Date#(Month,'YYYY-MM') as Year_Month;&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;Vendor,Month&lt;BR /&gt;A,2018-10&lt;BR /&gt;A,2018-11&lt;BR /&gt;A,2018-12&lt;BR /&gt;A,2019-01&lt;BR /&gt;B,2018-10&lt;BR /&gt;B,2019-01&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And attached the app i used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 12:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VENDOR-CODE-EXISTS-IN-CONTINUES-THREE-MONTH/m-p/1526323#M748061</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2019-01-04T12:22:59Z</dc:date>
    </item>
  </channel>
</rss>

