<?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: Build a supply curve. Part 2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038906#M927642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached, adding this to the end of your current script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1458592207766534" jivemacro_uid="_1458592207766534"&gt;
&lt;P&gt;&lt;BR /&gt;RESULT:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD Company,&lt;BR /&gt;&amp;nbsp; Price,&lt;BR /&gt;&amp;nbsp; Day,&lt;BR /&gt;&amp;nbsp; ColNo,&lt;BR /&gt;&amp;nbsp; RangeSum(Amount,If(Previous(ColNo)=ColNo,-Previous(Amount))) as Amount&lt;BR /&gt;Resident ResultTable&lt;BR /&gt;Order By ColNo, Day; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate (RESULT)&lt;BR /&gt;LOAD 'Aggregated' as Company,&lt;BR /&gt;&amp;nbsp; Price,&lt;BR /&gt;&amp;nbsp; ColNo,&lt;BR /&gt;&amp;nbsp; Day,&lt;BR /&gt;&amp;nbsp; Amount&lt;BR /&gt;Resident RESULT;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE ResultTable;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 20:30:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-21T20:30:05Z</dc:date>
    <item>
      <title>Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038905#M927641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main aim was to find out&amp;nbsp; a way to create an aggregate curve or table from 2 simple tables (Supply.xlsx). Thanks to &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/MarcoWedel" target="_blank"&gt;MarcoWedel&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/swuehl" target="_blank"&gt;swuehl&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;‌I've&amp;nbsp; managed it (Part 1 &lt;A href="https://community.qlik.com/message/1001880" target="_blank"&gt;Re: Build a supply curve&lt;/A&gt;).&amp;nbsp; However, when I tried to do the same thing with uploaded multi-header table, it didn't work. According to the Part 1, can anybody help me with the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I have attached an Excel and Qlikview files (Aggr.xls and .qvw).&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/Build-a-supply-curve-Part-2/m-p/1038905#M927641</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038906#M927642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached, adding this to the end of your current script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1458592207766534" jivemacro_uid="_1458592207766534"&gt;
&lt;P&gt;&lt;BR /&gt;RESULT:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD Company,&lt;BR /&gt;&amp;nbsp; Price,&lt;BR /&gt;&amp;nbsp; Day,&lt;BR /&gt;&amp;nbsp; ColNo,&lt;BR /&gt;&amp;nbsp; RangeSum(Amount,If(Previous(ColNo)=ColNo,-Previous(Amount))) as Amount&lt;BR /&gt;Resident ResultTable&lt;BR /&gt;Order By ColNo, Day; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate (RESULT)&lt;BR /&gt;LOAD 'Aggregated' as Company,&lt;BR /&gt;&amp;nbsp; Price,&lt;BR /&gt;&amp;nbsp; ColNo,&lt;BR /&gt;&amp;nbsp; Day,&lt;BR /&gt;&amp;nbsp; Amount&lt;BR /&gt;Resident RESULT;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE ResultTable;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 20:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038906#M927642</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-21T20:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038907#M927643</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;what is your expected result for this data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 00:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038907#M927643</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-22T00:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038908#M927644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;SPAN class="j-status-levels j-gamification-status-level"&gt;&lt;IMG alt="Legend" class="jive-image" src="https://qvfiles.s3.amazonaws.com/community/L11.png" title="Legend" /&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="5408" data-externalid="" data-presence="null" data-userid="15823" data-username="swuehl" href="https://community.qlik.com/people/swuehl"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;swuehl&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; I am new to qlikview . can you tell me how did you change the alignment of straight table Amount. in this table Amount And price column are horizontal . But by default when I do straight table it comes vertical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 02:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038908#M927644</guid>
      <dc:creator />
      <dc:date>2016-03-22T02:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038909#M927645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/MarcoWedel"&gt;MarcoWedel&lt;/A&gt;‌, &lt;/STRONG&gt; in comparison with Part 1, I've added additional variable Day. All I need is the ability to build each day's aggregate table (curve) like you have shown me in Part 1. In actual practice, I have a very large dataset (similar to Aggr.xls).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038909#M927645</guid>
      <dc:creator />
      <dc:date>2016-03-22T06:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038910#M927646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="15823" data-username="swuehl" href="https://community.qlik.com/people/swuehl" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;swuehl&lt;/A&gt;‌, &lt;/STRONG&gt;it doesn't work correctly. &lt;/P&gt;&lt;P&gt;1. It works only with &lt;STRONG&gt;Day 1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. It calculates a simple full accumulation but I need the one, which was showed in Supply.xlsx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I've attached files. Also, I've changed Excel dataset values to make numbers more suitable for visualization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 18:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038910#M927646</guid>
      <dc:creator />
      <dc:date>2016-03-22T18:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038911#M927647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rockrocker, you can set a straight table to 'horizontal' layout on presentation tab of chart properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 18:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038911#M927647</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-22T18:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Build a supply curve. Part 2</title>
      <link>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038912#M927648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BUMP. Hope that somebody can help me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 10:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-a-supply-curve-Part-2/m-p/1038912#M927648</guid>
      <dc:creator />
      <dc:date>2016-03-23T10:47:40Z</dc:date>
    </item>
  </channel>
</rss>

