<?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: Somar Horas in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382807#M50429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cristiane, faz um teste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(HOUR(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))+SUM(MINUTE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))+SUM(SECOND(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 13:22:44 GMT</pubDate>
    <dc:creator>eduardo_dimperio</dc:creator>
    <dc:date>2017-11-29T13:22:44Z</dc:date>
    <item>
      <title>Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382798#M50420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Preciso fazer uma soma da coluna TEMPO_TP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mas a soma no qlikview está absurda: 55,01634&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="186"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="186"&gt;Tempo_TP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:03:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:03:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:08:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:11:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:12:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:14:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:18:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:27:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:35:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:49:49&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:50:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:54:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:55:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;00:59:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01:07:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;02:19:57&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;02:50:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;03:06:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;03:18:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;03:24:34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;07:43:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Pode me ajudar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 17:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382798#M50420</guid>
      <dc:creator>cristianevpm</dc:creator>
      <dc:date>2017-11-27T17:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382799#M50421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde Cristiane,&lt;/P&gt;&lt;P&gt;Como está configurado seu campo &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TEMPO_TP?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tentou assim?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum(time(timestamp(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TEMPO_TP&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 17:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382799#M50421</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2017-11-27T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382800#M50422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não funcionou.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;O campo está como texto.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sabe como converto esse campo em horas ou decimal ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 19:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382800#M50422</guid>
      <dc:creator>cristianevpm</dc:creator>
      <dc:date>2017-11-27T19:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382801#M50423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tenta converter com esse:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NUM(NUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;TEMPO_TP&lt;/SPAN&gt;) / 100, '###.###,##')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 19:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382801#M50423</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2017-11-27T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382802#M50424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ou somente &lt;/P&gt;&lt;P&gt;TimeStamp(TEMPO_TP)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 19:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382802#M50424</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2017-11-27T19:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382803#M50425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ola Cristiane,&lt;/P&gt;&lt;P&gt;A funcao time(field) ja deveria resolver, caso nao funcione tente time(num#(field)) e tente somar. Se ainda sim não funcionar, entao quebre por hora usando a função hour() e depois faça a soma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 21:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382803#M50425</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2017-11-27T21:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382804#M50426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Os dados de input estão no formato de horas 'hh:mm:ss'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No script escrevi inteval(sum(Tempo_Tp),'hh:mm:ss') as Tempo_Real&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mas o resultado deveria ser &lt;STRONG&gt;30:27:20&lt;/STRONG&gt; está mostrando errado &lt;STRONG&gt;06:24:00.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184976_Capturar.JPG" style="height: 216px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 19:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382804#M50426</guid>
      <dc:creator>cristianevpm</dc:creator>
      <dc:date>2017-11-28T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382805#M50427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Não consegue disponibilizar o qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 19:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382805#M50427</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2017-11-28T19:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382806#M50428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ola..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vamo a Regras:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Voce tem hora e minutos no registro, por esse motivo so dividir por 60 nao resolve , o que voce precisa e fazer um pequena validacao. Eu particulamente gosto de jogar tudo para segundo e depois trabalhar o dado, mas&amp;nbsp; claro e gosto meu, entao eu faco esse codigo ai Abaixo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15119468160112677" jivemacro_uid="_15119468160112677"&gt;
&lt;P&gt;Tmp:&lt;/P&gt;
&lt;P&gt;LOAD * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Hora, ID&lt;/P&gt;
&lt;P&gt;00:03:00,1&lt;/P&gt;
&lt;P&gt;00:03:00,1&lt;/P&gt;
&lt;P&gt;00:08:00,1&lt;/P&gt;
&lt;P&gt;00:11:00,1&lt;/P&gt;
&lt;P&gt;00:12:00,1&lt;/P&gt;
&lt;P&gt;00:14:00,1&lt;/P&gt;
&lt;P&gt;00:18:00,1&lt;/P&gt;
&lt;P&gt;00:27:00,1&lt;/P&gt;
&lt;P&gt;00:35:00,1&lt;/P&gt;
&lt;P&gt;00:49:49,1&lt;/P&gt;
&lt;P&gt;00:50:00,1&lt;/P&gt;
&lt;P&gt;00:54:00,1&lt;/P&gt;
&lt;P&gt;00:55:00,1&lt;/P&gt;
&lt;P&gt;00:59:00,1&lt;/P&gt;
&lt;P&gt;01:07:00,1&lt;/P&gt;
&lt;P&gt;02:19:57,1&lt;/P&gt;
&lt;P&gt;02:50:00,1&lt;/P&gt;
&lt;P&gt;03:06:00,1&lt;/P&gt;
&lt;P&gt;03:18:00,1&lt;/P&gt;
&lt;P&gt;03:24:34,1&lt;/P&gt;
&lt;P&gt;07:43:00,1&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;Horas:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Time(Hora,'hh:mm:ss')as nValorHora,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if(Hora/60 &amp;gt;='0,00069444444444444',((Hora/24)/60),Hora/60 ) as cValorHoraemSegs&lt;/P&gt;
&lt;P&gt;Resident&amp;nbsp; Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ai depois disso usa isso aqui : Interval(Sum(cValorHoraemSegs))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mas voce pode usar somente o &lt;SPAN style="font-size: 13.3333px;"&gt; Interval(Sum(Hora)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Quando voce vai calcular tempo nao pode simplesmente fazer o SUM e converter para Hora, voce precisa da funcao Interval para calcular o invervalo das horas &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Espero ter ajudado.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 09:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382806#M50428</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2017-11-29T09:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382807#M50429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cristiane, faz um teste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(HOUR(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))+SUM(MINUTE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))+SUM(SECOND(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tempo_Tp&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382807#M50429</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2017-11-29T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382808#M50430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Algumas das solucoes resolveu o problema?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 07:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382808#M50430</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2017-12-01T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Somar Horas</title>
      <link>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382809#M50431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oi Cristiane&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tente: Interval(Sum(TEMPO_TP)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Somar-Horas/m-p/1382809#M50431</guid>
      <dc:creator>AndersonOberdan</dc:creator>
      <dc:date>2017-12-04T12:17:51Z</dc:date>
    </item>
  </channel>
</rss>

