<?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: Set Analysis - Less Than Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617226#M227489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first place, can you share a sample app. But you can try as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&amp;gt; count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Reorder Point]&lt;/SPAN&gt;={"&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[On Hand Qty]&lt;/SPAN&gt;"} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&amp;gt; count({$&amp;lt;[On Hand Qty]={"&amp;lt;=[Reorder Point]"} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 05:29:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-25T05:29:22Z</dc:date>
    <item>
      <title>Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617222#M227485</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;I'm trying to create a total in a text box for items that need reordering, I have tried the following and constantly get a total of 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[On Hand Qty]={"&amp;lt;[Reorder Point]"} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is what I'm try to-do possible, alternatively I already have a chart that shows the records, is there anyway to count the rows in a chart and display this in a text object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 22:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617222#M227485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-24T22:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617223#M227486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know about your data, but the set analysis expression seems to be wrong&lt;/P&gt;&lt;P&gt;Somehow , you have to include values instead of the field &lt;/P&gt;&lt;P&gt;For instance&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({$&amp;lt;[On Hand Qty]={10,20} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if the values is bringing across from other field you could use "concat" function for example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i hope this clarifies a bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 23:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617223#M227486</guid>
      <dc:creator />
      <dc:date>2014-03-24T23:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617224#M227487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try indirect set analysis like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[On Hand Qty]=p([On Hand Qty]={"&amp;lt;[Reorder Point]"}[On Hand Qty])&amp;gt;}[2nd Item Number])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 23:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617224#M227487</guid>
      <dc:creator />
      <dc:date>2014-03-24T23:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617225#M227488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload a sample of your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 00:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617225#M227488</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-03-25T00:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617226#M227489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first place, can you share a sample app. But you can try as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&amp;gt; count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Reorder Point]&lt;/SPAN&gt;={"&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[On Hand Qty]&lt;/SPAN&gt;"} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&amp;gt; count({$&amp;lt;[On Hand Qty]={"&amp;lt;=[Reorder Point]"} &amp;gt;}&amp;nbsp; [2nd Item Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 05:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617226#M227489</guid>
      <dc:creator />
      <dc:date>2014-03-25T05:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617227#M227490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately none of the suggestions seem to work, also I'm unable to upload the app as it contains client data.&amp;nbsp; I can answer any questions regarding the app though so please let me know if I need to provide any further clarification.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 13:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617227#M227490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-25T13:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617228#M227491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I think this is not possible with set analysis, but you can use an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[On Hand Qty]&amp;lt;[Reorder Point], [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2nd Item Number]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try that expression in a text box,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 16:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617228#M227491</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-03-26T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617229#M227492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please try below exp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( {$&amp;lt;[2nd Item Number] = {"=[On Hand Qty]&amp;lt;[Reorder Point]"}&amp;gt;} DISTINCT [2nd Item Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 06:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617229#M227492</guid>
      <dc:creator />
      <dc:date>2014-03-27T06:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Less Than Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617230#M227493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had previously tried your suggested expression but had questioned the results, it looks like it was working after all but there are some inherent problems with the data itself.&amp;nbsp;&amp;nbsp; Since clarifying the correct data structure the expression is now working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Less-Than-Value/m-p/617230#M227493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-27T18:03:40Z</dc:date>
    </item>
  </channel>
</rss>

