<?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: Calcul average per month in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306486#M9362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,just in QVD i need how to stock the field value per day &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2017 13:38:58 GMT</pubDate>
    <dc:creator>zied_ahmed1</dc:creator>
    <dc:date>2017-04-12T13:38:58Z</dc:date>
    <item>
      <title>Calcul average per month</title>
      <link>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306484#M9360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello i need to calculate average of actif car per month :&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i used a QVD who stock a field&amp;nbsp; named actif need to historise it everyday to know if the car is actif or not (if this field =1 it will be actif for this date)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;in the end of the month i need to calculate the ratio between all car and the actif one per month and this is the QVD used :&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//&amp;nbsp; QVD_actif:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//&amp;nbsp; LOAD * FROM &lt;C&gt; (qvd) ;/&lt;/C&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// Concatenate:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * WHERE&amp;nbsp; "date"= Today()&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SELECT&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;car,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;actif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// FROM Database.table&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// // ////*********store QVD**************&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//&amp;nbsp; STORE [QVD_actif] into [$(vQvdPath)\QVD_actif.qvd](qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306484#M9360</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-12T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul average per month</title>
      <link>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306485#M9361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zied,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count_Actif_1:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;car&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,Month(Date) as Month&lt;/SPAN&gt;,count(1) as Actif_1&lt;/P&gt;&lt;P&gt;resident &amp;lt;your table&amp;gt;&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;actif&lt;/SPAN&gt;=1&lt;/P&gt;&lt;P&gt;group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;car&lt;/SPAN&gt;,Month(Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;join (&lt;SPAN style="font-size: 13.3333px;"&gt;count_Actif_1&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;car&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,Month(Date) as Month&lt;/SPAN&gt;,count(1) as Actif_0&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident &amp;lt;your table&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;actif&lt;/SPAN&gt;=0&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;car&lt;/SPAN&gt;,Month(Date);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;car,&lt;SPAN style="font-size: 13.3333px;"&gt;Month,&lt;SPAN style="font-size: 13.3333px;"&gt;Actif_1&lt;/SPAN&gt;/&lt;SPAN style="font-size: 13.3333px;"&gt;Actif_0&lt;/SPAN&gt; as ratio&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;resident &lt;SPAN style="font-size: 13.3333px;"&gt;count_Actif_1&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Drop table &lt;SPAN style="font-size: 13.3333px;"&gt;count_Actif_1&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Hope i understood you correctly and it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306485#M9361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-12T12:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul average per month</title>
      <link>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306486#M9362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,just in QVD i need how to stock the field value per day &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 13:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306486#M9362</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-12T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul average per month</title>
      <link>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306487#M9363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need month level ratio to be stored against the date??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 10:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Calcul-average-per-month/m-p/1306487#M9363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-13T10:05:24Z</dc:date>
    </item>
  </channel>
</rss>

