<?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: pb de somme in Francophones</title>
    <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720137#M5605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour Raynald,&lt;/P&gt;&lt;P&gt;ce qui ne va pas c'est que je souhaite connaître les temps de connexion des mes PC.&lt;/P&gt;&lt;P&gt;La formule correcte pour moi c'est sum(HeureOff)-sum(HeureOn) mais le problème c'est que certains PC ont 2 cartes vidéos et ça multiplie les lignes donc les temps de connexion.&lt;/P&gt;&lt;P&gt;Dis autrement j'attends le résultat suivant pour mon exemple&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 564px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="102"&gt;Nom PC&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Session&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Vidéo&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="156"&gt;temps connexion&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="18" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;09:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-002&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser121&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;21/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Intel Graphics&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;01:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-003&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser122&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;22/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Radeon&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;03:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-004&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser122&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;23/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Radeon&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;05:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 07:55:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-23T07:55:25Z</dc:date>
    <item>
      <title>pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720130#M5598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour,&lt;/P&gt;&lt;P&gt;petit soucis de calcul de somme de temps. Voici un exemple de données :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="100" style="width: 587px; height: 100px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" style="border: 0px solid black;" width="102"&gt;Nom PC&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="102"&gt;Session&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="78"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="102"&gt;HeureOn&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="102"&gt;HeureOff&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="102"&gt;Vidéo&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="18" style="border: 0px solid black; border-top: none;"&gt;LM1-CDR-A-002&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;fcuser121&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;21/05/2014&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;14:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;15:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Intel Graphics&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="18" style="border: 0px solid black; border-top: none;"&gt;LM1-CDR-A-002&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;fcuser121&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;21/05/2014&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;14:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;15:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;NVIDIA Quadro&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="18" style="border: 0px solid black; border-top: none;"&gt;LM1-CDR-A-003&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;fcuser122&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;22/05/2014&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;17:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20:00:00&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Radeon&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;je voudrais calculer la somme de la différence des heures donc j'ai fait :&lt;/P&gt;&lt;P&gt;sum(HeureOff)-sum(HeureOn)&lt;/P&gt;&lt;P&gt;et le résultat me donne 5 heures alors que je voudrais obtenir 4 heures et cela vient de ma colonne Vidéo que je retrouve 2 fois, comment m'en sortir ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720130#M5598</guid>
      <dc:creator />
      <dc:date>2014-06-20T14:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720131#M5599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salut,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cela va foncionner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;sum&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;Distinct&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;HeureOff&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;)-&lt;/SPAN&gt;sum&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;Distinct&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;HeureOn&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;)&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;*24 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;Mais je ne suis pas sur que ca va marcher dans chaque situation, ca dependera des tes donnees.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;Matt &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 19:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720131#M5599</guid>
      <dc:creator />
      <dc:date>2014-06-21T19:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720132#M5600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe (sum of average diff by Nom PC)&lt;/P&gt;&lt;P&gt;time(sum(aggr(avg(HeureOff - HeureOn), [Nom PC] )), 'hh')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 21:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720132#M5600</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-21T21:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720133#M5601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour Matthew,&lt;/P&gt;&lt;P&gt;désolé mais cela ne fonctionne pas avec mes données&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720133#M5601</guid>
      <dc:creator />
      <dc:date>2014-06-23T07:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720134#M5602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour Massimo,&lt;/P&gt;&lt;P&gt;désolé mais cela ne fonctionne pas dans tous les cas voici un exemple qvw avec quelques données et le 23/05/14 on devrait avoir 05:00:00 de temps de connexion au lieu de 02:30:30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720134#M5602</guid>
      <dc:creator />
      <dc:date>2014-06-23T07:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720135#M5603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour je ne comprends pas très bien ce que vous attendez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai juste modifier la formule dans l'exemple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pouvez vous me dire ce qui ne va pas selon vous&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720135#M5603</guid>
      <dc:creator>rfe</dc:creator>
      <dc:date>2014-06-23T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720136#M5604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(aggr(avg(HeureOff - HeureOn), [Nom PC], HeureOff, HeureOn ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720136#M5604</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-23T07:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720137#M5605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour Raynald,&lt;/P&gt;&lt;P&gt;ce qui ne va pas c'est que je souhaite connaître les temps de connexion des mes PC.&lt;/P&gt;&lt;P&gt;La formule correcte pour moi c'est sum(HeureOff)-sum(HeureOn) mais le problème c'est que certains PC ont 2 cartes vidéos et ça multiplie les lignes donc les temps de connexion.&lt;/P&gt;&lt;P&gt;Dis autrement j'attends le résultat suivant pour mon exemple&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 564px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="102"&gt;Nom PC&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Session&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Vidéo&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="156"&gt;temps connexion&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="18" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;09:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-002&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser121&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;21/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Intel Graphics&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;01:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-003&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser122&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;22/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Radeon&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;03:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18" style="border-top: none;"&gt;LM1-CDR-A-004&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;fcuser122&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;23/05/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Radeon&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;05:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720137#M5605</guid>
      <dc:creator />
      <dc:date>2014-06-23T07:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720138#M5606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J'ai fait cela&lt;/P&gt;&lt;P&gt;avec la formule suivante&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(sum(DISTINCT HeureOff - HeureOn),[Nom PC]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ça semble pas trop mal mais c'est un test vraiment unitaire.... à tester sur un jeu plus conséquent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 08:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720138#M5606</guid>
      <dc:creator>rfe</dc:creator>
      <dc:date>2014-06-23T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: pb de somme</title>
      <link>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720139#M5607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;merci Raynald, je pense être arrivé à mon objectif. J'ai juste rajouté des niveaux d'aggrégation dans la formule :&lt;/P&gt;&lt;P&gt;sum(aggr(sum(DISTINCT [Temps connexion]),[Nom PC],Session,Date))&lt;/P&gt;&lt;P&gt;pour que mes calculs soient plus juste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 13:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/pb-de-somme/m-p/720139#M5607</guid>
      <dc:creator />
      <dc:date>2014-06-23T13:10:02Z</dc:date>
    </item>
  </channel>
</rss>

