<?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: Help in Code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840670#M295452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another solution could be Intervalmatch():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88608_QlikCommunity_Thread_167255_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88609_QlikCommunity_Thread_167255_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic5.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88611_QlikCommunity_Thread_167255_Pic5.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14337151765006995 jive_text_macro" jivemacro_uid="_14337151765006995"&gt;
&lt;P&gt;tabShareLevel:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumberHash128(MinShare, MaxShare) as %ShareLevelID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaxShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(ShareLevel,RecNo()) as ShareLevel&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare, MaxShare, ShareLevel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, 999, Silver&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000, 1999, Gold&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000, 3000, Platinum&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabShareGroup:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as Key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Rand()*3000) as ShareNUMBER&lt;/P&gt;
&lt;P&gt;AutoGenerate 30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabShareGroup)&lt;/P&gt;
&lt;P&gt;IntervalMatch (ShareNUMBER)&lt;/P&gt;
&lt;P&gt;LOAD MinShare, MaxShare&lt;/P&gt;
&lt;P&gt;Resident tabShareLevel;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabShareGroup)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaxShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(MinShare, MaxShare) as %ShareLevelID&lt;/P&gt;
&lt;P&gt;Resident tabShareGroup;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Fields MinShare, MaxShare From tabShareGroup;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jun 2015 22:14:20 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-06-07T22:14:20Z</dc:date>
    <item>
      <title>Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840662#M295444</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 need help please.&lt;/P&gt;&lt;P&gt;in pivote table there is one column share values it contain values 0-3000 values.&lt;/P&gt;&lt;P&gt;i need to divide this values into three category&amp;nbsp; as silver,gold,platinum&lt;/P&gt;&lt;P&gt;this are shown in list box ,when i click on silver i should show only values related to &lt;/P&gt;&lt;P&gt;it like 0-1000.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; this is My code is not working &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share Group:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key1, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count(ShareNUMBER)&amp;gt;2000,'platinum',&lt;/P&gt;&lt;P&gt;if(count(ShareNUMBER)&amp;lt;1000 and count(ShareNUMBER)&amp;gt;=2000 ,'gold',&lt;/P&gt;&lt;P&gt;if(count(ShareNUMBER)&amp;lt;1000 ,'Silver'))) as Parameternew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Share value Group by&amp;nbsp; Key1; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 07:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840662#M295444</guid>
      <dc:creator />
      <dc:date>2015-06-07T07:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840663#M295445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load Key1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;2000,'platinum',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;lt;1000 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;=2000 ,'gold',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;lt;1000 ,'Silver'))) as Parameternew;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Key1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(ShareNUMBER) as Count&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Resident Share value Group by&amp;nbsp; Key1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 07:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840663#M295445</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-06-07T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840664#M295446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand it, there are already values of 0-3000 in the field ShareNUMBER, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore this code should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Share Group:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Key1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;if(ShareNUMBER &amp;gt;= 2000, 'platinum',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ShareNUMBER &amp;lt; 2000 and ShareNUMBER &amp;gt;= 1000 ,'gold',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ShareNUMBER &amp;lt; 1000 ,'Silver'))) as Parameternew&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Share value];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I deleted the Group By, because it didn't make any sense for me.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I also corrected the if statement, now it's platinum (2000-3000), gold (1000-2000) and silver (less than 1000)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You also need to put the table names separated by blanks into []&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 07:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840664#M295446</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2015-06-07T07:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840665#M295447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide some sample data and your expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 08:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840665#M295447</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-07T08:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840666#M295448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your second condition is the wrong way round and will never be true. It should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;2000,'platinum',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;1000 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;lt;=2000&lt;/STRONG&gt; ,'gold',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;lt;=1000 ,'Silver'))) as Parameternew;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;although it could be slightly simplified&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;2000, 'platinum',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;Count&lt;/SPAN&gt;&amp;gt;1000, 'gold', 'silver')) as Parameternew;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 09:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840666#M295448</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-07T09:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840667#M295449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="excel pic.png" class="jive-image image-1" src="/legacyfs/online/88601_excel pic.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 09:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840667#M295449</guid>
      <dc:creator />
      <dc:date>2015-06-07T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840668#M295450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;it is working but iam getting all vales like&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count&lt;/SPAN&gt;&amp;gt;=2000,'platinum',&amp;nbsp; ( result is 0-3000 values)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count&lt;/SPAN&gt;&amp;lt;1000 and &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count&lt;/SPAN&gt;&amp;gt;=2000 ,'gold',&amp;nbsp; ( result is 0-2000)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count&lt;/SPAN&gt;&amp;lt;1000 ,'Silver'))) as Parameternew; (result 0-1000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840668#M295450</guid>
      <dc:creator />
      <dc:date>2015-06-07T10:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840669#M295451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly post the sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840669#M295451</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-06-07T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840670#M295452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another solution could be Intervalmatch():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88608_QlikCommunity_Thread_167255_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88609_QlikCommunity_Thread_167255_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167255_Pic5.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88611_QlikCommunity_Thread_167255_Pic5.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14337151765006995 jive_text_macro" jivemacro_uid="_14337151765006995"&gt;
&lt;P&gt;tabShareLevel:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumberHash128(MinShare, MaxShare) as %ShareLevelID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaxShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(ShareLevel,RecNo()) as ShareLevel&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare, MaxShare, ShareLevel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, 999, Silver&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000, 1999, Gold&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000, 3000, Platinum&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabShareGroup:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as Key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Rand()*3000) as ShareNUMBER&lt;/P&gt;
&lt;P&gt;AutoGenerate 30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabShareGroup)&lt;/P&gt;
&lt;P&gt;IntervalMatch (ShareNUMBER)&lt;/P&gt;
&lt;P&gt;LOAD MinShare, MaxShare&lt;/P&gt;
&lt;P&gt;Resident tabShareLevel;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabShareGroup)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaxShare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(MinShare, MaxShare) as %ShareLevelID&lt;/P&gt;
&lt;P&gt;Resident tabShareGroup;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Fields MinShare, MaxShare From tabShareGroup;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 22:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840670#M295452</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-07T22:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840671#M295453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u Marco its working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 05:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Code/m-p/840671#M295453</guid>
      <dc:creator />
      <dc:date>2015-06-08T05:27:43Z</dc:date>
    </item>
  </channel>
</rss>

