<?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: Problem with Min() function in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627916#M476571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.UNIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*IW"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.THICKNESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 11:53:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-26T11:53:29Z</dc:date>
    <item>
      <title>Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627913#M476568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59543_Capture.PNG.png" style="width: 620px; height: 125px;" /&gt;&lt;/P&gt;&lt;P&gt;From the above table I sum data on the UG1 layer with total thickness, total Unit thickness and Min thickness where UNIT ends with IW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;results should be:&lt;/P&gt;&lt;P&gt;Thickness&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit IW Thickness&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Minimum IW thickness&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; 0.15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Minimum IW thickness&lt;/STRONG&gt; not correct as I get is &lt;STRONG&gt;0.123&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my expression is &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;LITH.UNIT&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"*IW"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;LITH.THICKNESS&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;LITH.PACKAGE&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627913#M476568</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627914#M476569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry expression incorrect I used.&lt;/P&gt;&lt;P&gt;=min&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.UNIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*IW"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.THICKNESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.PACKAGE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627914#M476569</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627915#M476570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhardus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you get the Unit IW Thickness?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627915#M476570</guid>
      <dc:creator>MWiciok</dc:creator>
      <dc:date>2014-05-26T11:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627916#M476571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.UNIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*IW"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.THICKNESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627916#M476571</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627917#M476572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=min({$ &amp;lt;UNIT={'*IW'}&amp;gt;} THICKNESS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the minimum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627917#M476572</guid>
      <dc:creator>MWiciok</dc:creator>
      <dc:date>2014-05-26T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627918#M476573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using it chnaged the result from&amp;nbsp; &lt;STRONG&gt;0.123 &lt;/STRONG&gt;to&lt;STRONG&gt; 0.05 &lt;/STRONG&gt;and the lowest thickness is&lt;STRONG&gt; 0.15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.UNIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'*IW'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LITH.THICKNESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 12:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627918#M476573</guid>
      <dc:creator />
      <dc:date>2014-05-26T12:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627919#M476574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you could attach a QV file? I tried to rebuild your table and I got 0.15 as the Minimum...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 12:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627919#M476574</guid>
      <dc:creator>MWiciok</dc:creator>
      <dc:date>2014-05-26T12:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627920#M476575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matthias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 12:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627920#M476575</guid>
      <dc:creator />
      <dc:date>2014-05-26T12:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627921#M476576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just added listboxes so you can see the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression =min({$&amp;lt;UNIT={'*IW'}&amp;gt;} THICKNESS) calculates the minimum thickness of possible "THICKNESS"-values, where the unit ends on IW. Is this what you want? Or do you want to let the user define which minimum to calculate by selecting the different parameters in the other fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 12:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627921#M476576</guid>
      <dc:creator>MWiciok</dc:creator>
      <dc:date>2014-05-26T12:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627922#M476577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i filter for&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59545_Capture3.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;the textbox shows 0.05 and not 0.15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627922#M476577</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627923#M476578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I got your problem: Thickness is a calculated Expression. See attached file and the second TextBox for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: I forgot to use Set Expression to hard filter on *IW. So you have to add this if you want,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627923#M476578</guid>
      <dc:creator>MWiciok</dc:creator>
      <dc:date>2014-05-26T13:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Problem with Min() function in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627924#M476579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Matthias, thanks for your patience.&lt;/P&gt;&lt;P&gt;It works perfect, i did not Aggr on the correct expresions originally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Min-function-in-expression/m-p/627924#M476579</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:37:07Z</dc:date>
    </item>
  </channel>
</rss>

