<?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: Exclude Max value product using script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565584#M441663</link>
    <description>&lt;P&gt;I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 186px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9537i3AE0F93DCFDBC8EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 07:02:54 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2019-04-05T07:02:54Z</dc:date>
    <item>
      <title>Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565553#M441654</link>
      <description>&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;It is quite simple but m getting confuse for this in scripts. I want to exclude max value product (D) from my list to show in straight table, I am extracting below data from excel sheet.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PRODUCT&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Expected output&amp;nbsp; &amp;nbsp;:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PRODUCT&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565553#M441654</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2024-11-16T03:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565561#M441657</link>
      <description>&lt;P&gt;Max in aggregate or in individual value?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565561#M441657</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565565#M441658</link>
      <description>&lt;P&gt;Individual value.&lt;/P&gt;&lt;P&gt;If possible let me know both.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565565#M441658</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T06:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565573#M441659</link>
      <description>&lt;P&gt;This?&lt;/P&gt;&lt;PRE&gt;T1:
Load * Inline [
PRODUCT,	Value
A,	10
C,	20
D,	30
E,	40
E,	50
D,	90];

Load
	FirstSortedValue(PRODUCT, -Value) as MaxPROD
Resident T1 ;
T2:	
NoConcatenate&lt;BR /&gt;Load 
	* 
Resident T1 Where Not Exists(MaxPROD,PRODUCT);		
Drop Table T1;
Drop Field MaxPROD;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565573#M441659</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T07:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565580#M441660</link>
      <description>Thanks Tresesco for reply.&lt;BR /&gt;But tt is excluding Product 'E' also.</description>
      <pubDate>Fri, 05 Apr 2019 07:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565580#M441660</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T07:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565581#M441661</link>
      <description>&lt;P&gt;Hi Shubham,&lt;/P&gt;&lt;P&gt;You can acheive the same from UI a well, using the same logic mentioned by tressesco.&lt;/P&gt;&lt;P&gt;Ref attached.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565581#M441661</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-04-05T07:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565582#M441662</link>
      <description>Sorry Jyothish, I cannot open qvw here.</description>
      <pubDate>Fri, 05 Apr 2019 07:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565582#M441662</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T07:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565584#M441663</link>
      <description>&lt;P&gt;I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 186px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9537i3AE0F93DCFDBC8EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565584#M441663</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565587#M441664</link>
      <description>&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;T1:&lt;BR /&gt;Load RowNo() as Si,&lt;BR /&gt;PRODUCT,&lt;BR /&gt;Value;&lt;BR /&gt;Load * Inline [&lt;BR /&gt;PRODUCT, Value&lt;BR /&gt;A, 10&lt;BR /&gt;C, 20&lt;BR /&gt;D, 30&lt;BR /&gt;E, 40&lt;BR /&gt;E, 50&lt;BR /&gt;D, 90];&lt;/P&gt;&lt;P&gt;In UI: Create a straight chart:&lt;/P&gt;&lt;P&gt;Dim1: Si&lt;/P&gt;&lt;P&gt;Dim2.&amp;nbsp;=if(PRODUCT&amp;lt;&amp;gt;FirstSortedValue(total PRODUCT, -Value),PRODUCT)&lt;/P&gt;&lt;P&gt;expression:Sum(Value)&lt;/P&gt;&lt;P&gt;You can hide Si field from presentation tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 461px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9539i299A3AF3C467571B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565587#M441664</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-04-05T07:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565601#M441665</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25528"&gt;@jyothish8807&lt;/a&gt;&amp;nbsp;, working absolutely fine but I want to do it in script.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;, it is working for table box but when I am taking PRODUCT as dimension in straight table it is not showing 'E'.&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="xx.png" style="width: 334px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9541i976C20DC2FE7E22D/image-size/large?v=v2&amp;amp;px=999" role="button" title="xx.png" alt="xx.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565601#M441665</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565608#M441666</link>
      <description>&lt;P&gt;Subham,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is pretty obvious. You are doing a basic mistake. E has two values and when you use '=Value' expression it would not be able to two values, you should rather use &lt;STRONG&gt;Sum(Value)&lt;/STRONG&gt; as expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to Like and close the thread.&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://community.qlik.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565608#M441666</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T07:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565660#M441671</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;, I tried it before also still shows the same.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="xx.png" style="width: 330px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9547iE224F4FF12F661B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="xx.png" alt="xx.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 08:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565660#M441671</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T08:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565661#M441672</link>
      <description>&lt;P&gt;There seems to be an "if" condition on your dimension, can try removing it and check ? The solution from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp; should work&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 08:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565661#M441672</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-04-05T08:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Max value product using script</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565662#M441673</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25528"&gt;@jyothish8807&lt;/a&gt;&amp;nbsp;, Ya my mistake, Sorry.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;, your solution working fine.&lt;/P&gt;&lt;P&gt;THanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25528"&gt;@jyothish8807&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 08:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Max-value-product-using-script/m-p/1565662#M441673</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-05T08:48:10Z</dc:date>
    </item>
  </channel>
</rss>

