<?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: Utilisation du if in Francophones</title>
    <link>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1541120#M14306</link>
    <description>&lt;P&gt;Bonjour&lt;/P&gt;&lt;P&gt;Essaye ceci&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(wildmatch(([N° Commande GCF],’0’,’Non GCF’,’*C*’),’GAEL’,’EC’) as [Mod_inscription],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ou ceci&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(len([N° Commande GCF])=0 OR[N° Commande GCF]= 'Non GCF' OR [N° Commande GCF]='*C*','GAEL', 'EC') as [Mod_inscription],&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 16:47:23 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2019-02-07T16:47:23Z</dc:date>
    <item>
      <title>Utilisation du if</title>
      <link>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1540762#M14303</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;Je veux créer un champ conditionnel " Mod_inscription" avec les valeurs suivantes :&lt;/P&gt;&lt;P&gt;- si le N&lt;SPAN&gt;°&lt;/SPAN&gt;&amp;nbsp;de commande est vide, égal à 'Non GCF' ou commençant par C, je veux créer un champ Mod_inscription avec la valeur "GAEL"&lt;/P&gt;&lt;P&gt;- sinon , la valeur du champ est "EC" .&lt;/P&gt;&lt;P&gt;J'ai créé la ligne de code suivante :&lt;/P&gt;&lt;P&gt;if (len([N° Commande GCF])=0, 'GAEL', if ([N° Commande GCF]= 'Non GCF', 'GAEL', if ([N° Commande GCF]='*C*', 'GAEL', 'EC'))) as [Mod_inscription],&lt;/P&gt;&lt;P&gt;Si le champs &lt;SPAN&gt;N° Commande GCF&amp;nbsp;&lt;/SPAN&gt;est vide ou a pour valeur&amp;nbsp;'Non GCF" ça fonctionne bien et il me ramène la valeur GAEL, mais si mon numéro de commande commence par C, il me met EC au lieu de GAEL.&lt;/P&gt;&lt;P&gt;Pouvez vous m'aider?&lt;/P&gt;&lt;P&gt;Merci&lt;/P&gt;&lt;P&gt;Anne-Flore Guillard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 10:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1540762#M14303</guid>
      <dc:creator>afguillard</dc:creator>
      <dc:date>2019-02-07T10:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Utilisation du if</title>
      <link>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1541120#M14306</link>
      <description>&lt;P&gt;Bonjour&lt;/P&gt;&lt;P&gt;Essaye ceci&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(wildmatch(([N° Commande GCF],’0’,’Non GCF’,’*C*’),’GAEL’,’EC’) as [Mod_inscription],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ou ceci&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(len([N° Commande GCF])=0 OR[N° Commande GCF]= 'Non GCF' OR [N° Commande GCF]='*C*','GAEL', 'EC') as [Mod_inscription],&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1541120#M14306</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2019-02-07T16:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Utilisation du if</title>
      <link>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1541349#M14310</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;Pour tester si le N) de commande commence par C tu peux juste faire left(&lt;SPAN&gt;[N° Commande GCF]&lt;/SPAN&gt;,1)='C'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 08:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Utilisation-du-if/m-p/1541349#M14310</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2019-02-08T08:59:02Z</dc:date>
    </item>
  </channel>
</rss>

