<?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: Multiplication of fields values in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078291#M934648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the support. &lt;/P&gt;&lt;P&gt;I also have a requirement of making a total Column in pivot table which calculates the sum of all the expressions for all rows. All expressions calculates the sum of amount based on the bucket. I want to make this available for row totals too. but sum of rows option is not enabled for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Feb 2016 16:58:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-20T16:58:53Z</dc:date>
    <item>
      <title>Multiplication of fields values in script</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078287#M934644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where in a table I have two fields named as Amount and resid_tnor which have negative values of 4 to 5 digits each. As per the requirement the script is written in such a way that it filters some data from multiple fields and concatenated that new data to resident table again by adding a hardcoded field value into a new field for that particular filteredvalue. Also while filtering there is a calculation in of Amount*resid_tnor field which I have mention at the first. When I reload the script it is taking 6-8minutes of time to load only 2million records. I want to optimize this reload time. Please help. I am attaching the main table and subsequent code of concatenation. Please do help me. I have to solve this issue asap. The values of fields are like this example,&lt;IMG __jive_id="115350" alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/115350_Capture.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="115346" alt="secfund1st.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115346_secfund1st.jpg" style="height: 523px; width: 620px;" /&gt;&lt;IMG __jive_id="115347" alt="secfund2nd.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115347_secfund2nd.jpg" style="height: 627px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="115349" alt="secfund3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/115349_secfund3.jpg" style="height: 617px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 03:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078287#M934644</guid>
      <dc:creator />
      <dc:date>2016-02-20T03:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication of fields values in script</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078288#M934645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can optimize it a lot. Some things you can try. &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Load only the data into SecFund_Full that you really need to create SF_SUFA. It looks like you can move the check len(product_group)&amp;gt;0 to this load. Perhaps you can filter the classifications and triparty_bilateral_ind &lt;SPAN style="font-size: 13.3333px;"&gt;here too&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI&gt;Store SecFund_Full into a qvd and load the data for SF_SUFA from this qvd instead of using a resident load.&lt;/LI&gt;&lt;LI&gt;Combine some of the loads into one. The Reverse Repo and Repo Bilateral look like a good candidate. I think you can do that in one load if you change the where clause to include both classifications and triparty_bliateral_ind values.&lt;/LI&gt;&lt;LI&gt;Check the cost of calculating joins and synthetic keys if there are any&lt;/LI&gt;&lt;LI&gt;Get faster hardware&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 10:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078288#M934645</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-20T10:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication of fields values in script</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078289#M934646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I would Like to know, by dropping the calculation of WAMNumerator field while loading, and doing it at the end by using resident load for all table at once, will it make any difference?&lt;/P&gt;&lt;P&gt;Also by this multiplication fields, we are storing a value of more than 7 digits in table. but the actual optimized limit is 8bytes in a field. this is where I want to emphasize more. Just want know whether this can make any difference in terms of loading time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 12:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078289#M934646</guid>
      <dc:creator />
      <dc:date>2016-02-20T12:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication of fields values in script</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078290#M934647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt that moving the calculation elsewhere will make a difference. If you want to know for sure then you'll have to test both options.&lt;/P&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;Also by this multiplication fields, we are storing a value of more than 7 digits in table. but the actual optimized limit is 8bytes in a field&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's not correct. See this blog post for the reason why: &lt;A href="https://community.qlik.com/qlik-blogpost/2848"&gt;Symbol Tables and Bit-Stuffed Pointers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 15:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078290#M934647</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-20T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication of fields values in script</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078291#M934648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the support. &lt;/P&gt;&lt;P&gt;I also have a requirement of making a total Column in pivot table which calculates the sum of all the expressions for all rows. All expressions calculates the sum of amount based on the bucket. I want to make this available for row totals too. but sum of rows option is not enabled for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 16:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-of-fields-values-in-script/m-p/1078291#M934648</guid>
      <dc:creator />
      <dc:date>2016-02-20T16:58:53Z</dc:date>
    </item>
  </channel>
</rss>

