<?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: Limitar carga dos últimos 365 dias in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125589#M6838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Tonial, boa tarde !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excelente, era exatamente o que precisávamos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muito obrigado !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grande Abraço&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2018 18:38:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-25T18:38:14Z</dc:date>
    <item>
      <title>Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125584#M6833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá meus amigos qlik's, tudo bem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou com uma duvida, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Limitamos no escript dados do sql, dados que são maiores ou iguais a um período especifico, no nosso caso foi &amp;gt;= 2018:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usamos a seguinte expressão:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 21px;"&gt;FROM "Qlik_Sense".dbo.DT6 WHERE Year(DT6_DATEMI) &amp;gt;= 2018;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 21px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 21px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Deu certíssimo !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Porem precisamos limitar os dados dos últimos 365 dias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Poderiam nos ajudar ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valeu amigos e amigas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abs&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&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 21px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 21px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125584#M6833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-25T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125585#M6834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia Eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e se você tentar no set analysis algo como:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(today()-365)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isto trará a data de "hoje" no ano anterior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se você que colocar no script do sql, pode tentar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;year&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #7d2727;"&gt;-1&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;GETDATE&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;())&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125585#M6834</guid>
      <dc:creator>thiago_alessand</dc:creator>
      <dc:date>2018-07-25T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125586#M6835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia Eduardo, tudo bem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veja se assim funciona:&lt;/P&gt;&lt;P&gt;FROM "Qlik_Sense".dbo.DT6 WHERE DT6_DATEMI &amp;gt;= ADDMONTHS(DT6_DATEMI,-12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assim irá mostrar sempre os ultimos 12 meses, que&amp;nbsp; consequentemente será 365 dias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Espero ter ajudado&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 15:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125586#M6835</guid>
      <dc:creator>alexbenderkv</dc:creator>
      <dc:date>2018-07-25T15:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125587#M6836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Olá Alex, tudo bem e você ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meu amigo, retornou com o seguinte erro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: medium;"&gt;&lt;/P&gt;&lt;DIV class="_rp_05" style="padding-top: 4px;"&gt;&lt;DIV class="rpHighlightAllClass _rp_15 rpHighlightBodyClass ms-font-color-neutralDark ms-font-weight-regular" style="font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif, serif, EmojiFont; color: #212121; font-size: 15px;"&gt;&lt;DIV&gt;&lt;DIV dir="ltr"&gt;&lt;DIV&gt;&lt;DIV style="padding: 0 10px;"&gt;&lt;SPAN style="color: #595959; font-size: 13px; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Ocorreram os seguintes erros:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0 10px;"&gt;&lt;SPAN style="color: #595959; font-size: 13px; font-family: 'Courier New';"&gt;Connector reply error: SQL##f - SqlState: 37000, ErrorCode: 195, ErrorMsg: [Microsoft][ODBC SQL Server Driver][SQL Server]'ADDMONTHS' não é um nome da função interna reconhecido.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class="PersonaPaneLauncher"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class="_rp_d5" style="color: #000000; font-family: wf_segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: medium;"&gt;&lt;/P&gt;&lt;DIV class="_rp_e5 ms-bg-color-neutralLighter" style="background-color: #f4f4f4;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 15:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125587#M6836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-25T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125588#M6837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Voce pode fazer como o thiago colocou, mas com uma alteração na função da data de hoje&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15325385072938652 jive_text_macro" jivemacro_uid="_15325385072938652"&gt;
&lt;P&gt;FROM "Qlik_Sense".dbo.DT6 WHERE DT6_DATEMI &amp;gt;= DATEADD(year,-1,SYSDATETIME())&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't worry, be Qlik.&lt;/P&gt;&lt;P&gt;Tonial&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 17:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125588#M6837</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2018-07-25T17:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Limitar carga dos últimos 365 dias</title>
      <link>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125589#M6838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Tonial, boa tarde !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excelente, era exatamente o que precisávamos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muito obrigado !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grande Abraço&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 18:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Limitar-carga-dos-%C3%BAltimos-365-dias/m-p/125589#M6838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-25T18:38:14Z</dc:date>
    </item>
  </channel>
</rss>

