<?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: Erro carregar base in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65846#M3481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faça a alteração que eu te disse &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date([competencia]) as competencia..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 21:19:23 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2018-04-05T21:19:23Z</dc:date>
    <item>
      <title>Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65841#M3476</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;Estou tentando subir um xlsx para o QlikCloud e estou tendo o seguinte erro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="erroqlik.JPG" class="jive-image image-1" height="394" src="https://community.qlik.com/legacyfs/online/198654_erroqlik.JPG" style="height: 394px; width: 395.967px;" width="396" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Há mais um arquivo de excel nessa conta. Porém, o campo competencia não existe na outra base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se puderem ajudar... &lt;/P&gt;&lt;P&gt;Vasculhei a internet, mas não encontrei solução.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65841#M3476</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-05T20:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65842#M3477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hudson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Há campos com mesmo nome no script? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veja o help sobre Campos Derivado - &lt;A href="https://help.qlik.com/pt-BR/sense/September2017/Subsystems/Hub/Content/Scripting/derived-fields.htm" title="https://help.qlik.com/pt-BR/sense/September2017/Subsystems/Hub/Content/Scripting/derived-fields.htm"&gt;https://help.qlik.com/pt-BR/sense/September2017/Subsystems/Hub/Content/Scripting/derived-fields.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65842#M3477</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-05T20:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65843#M3478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tem. Mas, já subi arquivos diferentes com campos com nome igual e não tinha acontecido isso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primeiro arquivo excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Planilha1]:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;[nome_emp],&lt;/P&gt;&lt;P&gt;[nome],&lt;/P&gt;&lt;P&gt;[sexo],&lt;/P&gt;&lt;P&gt;Date([data_nascimento] ) AS [data_nascimento],&lt;/P&gt;&lt;P&gt;[depto],&lt;/P&gt;&lt;P&gt;[funcao],&lt;/P&gt;&lt;P&gt;[idade],&lt;/P&gt;&lt;P&gt;[salario],&lt;/P&gt;&lt;P&gt;Timestamp([admissao] ) AS [admissao],&lt;/P&gt;&lt;P&gt;[CentroCustos],&lt;/P&gt;&lt;P&gt;Timestamp([DATA_AFAST] ) AS [DATA_AFAST],&lt;/P&gt;&lt;P&gt;[Afastamento]&lt;/P&gt;&lt;P&gt; FROM [lib://AttachedFiles/dados.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Planilha1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segundo arquivo Excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Folha2018]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[i_empregados],&lt;/P&gt;&lt;P&gt;[codi_emp],&lt;/P&gt;&lt;P&gt;[nome_emp],&lt;/P&gt;&lt;P&gt;[CNPJ],&lt;/P&gt;&lt;P&gt;[matricula],&lt;/P&gt;&lt;P&gt;[nome],&lt;/P&gt;&lt;P&gt;[sexo],&lt;/P&gt;&lt;P&gt;Date(Date#([data_nascimento], 'M/D/YYYY') ) AS [data_nascimento],&lt;/P&gt;&lt;P&gt;[admissao],&lt;/P&gt;&lt;P&gt;[CargoFuncao],&lt;/P&gt;&lt;P&gt;[CentroCustos],&lt;/P&gt;&lt;P&gt;[depto],&lt;/P&gt;&lt;P&gt;[I_CALCULOS],&lt;/P&gt;&lt;P&gt;[CodRubrica],&lt;/P&gt;&lt;P&gt;[DescRubrica],&lt;/P&gt;&lt;P&gt;[ValorRubrica],&lt;/P&gt;&lt;P&gt;[ProventoDesconto],&lt;/P&gt;&lt;P&gt;Date([competencia])&lt;/P&gt;&lt;P&gt; FROM [lib://AttachedFiles/Folha2018.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Folha2018);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65843#M3478</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-05T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65844#M3479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me referi a campos com mesmo nome na mesma tabela. Mas aí tá ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mostre o autocalendar que ele criou e altere o campo &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date([competencia]) para&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date([competencia]) as competencia.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65844#M3479</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-05T21:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65845#M3480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Segue, Thiago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[autoCalendar]: &lt;/P&gt;&lt;P&gt;&amp;nbsp; DECLARE FIELD DEFINITION Tagged ('$date')&lt;/P&gt;&lt;P&gt;FIELDS&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Year($1), YearStart($1)) AS [Year] Tagged ('$axis', '$year'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),Num(Ceil(NUM(Month($1))/3),00)) AS [Quarter] Tagged ('$quarter', '$cyclic'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Year($1)&amp;amp;'-Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [YearQuarter] Tagged ('$yearquarter', '$qualified'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [_YearQuarter] Tagged ('$yearquarter', '$hidden', '$simplified'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month($1) AS [Month] Tagged ('$month', '$cyclic'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Year($1)&amp;amp;'-'&amp;amp;Month($1), monthstart($1)) AS [YearMonth] Tagged ('$axis', '$yearmonth', '$qualified'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Month($1), monthstart($1)) AS [_YearMonth] Tagged ('$axis', '$yearmonth', '$simplified', '$hidden'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual('W'&amp;amp;Num(Week($1),00), Num(Week($1),00)) AS [Week] Tagged ('$weeknumber', '$cyclic'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Floor($1)) AS [Date] Tagged ('$axis', '$date', '$qualified'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Floor($1), 'D') AS [_Date] Tagged ('$axis', '$date', '$hidden', '$simplified'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If (DayNumberOfYear($1) &amp;lt;= DayNumberOfYear(Today()), 1, 0) AS [InYTD] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(Today())-Year($1) AS [YearsAgo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If (DayNumberOfQuarter($1) &amp;lt;= DayNumberOfQuarter(Today()),1,0) AS [InQTD] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4*Year(Today())+Ceil(Month(Today())/3)-4*Year($1)-Ceil(Month($1)/3) AS [QuartersAgo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Ceil(Month(Today())/3)-Ceil(Month($1)/3) AS [QuarterRelNo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Day($1)&amp;lt;=Day(Today()),1,0) AS [InMTD] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12*Year(Today())+Month(Today())-12*Year($1)-Month($1) AS [MonthsAgo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(Today())-Month($1) AS [MonthRelNo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(WeekDay($1)&amp;lt;=WeekDay(Today()),1,0) AS [InWTD] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; (WeekStart(Today())-WeekStart($1))/7 AS [WeeksAgo] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(Today())-Week($1) AS [WeekRelNo] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DERIVE FIELDS FROM FIELDS [competencia] USING [autoCalendar] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65845#M3480</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-05T21:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65846#M3481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faça a alteração que eu te disse &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date([competencia]) as competencia..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65846#M3481</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-05T21:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65847#M3482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fiz isso.&lt;/P&gt;&lt;P&gt;Achei que tivesse respondido ontem. haha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Não surtiu efeito. O mesmo erro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 12:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65847#M3482</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-06T12:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65848#M3483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exclua a autocalendario criado pelo Qlik e rode o script de novo...apenas para teste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 12:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65848#M3483</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-06T12:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65849#M3484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Se eu comento a linha, ele sobe o script normalmente.&lt;/P&gt;&lt;P&gt;Mas, eu preciso desse campo de calendário. Acho que se eu usar o autocalendar de outro campo, vai trazer informações incorretas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A linha que eu comentei: //DERIVE FIELDS FROM FIELDS [competencia] USING [autoCalendar] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65849#M3484</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-06T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65850#M3485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vi que você fez um Date(competentecia), certo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mantenha o field original para testarmos...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65850#M3485</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-06T13:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65851#M3486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certo.&lt;/P&gt;&lt;P&gt;Forcei como date pra teste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removi, deixei original e voltou a dar erro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65851#M3486</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-06T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65852#M3487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hudson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remova o autocalendar e inclua o script de calendário mestre (retirado daqui da Qlik Community):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Temp:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Load&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min(competencia) as minDate,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(&lt;SPAN style="color: #000000; font-size: 12px;"&gt;competencia&lt;/SPAN&gt;) as maxDate&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Resident &lt;STRONG&gt;SUA_TABELA&lt;/STRONG&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Let varMinDate = Num(Peek('minDate', 0, 'Temp'));&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;DROP Table Temp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;TempCalendar:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;LOAD&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(varMinDate) + Iterno()-1 As Num,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date($(varMinDate) + IterNo() - 1) as TempDate&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;MasterCalendar:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Load&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempDate AS &lt;SPAN style="color: #000000; font-size: 12px;"&gt;competencia&lt;/SPAN&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(TempDate) As Week,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(TempDate) As Year,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(TempDate) As Month,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(TempDate) As Day,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YeartoDate(TempDate)*-1 as CurYTDFlag,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YeartoDate(TempDate,-1)*-1 as LastYTDFlag,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inyear(TempDate, Monthstart($(varMaxDate)),-1) as RC12,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(TempDate), 'MMM-YYYY') as MonthYear,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('QuartersMap', month(TempDate), Null()) as Quarter,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(TempDate) as WeekDay&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Resident TempCalendar&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Order By TempDate ASC;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;Drop Table TempCalendar;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65852#M3487</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-06T13:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65853#M3488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ocorreram os seguintes erros:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; background: rgba(255, 38, 38, 0.2); color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;Table 'Orders' not found&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; background: rgba(255, 38, 38, 0.2); font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;O erro ocorreu aqui:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; background: rgba(255, 38, 38, 0.2); color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;Temp: Load min(competencia) as minDate, max(competencia) as maxDate Resident Orders&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;Os dados não foram carregados. Solucione o erro e tente carregar novamente.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A linha: DERIVE FIELDS FROM FIELDS [competencia] USING [autoCalendar] ; eu deixo no script?&lt;/P&gt;&lt;P&gt;Fiz com a linha e sem a linha. Deu o mesmo erro nas duas situações.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65853#M3488</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-06T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65854#M3489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Editei o script acima...no lugar de Orders, coloca o nome da sua tabela de onde vem o campo competencia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essa linha você pode remover.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65854#M3489</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-06T13:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Erro carregar base</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65855#M3490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deu certo, Thiago.&lt;/P&gt;&lt;P&gt;Muito obrigado pelo tempo disponibilizado nisso.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-carregar-base/m-p/65855#M3490</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-04-06T14:09:06Z</dc:date>
    </item>
  </channel>
</rss>

