<?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: Condition on a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702604#M1060969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still on the free version of qlikview, waiting for the license in a few days/weeks &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 07:40:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-26T07:40:36Z</dc:date>
    <item>
      <title>Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702602#M1060967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my little problem.&lt;/P&gt;&lt;P&gt;I need to create a dashboard whith the different quotes made for a customer. Each quote has a specific and unique number but can have different variant noted v1, v2 etc.&lt;/P&gt;&lt;P&gt;Each variant has a status code from 0 to 4 (0 being in pending, 1 accepted, 2 discarded etc). When a customer accept one of the variant it's status change to 1 (since its accepted). However the other variant remain with the status from before (0 or 2 or 3 etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my dashboard I would like to show the quotes that are still pending. There is no need to show the variant pending but only the quotes. So when a variant has been accepted, the quote cannot appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using a condition on the field of the quote like if(STATUS &amp;lt;&amp;gt;'1', QUOTE_NUM) but it only shows quote that have one variant which its status is different from 1. The matter is that I have quotes with multiple variants and even if one variant has a status of '1', the quote is still appearing due to the fact that other variants have a status different from 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way of not showing these?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702602#M1060967</guid>
      <dc:creator />
      <dc:date>2014-09-26T07:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702603#M1060968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share QCW and Sample Data and Condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702603#M1060968</guid>
      <dc:creator>ychaitanya</dc:creator>
      <dc:date>2014-09-26T07:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702604#M1060969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still on the free version of qlikview, waiting for the license in a few days/weeks &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702604#M1060969</guid>
      <dc:creator />
      <dc:date>2014-09-26T07:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702605#M1060970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use if the Status contains like 013&lt;/P&gt;&lt;P&gt;if (purgechar(yourstatus,'0234')&amp;lt;&amp;gt;'1',QUOTE_NUM)&lt;/P&gt;&lt;P&gt;if there are Separators you Need to add the separator as well&lt;/P&gt;&lt;P&gt;if (purgechar(yourstatus,'0234;'&amp;lt;&amp;gt;'1', QUOTE_NUM)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702605#M1060970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T07:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702606#M1060971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it seems to work well, but in another table I wold like to show only the quotes that have been accepted. I transformed your formula into &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if (purgechar(yourstatus,'0234')='1',QUOTE_NUM) and my problem comes back. The only quotes that appears have only one variant that has been accepted. This formula seems to reject all the quotes with multiple variants &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702606#M1060971</guid>
      <dc:creator />
      <dc:date>2014-09-26T08:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702607#M1060972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you show example when it Fails?&lt;/P&gt;&lt;P&gt;the purgechar eliminates all given characters (and it works with the &amp;lt;&amp;gt; '1')&lt;/P&gt;&lt;P&gt;a Status of '01234' will Keep '1' after purgechar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702607#M1060972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702608#M1060973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67730_test.png" style="width: 620px; height: 147px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So on more thant 800 quotes, only 4 quotes appears to be accepted which is not plausible. When I looked at the different quotes they only have one variant (which is the accepted one by the way). Therefore using this test, it rejects all the other quotes that have a variant equals to 0, 2, 3 or 4 &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702608#M1060973</guid>
      <dc:creator />
      <dc:date>2014-09-26T08:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702609#M1060974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you append an example?&lt;/P&gt;&lt;P&gt;or try to figure it out by yourself by craeting&amp;nbsp; new TextBox&lt;/P&gt;&lt;P&gt;with the Definition "=purgechar('1','0234') where&amp;nbsp; you define the Status where it does not work in the&lt;/P&gt;&lt;P&gt;first Parameter. how does JD_STATUS_DE_SUIVI Looks like in the cases where&lt;/P&gt;&lt;P&gt;purgechar doesnot work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 09:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702609#M1060974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702610#M1060975</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;First of all - the fact that you are on personal edition is no obstacle to uploading your model or a sample thereof. Click Use advanced editor and upload the qvw. Any users with licenses can then open your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, during your load, you need to create a flag against the quote number (not the version number). Something like this after loading the version data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AcceptFlags:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD QuoteNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WildMatch(Concat(Status), '*1*'), 1, 0) As AcceptedFlag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group By QuoteNo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(change this to match your field names and main data table name - this is why its simpler if you upload a sample)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use AcceptedFlag in a set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({&amp;lt;AcceptedFlag = {'0'}&amp;gt;} .....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 09:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702610#M1060975</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-09-26T09:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Condition on a field</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702611#M1060976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your idea is great, I was just thinking about concatenating the different versions together &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my file and the datas for the quotes, just look in the first tab, the other are not running yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 09:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-a-field/m-p/702611#M1060976</guid>
      <dc:creator />
      <dc:date>2014-09-26T09:35:20Z</dc:date>
    </item>
  </channel>
</rss>

