<?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 simple(?) question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153832#M30703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi everyone.&lt;/P&gt;&lt;P&gt;pls look at the file I've attached.&lt;/P&gt;&lt;P&gt;I have only two columns one as budget_type and the other is the vale of it.&lt;/P&gt;&lt;P&gt;I want to add a new record that her budget_type will called "profit" and her value will be:&lt;/P&gt;&lt;P&gt;zzxx-mmkk (170-150) =20 , I want it to be calculate in the script itself.&lt;/P&gt;&lt;P&gt;how can I do that? is it possible to add records based on other recordes in the same dimension ?&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;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 16:19:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-11T16:19:33Z</dc:date>
    <item>
      <title>simple(?) question</title>
      <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153832#M30703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi everyone.&lt;/P&gt;&lt;P&gt;pls look at the file I've attached.&lt;/P&gt;&lt;P&gt;I have only two columns one as budget_type and the other is the vale of it.&lt;/P&gt;&lt;P&gt;I want to add a new record that her budget_type will called "profit" and her value will be:&lt;/P&gt;&lt;P&gt;zzxx-mmkk (170-150) =20 , I want it to be calculate in the script itself.&lt;/P&gt;&lt;P&gt;how can I do that? is it possible to add records based on other recordes in the same dimension ?&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;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 16:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-question/m-p/153832#M30703</guid>
      <dc:creator />
      <dc:date>2009-08-11T16:19:33Z</dc:date>
    </item>
    <item>
      <title>AW:simple(?) question</title>
      <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153833#M30704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don´t see the sense of your request.&lt;/P&gt;&lt;P&gt;Why do want to create a new record for profit in script and not in a table or via variable? When you´ve got more than two values, how should you decide what values should be subtract?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 16:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-question/m-p/153833#M30704</guid>
      <dc:creator />
      <dc:date>2009-08-11T16:50:06Z</dc:date>
    </item>
    <item>
      <title>simple(?) question</title>
      <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153834#M30705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;see the new file I've attached.&lt;/P&gt;&lt;P&gt;for each company I have only two values in the budget_type dimension. (the &lt;STRONG&gt;mmkk&lt;/STRONG&gt; and the &lt;STRONG&gt;zzxx)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And for each &lt;STRONG&gt;&lt;/STRONG&gt;company I want to add a new value called profit.&lt;/P&gt;&lt;P&gt;The users want to select a record name &lt;STRONG&gt;profit&lt;/STRONG&gt; (which is a record in the dimension budget_type ) and see the value of it (calculate as zzxx-mmkk )&lt;/P&gt;&lt;P&gt;What are my options if I am not doing it over the script?&lt;/P&gt;&lt;P&gt;thanx,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 18:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-question/m-p/153834#M30705</guid>
      <dc:creator />
      <dc:date>2009-08-11T18:29:07Z</dc:date>
    </item>
    <item>
      <title>AW:simple(?) question</title>
      <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153835#M30706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, i see. You can do it with:&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;profit:&lt;BR /&gt;LOAD&lt;BR /&gt;company,&lt;BR /&gt;sum(IF([budget_type]='zzxx', [value])) - sum(IF([budget_type]='mmkk', [value])) AS profit&lt;BR /&gt;RESIDENT data&lt;BR /&gt;GROUP BY company;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 18:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-question/m-p/153835#M30706</guid>
      <dc:creator />
      <dc:date>2009-08-11T18:45:58Z</dc:date>
    </item>
    <item>
      <title>simple(?) question</title>
      <link>https://community.qlik.com/t5/QlikView/simple-question/m-p/153836#M30707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;almost...almost...&lt;/P&gt;&lt;P&gt;But you gave me a direction.&lt;/P&gt;&lt;P&gt;I told you its simple.........&lt;/P&gt;&lt;P&gt;I meant to this.&lt;/P&gt;&lt;P&gt;(see attachment)&lt;/P&gt;&lt;P&gt;thanx again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 19:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-question/m-p/153836#M30707</guid>
      <dc:creator />
      <dc:date>2009-08-11T19:22:24Z</dc:date>
    </item>
  </channel>
</rss>

