<?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 Add a column my multiplying 2 diffrent columns . in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208563#M63895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a very easy question.&lt;/P&gt;&lt;P&gt;of adding an extra column based on the values from diffrent table.&lt;/P&gt;&lt;P&gt;Please refer to the QVD &amp;amp; Attachment.&lt;/P&gt;&lt;P&gt;It is adding an extra column called Bonus in the Table after salary. based on the multiplier factor from the other column range.Regards&lt;/P&gt;&lt;P&gt;Debashish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 06:22:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-07T06:22:52Z</dc:date>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208563#M63895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a very easy question.&lt;/P&gt;&lt;P&gt;of adding an extra column based on the values from diffrent table.&lt;/P&gt;&lt;P&gt;Please refer to the QVD &amp;amp; Attachment.&lt;/P&gt;&lt;P&gt;It is adding an extra column called Bonus in the Table after salary. based on the multiplier factor from the other column range.Regards&lt;/P&gt;&lt;P&gt;Debashish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 06:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208563#M63895</guid>
      <dc:creator />
      <dc:date>2009-10-07T06:22:52Z</dc:date>
    </item>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208564#M63896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debashish,&lt;/P&gt;&lt;P&gt;as much as I don't like using IF statements in charts, this is one of those cases when it's needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Salary * (if (Min &amp;lt;= Salary and Dalary &amp;lt;= Max, Multiplier))&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208564#M63896</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-10-07T07:07:56Z</dc:date>
    </item>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208565#M63897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're missing a closing parenthesis there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum(Salary*(if(Min &amp;lt;= Salary and Salary &amp;lt;= Max, Multiplier)))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208565#M63897</guid>
      <dc:creator />
      <dc:date>2009-10-07T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208566#M63898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks , Oleg ...&lt;/P&gt;&lt;P&gt;You have also Previously Solved .. much of my queries. and gave me how to &lt;STRONG&gt;think in Qlikview way.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have got the solution. But i have 2 Queries.&lt;/P&gt;&lt;P&gt;1. Why u have added the "&lt;STRONG&gt;Sum" .&lt;/STRONG&gt; I can see Sum only gives the Result&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; What do u suggest me , if not we use &lt;STRONG&gt;IF&lt;/STRONG&gt; Statement.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you suggest me to do someting in the Load Time to add the Bonus Column (like Resident Table Join) in the Edit Script.&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>Wed, 07 Oct 2009 07:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208566#M63898</guid>
      <dc:creator />
      <dc:date>2009-10-07T07:40:46Z</dc:date>
    </item>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208567#M63899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Debashish wrote:&lt;STRONG&gt;Do you suggest me to do someting in the Load Time to add the Bonus Column (like Resident Table Join) in the Edit Script.&lt;/STRONG&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you can do the calculation in the load script. then I suggest using INtervalMatch.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208567#M63899</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-07T07:53:58Z</dc:date>
    </item>
    <item>
      <title>Add a column my multiplying 2 diffrent columns .</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208568#M63900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debashish,&lt;/P&gt;&lt;P&gt;if your data set is fairly small, it's OK to use IF statements - you won't affect performance too much. If you can pre-calculate the bonus in the script, without too much trouble, it would be better of course, because you are moving the heavy load from the run-time into the load time.&lt;/P&gt;&lt;P&gt;Regarding sum() - if this is a Straight Table, then we should use aggregation function (like sum) to ensure that our expression works at all summary levels - this way, you can present totals, or change your dimensions, and the expression will still be valid.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-column-my-multiplying-2-diffrent-columns/m-p/208568#M63900</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-10-07T07:55:27Z</dc:date>
    </item>
  </channel>
</rss>

