<?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: Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489226#M480784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, could you please upload a sample document on this? Remove all confidential data (use scramble if needed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 09:24:08 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2013-11-07T09:24:08Z</dc:date>
    <item>
      <title>Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489221#M480779</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;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;Je souhaite savoir la maintenance facturée par client &lt;/SPAN&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;entre la date anniversaire du contrat - 1 an (ici toutes les factures faites entre le 30/11/2012 et le 30/11/2013).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;Sachant que la date anniversaire d'un client à un autre est différente.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;Set analysis pour le montant facturé: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;=sum({$&amp;lt;DATE_FACTURE={???????},NATURE={'FAC'&amp;gt;} [MONTANT_HT])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je n'ai aucune idée sur la formulation....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Merci de votre aide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;Loic Masson&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489221#M480779</guid>
      <dc:creator />
      <dc:date>2013-11-06T14:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489222#M480780</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;I would try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;EM&gt;=sum({$&amp;lt;DATE_FACTURE="&amp;lt;=$(=date([Date fin])))&amp;gt;=$(=date([Date debut])))"},NATURE={'FAC'&amp;gt;} [MONTANT_HT])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #656669; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 15:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489222#M480780</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-06T15:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489223#M480781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Merci de votre réponse mais cela ne marche pas...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je pense qu'il serait préférable d'avoir la maintenance facturé en prenant en compte la date début du contrat mais quand je teste avec le set analysis ci dessous, j'ai 0!!!&lt;/P&gt;&lt;P&gt;GL_DATEPIECE= Date de facture&lt;/P&gt;&lt;P&gt;WPC_DATELIBRE1= date de début du contrat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;GL_DATEPIECE={"&amp;gt; = $ (= date ([WPC_DATELIBRE1]))"},NATURE={''FAC'}&amp;gt;} [GL_MONTANTHT])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci de votre aide...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 15:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489223#M480781</guid>
      <dc:creator />
      <dc:date>2013-11-06T15:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489224#M480782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic, I do not know if the problem is that a ')' is missing on your expression. &lt;/P&gt;&lt;P&gt;Both date fields are in the same format, aren't they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, Helvetica, sans-serif; color: #656669;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;=sum({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GL_DATEPIECE&lt;/SPAN&gt;={"&amp;gt;=$(=date([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WPC_DATELIBRE1&lt;/SPAN&gt;])))"},NATURE={'FAC'&amp;gt;} [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GL_MONTANTHT&lt;/SPAN&gt;])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, Helvetica, sans-serif; color: #656669;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, Helvetica, sans-serif; color: #656669;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, Helvetica, sans-serif; color: #656669;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 16:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489224#M480782</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-06T16:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489225#M480783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;merci pour votre réponse mais ce n'est pas encore OK!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai changé de stratégie, j'ai concaténé la date de facture en&amp;nbsp; ANNE_MOIS et j'ai fais la même chose pour ma date de début de contrat en ANNE_MOIS_DEBUT, j'ai donc le set analysis suivant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;ANNE_MOIS={"&amp;gt;=$([ANNE_MOIS_DEBUT])"},NATURE={'FAC'}&amp;gt;} [GL_MONTANTHT])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dans la PJ, la plus petite valeur du champ ANNE_MOIS_DEBUT est 201301 mais il m'affiche pourtant des valeurs pour le champ ANNE_MOIS de 201201!!!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="données.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/48676_données.jpg" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;Je ne comprends pas!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MErci de votre aide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 09:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489225#M480783</guid>
      <dc:creator />
      <dc:date>2013-11-07T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489226#M480784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, could you please upload a sample document on this? Remove all confidential data (use scramble if needed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 09:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489226#M480784</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-07T09:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489227#M480785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comment je peux vous envoyer le fichier? je ne peux qu'insérer une image, une vidéo ou un lien...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 11:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489227#M480785</guid>
      <dc:creator />
      <dc:date>2013-11-07T11:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489228#M480786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the "Advanced Editor" (in the right, up), there you can attach qvw files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 11:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489228#M480786</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-07T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489229#M480787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-5266"&gt;http://community.qlik.com/docs/DOC-5266&lt;/A&gt;&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>Thu, 07 Nov 2013 11:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489229#M480787</guid>
      <dc:creator />
      <dc:date>2013-11-07T11:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489230#M480788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression was correct, it only had an 'E' missing (&lt;STRONG&gt;&lt;EM&gt;ANNE_MOIS_DEBUT i&lt;/EM&gt;&lt;/STRONG&gt;nstead of&lt;STRONG&gt;&lt;EM&gt; &lt;STRONG&gt;&lt;EM&gt;ANNEE_MOIS_DEBUT)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=num(sum({$&amp;lt;ANNE_MOIS={"&amp;gt;=$([ANNEE_MOIS_DEBUT])"},GAMME_NIV1={'Maintenance'},NATURE={'APR','AVA','AVC','AVS','FAA','FAC','FFC','FPR'},WPC_ETATPARC={'ES'}&amp;gt;} [GL_MONTANTHT]),'# ##0 €')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this will only work if you can add the &lt;STRONG&gt;&lt;EM&gt;ANNEE_MOIS_DEBUT&lt;/EM&gt;&lt;/STRONG&gt; field to the Lignes table, in the Load script. Otherwise I do not know how to solve this... sorry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 12:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489230#M480788</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-07T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489231#M480789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try with the 'E'&amp;nbsp; but it daesn't work!! I don't know the solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 13:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/489231#M480789</guid>
      <dc:creator />
      <dc:date>2013-11-07T13:23:27Z</dc:date>
    </item>
  </channel>
</rss>

