<?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: Check if a certain never exist for a specific field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107485#M915390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both operate at different levels:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3214"&gt;Logical Inference and Aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 16:52:26 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-20T16:52:26Z</dc:date>
    <item>
      <title>Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107479#M915384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to check if an value exist in a column. I have the expression : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;NetWorkDays( &lt;/P&gt;&lt;P&gt;Min(if(Left(matricule,1)='S', date_action)), Max( if([Type de Contact]&amp;lt;&amp;gt;'P91' or [Type de Contact]&amp;lt;&amp;gt;'P92' or [Type de Contact]&amp;lt;&amp;gt;'P93' or [Type de Contact]&amp;lt;&amp;gt;'P98',date_action))),[Numéro de Contrat]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calculating the average delay for a "numéro de contrat" between the last action of a "matricule" which begin by S and the last action where the "type de contact" is different of P91, P92 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I want the numéro de contrat where the type de contact is never to P91,P92 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exemple here I have the right delay between 1 oct and 18 nov (35 days) but it's false because this "numero de contrat" is finalised with the P91 the 18 nov also. I only want the delay if P91,P92 ... never exist for this "Numéro de Contrat". So like that I know if the contract is not finalised and since when.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="captureExist.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125098_captureExist.PNG" style="height: 92px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107479#M915384</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107480#M915385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your max() to use set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Max({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;[Type de Contact] -= {P91,P92,P93,P98}&lt;/SPAN&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;[Numéro de Contrat])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 17:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107480#M915385</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-19T17:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107481#M915386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made something easier : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;NetWorkDays( &lt;/P&gt;&lt;P&gt;Min(if(Left(matricule,1)='S', date_action)), Date(Now())),[Numéro de Contrat])) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I only want the "Numéro de Contrat" where P91,P92 ... never appear for this "Numéro de Contract", and I tried the set analysis and it does the same than my previous if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 08:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107481#M915386</guid>
      <dc:creator />
      <dc:date>2016-05-20T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107482#M915387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107482#M915387</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-20T16:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107483#M915388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg( &lt;STRONG&gt;{&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Numéro de Contrat] = e({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;[Type de Contact] = {P91,P92,P93,P98}&lt;/SPAN&gt;&amp;gt;})&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NetWorkDays(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Min(if(Left(matricule,1)='S', date_action)), Date(Now())),[Numéro de Contrat]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;edit: Maybe add the set expression also to the Min() function&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;edit 2:&amp;nbsp; reference: &lt;A href="https://community.qlik.com/qlik-blogpost/4424"&gt;Excluding values in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107483#M915388</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-20T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107484#M915389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked perfectly thank you ! &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;What's the difference between set expression with {} and an if condition ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107484#M915389</guid>
      <dc:creator />
      <dc:date>2016-05-20T16:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a certain never exist for a specific field</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107485#M915390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both operate at different levels:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3214"&gt;Logical Inference and Aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-certain-never-exist-for-a-specific-field/m-p/1107485#M915390</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-20T16:52:26Z</dc:date>
    </item>
  </channel>
</rss>

