<?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: Creating Auto calendar by script and producing Synchronization error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4343#M792883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, as you requested, please find the image &lt;IMG alt="DataLoaderror.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190791_DataLoaderror.jpg" style="height: 325px; width: 620px;" /&gt;&lt;IMG alt="DataLoaderror1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/190792_DataLoaderror1.jpg" style="font-size: 10pt; height: 298px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;if I do comment it work loading the data, but again creating another auto expression.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataLoaderror2.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/190793_DataLoaderror2.jpg" style="font-size: 10pt; height: 286px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Jan 2018 11:52:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-21T11:52:01Z</dc:date>
    <item>
      <title>Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4341#M792881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified some expression in load script and well in loading data. but after loading Data manager it shows synchronization script error. Once i do manual sync, its associate all the table well,after once again I do load data, it produce data load error and I found &lt;STRONG&gt;auto-generated section&lt;/STRONG&gt; with below syntax.&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 [TRANSDATE], [LEDGERBALANCESDIMTRANS.TRANSDATE] USING [autoCalendar] ;&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this stage if I comment&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;\\DERIVE FIELDS FROM FIELDS [TRANSDATE], [LEDGERBALANCESDIMTRANS.TRANSDATE] USING [autoCalendar] ;&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;it remove the error. but every time its load automatically with another &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;auto-generated section &lt;/STRONG&gt;and error producing for loading the data.&lt;/SPAN&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;Can anyone assist me, why I face this problem and how can i avoid such errors.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4341#M792881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4342#M792882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show image error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 10:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4342#M792882</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-21T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4343#M792883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, as you requested, please find the image &lt;IMG alt="DataLoaderror.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190791_DataLoaderror.jpg" style="height: 325px; width: 620px;" /&gt;&lt;IMG alt="DataLoaderror1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/190792_DataLoaderror1.jpg" style="font-size: 10pt; height: 298px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;if I do comment it work loading the data, but again creating another auto expression.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataLoaderror2.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/190793_DataLoaderror2.jpg" style="font-size: 10pt; height: 286px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 11:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4343#M792883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-21T11:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4344#M792884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to unlock the default script and reload(). I am facing same issue earlier that was resolved once i unlock the script &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 11:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4344#M792884</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-21T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4345#M792886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even though I tried to unlock and do Data Load, it generate the error. further i do the test and find the screenshot.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataLoaderror3.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190795_DataLoaderror3.jpg" style="height: 354px; width: 620px;" /&gt;&lt;IMG alt="DataLoaderror4.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/190796_DataLoaderror4.jpg" style="height: 379px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 13:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4345#M792886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-21T13:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Auto calendar by script and producing Synchronization error</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4346#M792888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea, this part. Sorry for not helping this time .. I am very new to QS &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 13:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Auto-calendar-by-script-and-producing-Synchronization/m-p/4346#M792888</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-21T13:26:12Z</dc:date>
    </item>
  </channel>
</rss>

