<?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 Calcul au mois par mois in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calcul-au-mois-par-mois/m-p/1449817#M434108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour j'ai actuellement un tableau dans lequel je voudrais ajouter la dimension Mois en première colonne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quand je fais cela j'ai les bons résultats si je ne sélectionne qu'un mois par contre sur l'année mes valeurs sont lissées sur le nombre de jours de l'année et pas par mois sur le nombre de jours de chaque mois.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment peut-on faire pour avoir cette valeur au mois par mois correcte?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Voici mon expression actuelle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum([ETP activité réelle])/$(v_nb_jrs_calendaires)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sachant que v_nb_jrs_calendaires correspond au nombre de jours entre le 01/01/YYYY et la date du jour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai essayé de faire un aggr sur la variable par distinct par mois, mais ça ne marche pas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En Anglais:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hello I currently have a table in which I would add the Month dimension in the first column.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do this I have the good results if I only select one month by cons on the year my values are smoothed on the number of days of the year and not per month on the number of days of each month.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you get the correct month-by-month value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my current expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum ([real activity ETP]) / $ (v_nb_jrs_calendaires)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Knowing that v_nb_jrs_calendaires is the number of days between 01/01 / YYYY and the current date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do an 'aggr' on the variable by 'distinct' month, but it does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 08:06:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-08-23T08:06:11Z</dc:date>
    <item>
      <title>Calcul au mois par mois</title>
      <link>https://community.qlik.com/t5/QlikView/Calcul-au-mois-par-mois/m-p/1449817#M434108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour j'ai actuellement un tableau dans lequel je voudrais ajouter la dimension Mois en première colonne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quand je fais cela j'ai les bons résultats si je ne sélectionne qu'un mois par contre sur l'année mes valeurs sont lissées sur le nombre de jours de l'année et pas par mois sur le nombre de jours de chaque mois.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment peut-on faire pour avoir cette valeur au mois par mois correcte?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Voici mon expression actuelle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum([ETP activité réelle])/$(v_nb_jrs_calendaires)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sachant que v_nb_jrs_calendaires correspond au nombre de jours entre le 01/01/YYYY et la date du jour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai essayé de faire un aggr sur la variable par distinct par mois, mais ça ne marche pas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En Anglais:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hello I currently have a table in which I would add the Month dimension in the first column.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do this I have the good results if I only select one month by cons on the year my values are smoothed on the number of days of the year and not per month on the number of days of each month.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you get the correct month-by-month value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my current expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum ([real activity ETP]) / $ (v_nb_jrs_calendaires)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Knowing that v_nb_jrs_calendaires is the number of days between 01/01 / YYYY and the current date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do an 'aggr' on the variable by 'distinct' month, but it does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcul-au-mois-par-mois/m-p/1449817#M434108</guid>
      <dc:creator />
      <dc:date>2017-08-23T08:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul au mois par mois</title>
      <link>https://community.qlik.com/t5/QlikView/Calcul-au-mois-par-mois/m-p/1449818#M434109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J'ai trouvé, par contre j'ai un phénomène très bizarre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai une dimension 'Mois' et une dimension 'Absence' puis mon expression 'Taux d'absence'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dans mon expression j'ai mis:&lt;/P&gt;&lt;P&gt;sum([Nombre jour absence])&lt;/P&gt;&lt;P&gt;/(sum(TOTAL&amp;lt;[Mois calendrier général]&amp;gt; [ETP activité réelle]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;au lieu de&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum([Nombre jour absence])&lt;/P&gt;&lt;P&gt;/(sum(TOTAL [ETP activité réelle]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;par contre pour que le calcul soit bon j'ai dû supprimer ma dimension 'Absence' et la remettre.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quelqu'un a une explication? Bug Qlik? Mauvais code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En Anglais:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;I found, however, I have a very odd phenomenon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a dimension 'Month' and a dimension 'Absence' then my expression 'Absence rate'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my expression I put:&lt;BR /&gt;&lt;BR /&gt;Sum ([Number of days away])&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/ (Sum (TOTAL &amp;lt;[General calendar month]&amp;gt; [Actual ETP activity]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;instead of&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sum ([Number of days away])&lt;BR /&gt;&lt;BR /&gt;/ (Sum (TOTAL [actual ETP activity]))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand for the calculation to be good I had to remove my 'Absence' dimension and put it back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone has an explanation?&lt;/SPAN&gt; Bug Qlik? Bad code?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 08:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcul-au-mois-par-mois/m-p/1449818#M434109</guid>
      <dc:creator />
      <dc:date>2017-08-24T08:13:29Z</dc:date>
    </item>
  </channel>
</rss>

