<?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 New field based on other field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461507#M793363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think I understand still... Why is everything within blue circle is all Period-1, but the other one changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189449_Capture.PNG" style="height: 624px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2018 15:05:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-09T15:05:47Z</dc:date>
    <item>
      <title>Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461502#M793358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have sample data in below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="839"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="104"&gt;Snapshot_id&lt;/TD&gt;&lt;TD width="82"&gt;No_of_points&lt;/TD&gt;&lt;TD width="342"&gt;test_points&lt;/TD&gt;&lt;TD width="117"&gt;number_of_periods&lt;/TD&gt;&lt;TD width="194"&gt;samples_per_period&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;1.1 1.22 1.3 1.4444&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;2.1 2.2 2.333 2.4 2.5 2.6 2.7 2.2&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;3.1 3.22 3.3 3.4 3.55555 3.6 3.77 3.888&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;4.1 4.22 4.22 4.33&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="17"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;5.1 5.2 5.333 5.4&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need the output to be as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="708"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="17" width="111"&gt;Snapshot_id&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="57"&gt;Degree&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="78"&gt;test_points&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="78"&gt;Period&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="91"&gt;No_of_points&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="151"&gt;number_of_periods&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="142"&gt;samples_per_period&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;1.1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.22&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.4444&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.2&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.333&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.4&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.6&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.7&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2.2&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.22&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.55555&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-5&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.6&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.77&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-7&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.888&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;4.1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;4.22&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;4.22&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;4.33&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Period-4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5.1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5.2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5.333&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5.4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Period-1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the field Degree using Autonumber(RowNo, Snapshot_id) ,but I need script to create the field Period. How can I do it ? number_of_periods defines the periods in each snapshot_id and samples_per_period defines the number of degree's per period in each snapshot_id. Can someone help with script for creating the field Period ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&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-New-field-based-on-other-field/m-p/1461502#M793358</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461503#M793359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not entirely sure how you are creating the Period field... but rest can be done like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Snapshot_id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No_of_points,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(RowNo(), Snapshot_id) as Degree,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubField(test_points, ' ') as test_points,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;number_of_periods,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;samples_per_period;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Snapshot_id, No_of_points, test_points, number_of_periods, samples_per_period&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 4, 1.1 1.22 1.3 1.4444, 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 8, 2.1 2.2 2.333 2.4 2.5 2.6 2.7 2.2, 4, 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 8, 3.1 3.22 3.3 3.4 3.55555 3.6 3.77 3.888, 8, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 4, 4.1 4.22 4.22 4.33, 4, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 4, 5.1 5.2 5.333 5.4, 1, 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 14:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461503#M793359</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-09T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461504#M793360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the Period field. I have achieved rest of transform in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 14:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461504#M793360</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2018-01-09T14:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461505#M793361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha okay... what is the logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 14:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461505#M793361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-09T14:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461506#M793362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Here you go.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;number_of_periods defines the periods in each snapshot_id and samples_per_period defines the number of degree's per period in each snapshot_id. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 14:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461506#M793362</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2018-01-09T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461507#M793363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think I understand still... Why is everything within blue circle is all Period-1, but the other one changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189449_Capture.PNG" style="height: 624px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 15:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461507#M793363</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-09T15:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461508#M793364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When Snapshot_id = '1', No_of_points = '4' tells total degree's as 1,2,3,4.&amp;nbsp; since Number_of_periods = '0' its considered as 1 period so all blue is period-1 for snapshot_id = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Snapshot_id = '2' , No_of_points = '8' so the degree = 1,2,3,4,5,6,7,8. other field which shows Number_of_periods = '4' in that snapshot_id = '2'.&amp;nbsp; So the other field shows samples_per_period = '2'. So When snapshot_id ='2' you have 4 periods taking every two degrees as one period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, each snapshot_id has total number of&amp;nbsp; degrees per period and samples per period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 15:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461508#M793364</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2018-01-09T15:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New field based on other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461509#M793365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Distinct Snapshot_id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No_of_points, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SubField(test_points,' ' ))&amp;nbsp; as test_points, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number_of_periods, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; samples_per_period,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as RowNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load AutoNumber(RowNo, Snapshot_id) as Degree,&lt;/P&gt;&lt;P&gt;Snapshot_id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No_of_points,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_points,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number_of_periods,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(samples_per_period),No_of_points,samples_per_period) as samples_per_period &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident A;&lt;/P&gt;&lt;P&gt;DROP Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;'Period'&amp;amp;'-'&amp;amp;Ceil(Degree/samples_per_period) as Period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident B;&lt;/P&gt;&lt;P&gt;DROP Table B;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-New-field-based-on-other-field/m-p/1461509#M793365</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2018-01-09T19:19:29Z</dc:date>
    </item>
  </channel>
</rss>

