<?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 Projection in Francophones</title>
    <link>https://community.qlik.com/t5/Francophones/Projection/m-p/1474966#M13973</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;je vois beaucoup de posts pour calculer automatiquement une projection du style :&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Mois&lt;/SPAN&gt;&amp;gt;=11,&lt;SPAN style="color: #0000ff;"&gt;rangeavg&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Valeur&lt;/SPAN&gt;),1,6)),&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Valeur&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;qui donne ceci (avec le formatage en expression des couleurs : =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Mois&lt;/SPAN&gt;&amp;gt;=11,&lt;SPAN style="color: #0000ff;"&gt;Red&lt;/SPAN&gt;()) )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105903_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;C'est intéressant mais on "lisse" les effets "saisonnalités".&lt;/P&gt;&lt;P&gt;Dons notre domaine d'activité (la santé), nous avons opté pour la prise en compte des données N-1 pour le mois en cours et les mois à venir multiplié par un coefficient d'évolution prévisible (qui est lui même également calculé sur l'année N/N-1) pour avoir une vue sur le réel).&lt;/P&gt;&lt;P&gt;Ce qui fait que nous avons le réel pour les mois passés de l'année N et la prise en compte du réel N-1 pour la projection.&lt;/P&gt;&lt;P&gt;ça donne ça :&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;N°Mois&lt;/SPAN&gt;&amp;gt;=&lt;EM&gt;V_MoisPivot&lt;/EM&gt;-1,(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; {&lt;EM&gt;$&amp;lt;&lt;SPAN style="color: #993300;"&gt;annee&lt;/SPAN&gt;={$(=max(annee)-1)&lt;/EM&gt;}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Tarif&lt;/SPAN&gt;&amp;lt;&amp;gt;'0.00',&lt;SPAN style="color: #993300;"&gt;NroSejRSS&lt;/SPAN&gt;)))*&lt;EM&gt;V_ModulationEvoActivité&lt;/EM&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; {$&amp;lt;&lt;SPAN style="color: #993300;"&gt;annee&lt;/SPAN&gt;={&lt;EM&gt;$(=max(annee))&lt;/EM&gt;}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Tarif&lt;/SPAN&gt;&amp;lt;&amp;gt;'0.00',&lt;SPAN style="color: #993300;"&gt;NroSejRSS&lt;/SPAN&gt;)))&lt;/P&gt;&lt;P&gt;(j'ai mis le mois en variable également pour pouvoir "jouer" plus facilement)&lt;/P&gt;&lt;P&gt;en visu avec le formatage des couleurs :&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;N°Mois&lt;/SPAN&gt;&amp;gt;=&lt;EM&gt;V_MoisPivot&lt;/EM&gt;-1, &lt;SPAN style="color: #993300;"&gt;red&lt;/SPAN&gt;()) :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105904_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Avec les variables pour tester facilement plusieurs cas de figure :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/105905_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Voilà, j'espère que cela pourra rendre service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci à vous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 14:06:00 GMT</pubDate>
    <dc:creator>flochi75</dc:creator>
    <dc:date>2015-11-18T14:06:00Z</dc:date>
    <item>
      <title>Projection</title>
      <link>https://community.qlik.com/t5/Francophones/Projection/m-p/1474966#M13973</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;je vois beaucoup de posts pour calculer automatiquement une projection du style :&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Mois&lt;/SPAN&gt;&amp;gt;=11,&lt;SPAN style="color: #0000ff;"&gt;rangeavg&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Valeur&lt;/SPAN&gt;),1,6)),&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Valeur&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;qui donne ceci (avec le formatage en expression des couleurs : =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Mois&lt;/SPAN&gt;&amp;gt;=11,&lt;SPAN style="color: #0000ff;"&gt;Red&lt;/SPAN&gt;()) )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105903_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;C'est intéressant mais on "lisse" les effets "saisonnalités".&lt;/P&gt;&lt;P&gt;Dons notre domaine d'activité (la santé), nous avons opté pour la prise en compte des données N-1 pour le mois en cours et les mois à venir multiplié par un coefficient d'évolution prévisible (qui est lui même également calculé sur l'année N/N-1) pour avoir une vue sur le réel).&lt;/P&gt;&lt;P&gt;Ce qui fait que nous avons le réel pour les mois passés de l'année N et la prise en compte du réel N-1 pour la projection.&lt;/P&gt;&lt;P&gt;ça donne ça :&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;N°Mois&lt;/SPAN&gt;&amp;gt;=&lt;EM&gt;V_MoisPivot&lt;/EM&gt;-1,(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; {&lt;EM&gt;$&amp;lt;&lt;SPAN style="color: #993300;"&gt;annee&lt;/SPAN&gt;={$(=max(annee)-1)&lt;/EM&gt;}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Tarif&lt;/SPAN&gt;&amp;lt;&amp;gt;'0.00',&lt;SPAN style="color: #993300;"&gt;NroSejRSS&lt;/SPAN&gt;)))*&lt;EM&gt;V_ModulationEvoActivité&lt;/EM&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; {$&amp;lt;&lt;SPAN style="color: #993300;"&gt;annee&lt;/SPAN&gt;={&lt;EM&gt;$(=max(annee))&lt;/EM&gt;}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;Tarif&lt;/SPAN&gt;&amp;lt;&amp;gt;'0.00',&lt;SPAN style="color: #993300;"&gt;NroSejRSS&lt;/SPAN&gt;)))&lt;/P&gt;&lt;P&gt;(j'ai mis le mois en variable également pour pouvoir "jouer" plus facilement)&lt;/P&gt;&lt;P&gt;en visu avec le formatage des couleurs :&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;N°Mois&lt;/SPAN&gt;&amp;gt;=&lt;EM&gt;V_MoisPivot&lt;/EM&gt;-1, &lt;SPAN style="color: #993300;"&gt;red&lt;/SPAN&gt;()) :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105904_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Avec les variables pour tester facilement plusieurs cas de figure :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/105905_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Voilà, j'espère que cela pourra rendre service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci à vous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Projection/m-p/1474966#M13973</guid>
      <dc:creator>flochi75</dc:creator>
      <dc:date>2015-11-18T14:06:00Z</dc:date>
    </item>
  </channel>
</rss>

