<?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: generate in script 12 monthly values from a single year value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462292#M1155878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaseen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never thought that it can be so easy. You made my day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I am always eager to learn I'll also go through the exercise from Julian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot and have a good weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 13:05:38 GMT</pubDate>
    <dc:creator>omyahamburg</dc:creator>
    <dc:date>2013-02-22T13:05:38Z</dc:date>
    <item>
      <title>generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462283#M1155869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with a lots of Years and a values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1200&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to generate within my script a table which&lt;/P&gt;&lt;P&gt;splits these values into the months:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;YearMonth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="160"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;2012-01&lt;/TD&gt;&lt;TD align="right" width="80"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-02&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-03&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-04&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-05&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-06&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-07&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-08&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-09&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-10&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-11&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-12&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to generate this ?&lt;/P&gt;&lt;P&gt;I hope an easy task for the experts, but I am still beginner&lt;/P&gt;&lt;P&gt;and appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462283#M1155869</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T12:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462284#M1155870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;give us an idea how you want to split your values into months? What values field actually consists of?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462284#M1155870</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2013-02-22T12:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462285#M1155871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any found Year value must be divided by 12 and the YearMonth must be created from 01-12 for the corresponding Year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462285#M1155871</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T12:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462286#M1155872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Any found year value must be divided by 12. Thats fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But how to get 01-12? what does it exactly mean?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Provide some sample data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Your data has only year and values. so how you want to generate YearMonth?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462286#M1155872</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2013-02-22T12:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462287#M1155873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I wrote, I have a Year value eg. 1200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This value needs to divided by 12 to get eg. 100 each and to each of the new value the month from January=01 till December=12 should be created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462287#M1155873</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T12:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462288#M1155874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joerg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This article solves the first question: populate the table with the dates between the first and the last:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this table, then you may use RangeAvg() and Peek() functions to make the average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But first of all, populate your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462288#M1155874</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2013-02-22T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462289#M1155875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the atatched doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yaseen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462289#M1155875</guid>
      <dc:creator />
      <dc:date>2013-02-22T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462290#M1155876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks good. I will go through this example for my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot and have a good weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462290#M1155876</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462291#M1155877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;You can try this, it is very simple and faster.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Temp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 1200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 1200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;CalenderVal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;LOAD Date(MakeDate(Year, IterNo()),'YYYY-MM') as YrMonth,(Value/12) as Val&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Resident Temp While IterNo()&amp;lt;=12;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hope it helps you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Jagan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462291#M1155877</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2013-02-22T13:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462292#M1155878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaseen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never thought that it can be so easy. You made my day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I am always eager to learn I'll also go through the exercise from Julian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot and have a good weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462292#M1155878</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T13:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462293#M1155879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a nice solution for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/462293#M1155879</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-02-22T13:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: generate in script 12 monthly values from a single year value</title>
      <link>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/2468605#M1225896</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share the code here. Is that using IterNo() function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 08:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/generate-in-script-12-monthly-values-from-a-single-year-value/m-p/2468605#M1225896</guid>
      <dc:creator>Priyanka_Mani</dc:creator>
      <dc:date>2024-07-08T08:14:16Z</dc:date>
    </item>
  </channel>
</rss>

