<?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: Qliksense Autogenerate statement in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931948#M4591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it you see it fail then yes it's possible that it fails. A 100 million records isn't a small amount. Are you sure you're machine isn't running out of ram? Perhaps you should try something other then Qlik Sense to generate the data for you. A perl/python/php/... script or perhaps excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 13:36:12 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-11-18T13:36:12Z</dc:date>
    <item>
      <title>Qliksense Autogenerate statement</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931947#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i need to use the autogenerate statement to populate a numeric field, but i have noticed that on high number of rows (99999999) the command fails, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931947#M4590</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-11-18T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense Autogenerate statement</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931948#M4591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it you see it fail then yes it's possible that it fails. A 100 million records isn't a small amount. Are you sure you're machine isn't running out of ram? Perhaps you should try something other then Qlik Sense to generate the data for you. A perl/python/php/... script or perhaps excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931948#M4591</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-18T13:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense Autogenerate statement</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931949#M4592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and I have also another question, these statement don't produce any table what's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET m_data_inizio_previsione&amp;nbsp;&amp;nbsp; = Date(Max([Data Decorrenza]) + 1);&lt;/P&gt;&lt;P&gt;SET m_nAnni&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 5;&lt;/P&gt;&lt;P&gt;SET m_dt_start&amp;nbsp;&amp;nbsp; = num(Date($(m_data_inizio_previsione),'DD/MM/YYYY'));&lt;/P&gt;&lt;P&gt;SET m_dt_end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = num(Date($(m_data_inizio_previsione) + (365*m_nAnni),'DD/MM/YYYY'));&lt;/P&gt;&lt;P&gt;SET m_dt_numRows = ($(m_end)-$(m_start)) + 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data_previsione_table&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date(($(m_dt_start) + (Rowno()-1))) AS Data_previsione&lt;/P&gt;&lt;P&gt;Autogenerate $(m_dt_numRows);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931949#M4592</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-11-18T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense Autogenerate statement</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931950#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;SET m_data_inizio_previsione&amp;nbsp;&amp;nbsp; = Date(Max([Data Decorrenza]) + 1)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The Max function can't reference data from a field outside a load statement.&lt;/P&gt;&lt;P&gt;You first need to create a table that contains that maximum date value and then you use the peek function to retrieve it from that table. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;You can find an example here: &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/thread/48693"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make live easier you can use the Qlikview Components script library (works in Qlik Sense too) to create a calendar for you. See this tutorial: &lt;A href="https://community.qlik.com/thread/66717"&gt;Tutorial - Using Common Date Dimensions and Shared Calendars&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qliksense-Autogenerate-statement/m-p/931950#M4593</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-18T14:46:59Z</dc:date>
    </item>
  </channel>
</rss>

