<?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: Need help on app developpement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910141#M316033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I was trying to use it to filter out lines that didnt have &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;expression [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Stock Value v1],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but it didnt work so I did it in all expressions with &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Stock Value v1],&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;expression &lt;/EM&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;), and under presentation ticked suppress zero values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 08:45:11 GMT</pubDate>
    <dc:creator>qumniusomnius</dc:creator>
    <dc:date>2015-07-29T08:45:11Z</dc:date>
    <item>
      <title>Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910137#M316029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I a facing several issues trying to build a specific app :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database i am using is a part numbers inventory list showing inventory details such as, stock qty, past consumption details, future usage, cost, etc...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93621_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;i need to classify part numbers based on their consumtion :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category 1 should be all the part numbers for which y1 = 0 AND future_usage = 0. Thus, as per my test database, part number C should be classified this way for a stock value of 36€.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/93623_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this one, no particular problem to find out&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/93622_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Then it gets more complicated :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category 2 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;should full fill several condirions :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Condition 1 : Variation between y2 and y1 is down more than 50 %. For this i created a value in the script named [Variation conso] that works fine&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/93624_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;in my test database, part number A, C and E should be classified this way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;First issue is that i can't make this in a chart I was thinking to use set analysis (Sum ({$ &amp;lt;[Variation Conso] &amp;lt;= {"-0.5"}&amp;gt;}(tot_cost))) but for some reason it does not work.Below is the output of such a formulas : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Capture.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/93625_Capture.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Although what i am looking for is : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/93627_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Condition 2 : A part number classified in category 1 can't be classified in category 2. in the example part number C is already classified in category 1 so it has not to be taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the chart should looks like : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/93628_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it gets tricky : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What has to be taken into account as a stock value is not the qty in stock by the unit cost but the qty in stock minus the future_usage multiplied by the unit cost. The thing is now i have negative qties that have to be replaced by zero (probably using a if condition ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart output is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-12" src="https://community.qlik.com/legacyfs/online/93651_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;although it should be : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/93644_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom line, final chart should then be : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-10 jive-image" src="https://community.qlik.com/legacyfs/online/93649_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;or :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-11" src="https://community.qlik.com/legacyfs/online/93650_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to sum up : 3 issues : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How to take into account in a chart only part numbers for which variable &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Variation Conso] &lt;/SPAN&gt;is smaller or equal to 0,5 using set analysis ?&lt;/LI&gt;&lt;LI&gt;How not to take into account part numbers in category 2 that are classified under category 1 ?&lt;/LI&gt;&lt;LI&gt;How to replace all negative values of variable stock value v2 by zero ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those who want to help, i attached qvw as well as database under excel format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 13:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910137#M316029</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-07-22T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910138#M316030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the first expression you have problem with: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Sum ({$ &amp;lt;[Variation Conso] &amp;lt;= {"-0.5"}&amp;gt;}(tot_cost))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;should be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Sum ({$ &amp;lt;[Variation Conso] = {"&amp;lt;-0.5"}&amp;gt;}(tot_cost))) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get rid of the rows you have to add:&lt;/P&gt;&lt;P&gt;if([Stock Value v1],&amp;nbsp; &lt;EM&gt;expression &lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to all other expressions&lt;/P&gt;&lt;P&gt;for example: if([Stock Value v1], Num ([Variation Conso]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to exclude values in first table simply substract them in the expression:&lt;/P&gt;&lt;P&gt;=(Sum ({ &amp;lt;[Variation Conso] = {"&amp;lt;-0,5"}&amp;gt;}(tot_cost))) -(Sum ({$ &amp;lt;[y1] = {0},[future_usage]= {0}&amp;gt;}(tot_cost)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps, see the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 14:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910138#M316030</guid>
      <dc:creator>qumniusomnius</dc:creator>
      <dc:date>2015-07-22T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910139#M316031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply Borja, i was off for a few days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at your qvw by today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910139#M316031</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-07-28T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910140#M316032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Borja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankfs for the help. One question for you : what's the use of ticking the criteria "Activate condition" (see print screen below). I guess it is links with the expression &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if([Stock Value v1],&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;expression &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) although &lt;/SPAN&gt;It seems to have no impact on the charts wether i tick it or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94373_Capture.JPG" style="height: 436px; width: 620px;" /&gt;&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;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 07:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910140#M316032</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-07-29T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910141#M316033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I was trying to use it to filter out lines that didnt have &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;expression [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Stock Value v1],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but it didnt work so I did it in all expressions with &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Stock Value v1],&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;expression &lt;/EM&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;), and under presentation ticked suppress zero values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 08:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910141#M316033</guid>
      <dc:creator>qumniusomnius</dc:creator>
      <dc:date>2015-07-29T08:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on app developpement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910142#M316034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok that does make sence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Borja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 09:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-app-developpement/m-p/910142#M316034</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-07-29T09:48:44Z</dc:date>
    </item>
  </channel>
</rss>

