<?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: Autogenerate : Generate count is Negative in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771792#M717441</link>
    <description>&lt;P&gt;Its fixed actually,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in one of the variable declaration they mentioned it as 31.12.2020 using make date function. w&lt;/P&gt;&lt;P&gt;which got expired and reason for negative number during autogenerate. changed it to future date now its sorted. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 05:19:04 GMT</pubDate>
    <dc:creator>dhasharadh</dc:creator>
    <dc:date>2021-01-05T05:19:04Z</dc:date>
    <item>
      <title>Autogenerate : Generate count is Negative</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771682#M717437</link>
      <description>&lt;P&gt;Getting this below error all of a sudden, it was fine till last friday and it suddenly failed today with below error.&lt;/P&gt;&lt;P&gt;Error : Autogenerate : Generate Count is Negative.&lt;/P&gt;&lt;P&gt;Error is coming in the below script lines :&lt;/P&gt;&lt;P&gt;DateField_tmp:&lt;BR /&gt;LOAD&lt;BR /&gt;Date($(vDateMinN)+RowNo()-1) AS DateField&lt;BR /&gt;AUTOGENERATE $(vDateMaxN) - $(vDateMinN) + 1;&lt;/P&gt;&lt;P&gt;------ script is executed till here.&lt;BR /&gt;DateFieldPro_tmp:&lt;BR /&gt;LOAD&lt;BR /&gt;Date(($(vDateMaxN)+1) +RowNo()-1) AS DateFieldPro&lt;BR /&gt;AUTOGENERATE $(vDateProN) - ($(vDateMaxN)+1) + 1;&lt;/P&gt;&lt;P&gt;--- getting an error in the above lines am littterally cluless why all of a sudden this error is coming in UAT and Prod causing jobs to fail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest the possible reason&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14931"&gt;@jonathandienst&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41481"&gt;@petter&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one else who have idea on this as well please.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771682#M717437</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2024-11-16T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate : Generate count is Negative</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771699#M717438</link>
      <description>&lt;P&gt;can you look up the values of&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;vDateMaxN and vDateMinN&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771699#M717438</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-04T16:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate : Generate count is Negative</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771785#M717439</link>
      <description>&lt;P&gt;Hi Edwin, thanks for the reply.&lt;/P&gt;&lt;P&gt;vDateMaxN = 04.01.2021&lt;/P&gt;&lt;P&gt;vDateMinN = 01.01.2000&lt;/P&gt;&lt;P&gt;is anything wrong in the above values, they created as variables in the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 04:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771785#M717439</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2021-01-05T04:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate : Generate count is Negative</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771791#M717440</link>
      <description>&lt;P&gt;Somehow &lt;EM&gt;'$(vDateMaxN) - $(vDateMinN) + 1'&lt;/EM&gt;&amp;nbsp; is resulting to a negative number. It could be because of misinterpretation of separator ('.'). Try to convert the date value to number in the variable itself and try. Also check how and which delimiters are being used for number presentation, like decimal, thousand separator.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 05:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771791#M717440</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-01-05T05:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate : Generate count is Negative</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771792#M717441</link>
      <description>&lt;P&gt;Its fixed actually,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in one of the variable declaration they mentioned it as 31.12.2020 using make date function. w&lt;/P&gt;&lt;P&gt;which got expired and reason for negative number during autogenerate. changed it to future date now its sorted. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 05:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-Generate-count-is-Negative/m-p/1771792#M717441</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2021-01-05T05:19:04Z</dc:date>
    </item>
  </channel>
</rss>

