<?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 sur champ if and in Francophones</title>
    <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110596#M1843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A faire dans le script pour moi :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;=-1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;AMTCUR_0,&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ecr_credit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pour le faire absolument dans le design, en plus de la solution d'Olivier j'utiliserai Alt()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alt(ecr_debit,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2018 14:28:24 GMT</pubDate>
    <dc:creator>christophebrault</dc:creator>
    <dc:date>2018-07-04T14:28:24Z</dc:date>
    <item>
      <title>Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110593#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour à tous,&lt;/P&gt;&lt;P&gt;Je vais essayé de faire au mieux pour être le plus claire possible ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dans ma table Ecriture d'un logiciel compta j'ai ces champs :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;AMTCUR : montant de la pièce&lt;/LI&gt;&lt;LI&gt;SNS : -1 indique le crédit et +1 le débit&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'effectue donc cette condition pour trier mes montant :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;=-1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;AMTCUR_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ecr_credit&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 18pt;"&gt;// Crédit&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;AMTCUR_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ecr_debit&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 18pt;"&gt;// Débit &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cependant j'aimerai afficher les montants vide qui sont marqué par un tiret du 6 comme celui ci : - par le chiffre 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je sais qu'il existe le and mais avec ces deux champs je ne sais pas comment agir a moins de recharger la table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avez vous une idée ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En vous remerciant d'avance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cdt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ci-dessous un screenshot : remplacer les tirets par un 0&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206955_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110593#M1840</guid>
      <dc:creator>ab92</dc:creator>
      <dc:date>2018-07-04T14:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110594#M1841</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;rangemax(0,ecr_debit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cdt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110594#M1841</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-04T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110595#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, je n'aurai pas pensé à ça !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110595#M1842</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2018-07-04T14:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110596#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A faire dans le script pour moi :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;=-1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;AMTCUR_0,&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ecr_credit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pour le faire absolument dans le design, en plus de la solution d'Olivier j'utiliserai Alt()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alt(ecr_debit,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110596#M1843</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2018-07-04T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110597#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah oui effectivement, j'ai toujours du mal à penser au script, c'est mieux&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110597#M1844</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-04T14:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110598#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sur le front-end, généralement quand il y a des tiré '-' qui apparaissent, ce que c'est un NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pour pouvoir traiter les null, tu pourrais essayer ceci;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(len(trim(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 24px;"&gt;SNS_0))=0,0,if(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=-1,&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;AMTCUR_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ecr_credit&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #008000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(len(trim(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 24px;"&gt;SNS_0))=0,0,if(&lt;/SPAN&gt;&lt;/SPAN&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;AMTCUR_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ecr_debit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110598#M1845</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-07-04T14:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110599#M1846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour à tous,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci pour votre aide et votre réactivité, effectivement je souhaite réaliser cela dans le script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci à Christophe pour ton aide...&lt;/P&gt;&lt;P&gt;Je ne connaissais pas l'instruction Alt() merci ca me permet d'ajouter une flèche à mon arc ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En voyant ton script c'est vrai que je me suis pris la tête pour rien c'est logique je partais avec un and dans l'instruction if...&lt;/P&gt;&lt;P&gt;Bonne fin de journée &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110599#M1846</guid>
      <dc:creator>ab92</dc:creator>
      <dc:date>2018-07-04T14:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110600#M1847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Merci Youssef pour ta réponse je viens d'essayer mais cela ne fonctionne pas ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Réponse &lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;SNS_0&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;=-1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;AMTCUR_0,&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ecr_credit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellente fin de journée à toi &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 15:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110600#M1847</guid>
      <dc:creator>ab92</dc:creator>
      <dc:date>2018-07-04T15:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Condition sur champ if and</title>
      <link>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110601#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;en tout cas quand tu aura a traiter les null, pense a essayer len(trim()) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellente fin de journée a toi aussi et a toute la communauté française ici présente &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 15:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Condition-sur-champ-if-and/m-p/110601#M1848</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-07-04T15:03:25Z</dc:date>
    </item>
  </channel>
</rss>

