<?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 DSO Calcul in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DSO-Calcul/m-p/1208817#M388081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I would calcuer the DSO, I have a problem with the current month, my formula to calculate the whole month while just have to calculate the past days.&lt;BR /&gt;Here expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total]) = 0, 0,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total])&amp;nbsp; &amp;lt; 0, -1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp;&amp;nbsp; &amp;gt;} [Encours total]) &amp;gt;=&amp;nbsp; sum({&amp;lt; Mois_PA -= {"0"} ,[Mois fichier PA]=,[_Mois fichier PA]=&amp;nbsp; , [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA]), 365,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(Sum({&amp;lt;Mois_PA={$(=max(Mois_PA))} , [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Encours total])-Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))}, [Mois fichier PA]=, [_Mois fichier PA]=, [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA])&amp;lt;=0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//, 0.01&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Sum({&amp;lt;Mois_PA={$(=max(Mois_PA))} , [Mois fichier PA]=, [_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total])*day(MonthEnd( max&amp;nbsp; ({&amp;lt; [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Mois année fichier PA])) )/Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))}, [Mois fichier PA]=, [_Mois fichier PA]=, [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//day(MonthEnd(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Mois année fichier PA])))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; day(MonthEnd(max({&amp;lt; [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Mois année fichier PA]))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-1))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-2))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-3))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-4))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-5))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-6))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-7))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-8))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-9))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-11))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pour &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vDSOEpuisementRolling(-11)) voici l'expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-10))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&amp;lt;0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}, [Flag pièce]={'1'}&amp;gt;}[CA]))&amp;lt;=0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,IF(Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-11))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ,Day(MonthEnd(Monthname(Max([Mois année fichier]),$1-11))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Day(MonthEnd(Monthname(Max([Mois année fichier]),$1-11)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; *(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-10))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; /Sum({$&amp;lt;[Mois année fichier]={'$(=MonthName(max([Mois année fichier]),$1-11))'}, [Flag pièce]={'1'}&amp;gt;}CA)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ci-joint un screeshort&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2016 10:25:13 GMT</pubDate>
    <dc:creator>MauriceLudo</dc:creator>
    <dc:date>2016-11-04T10:25:13Z</dc:date>
    <item>
      <title>DSO Calcul</title>
      <link>https://community.qlik.com/t5/QlikView/DSO-Calcul/m-p/1208817#M388081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I would calcuer the DSO, I have a problem with the current month, my formula to calculate the whole month while just have to calculate the past days.&lt;BR /&gt;Here expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total]) = 0, 0,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total])&amp;nbsp; &amp;lt; 0, -1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))},[Mois fichier PA]= ,[_Mois fichier PA]=&amp;nbsp;&amp;nbsp; &amp;gt;} [Encours total]) &amp;gt;=&amp;nbsp; sum({&amp;lt; Mois_PA -= {"0"} ,[Mois fichier PA]=,[_Mois fichier PA]=&amp;nbsp; , [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA]), 365,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(Sum({&amp;lt;Mois_PA={$(=max(Mois_PA))} , [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Encours total])-Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))}, [Mois fichier PA]=, [_Mois fichier PA]=, [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA])&amp;lt;=0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//, 0.01&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Sum({&amp;lt;Mois_PA={$(=max(Mois_PA))} , [Mois fichier PA]=, [_Mois fichier PA]=&amp;nbsp; &amp;gt;} [Encours total])*day(MonthEnd( max&amp;nbsp; ({&amp;lt; [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Mois année fichier PA])) )/Sum({$&amp;lt;Mois_PA={$(=max(Mois_PA))}, [Mois fichier PA]=, [_Mois fichier PA]=, [Flag pièce]={'1'}&amp;nbsp; &amp;gt;}[CA])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//day(MonthEnd(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Mois année fichier PA])))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; day(MonthEnd(max({&amp;lt; [Mois fichier PA]=, [_Mois fichier PA]= &amp;gt;} [Mois année fichier PA]))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-1))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-2))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-3))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-4))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-5))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-6))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-7))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-8))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-9))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ $(vDSOEpuisementRolling(-11))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pour &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vDSOEpuisementRolling(-11)) voici l'expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-10))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&amp;lt;0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}, [Flag pièce]={'1'}&amp;gt;}[CA]))&amp;lt;=0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,IF(Round(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-11))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ,Day(MonthEnd(Monthname(Max([Mois année fichier]),$1-11))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Day(MonthEnd(Monthname(Max([Mois année fichier]),$1-11)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; *(Sum({$&amp;lt;[Mois année fichier]={'$(=Monthname(AddMonths(max([Mois année fichier]),-11)))'}&amp;gt;}[Encours total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -Sum({$&amp;lt;[Mois année fichier]={"&amp;gt;=$(=AddMonths(Max([Mois année fichier]),$1-10))&amp;lt;=$(=AddMonths(Max([Mois année fichier]),-11))"}, [Flag pièce]={'1'}&amp;gt;}CA))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; /Sum({$&amp;lt;[Mois année fichier]={'$(=MonthName(max([Mois année fichier]),$1-11))'}, [Flag pièce]={'1'}&amp;gt;}CA)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ci-joint un screeshort&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 10:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DSO-Calcul/m-p/1208817#M388081</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2016-11-04T10:25:13Z</dc:date>
    </item>
  </channel>
</rss>

