<?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 Using dimensions in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258340#M711284</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;I have list of stock transactions (table is below) and I'm trying to get Aged Stock report that would show me how many items from different period I have in my stock.&lt;/P&gt;&lt;P&gt;When I create Pivot table to see item statuses I get table below. Now I should continue to get the table correct as item 101 result -30 for group &amp;lt;90 should belong to &amp;gt;90 instead. Is there option to get values presented in table to script already, so that I could use if statements when &amp;gt;90 is higher than zero, then sold units should be grouped to &amp;gt;90 instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is not so difficult and I'm only making it more difficult to myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen shot 2011-08-09 at 11.34.50 AM.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/6356_Screen+shot+2011-08-09+at+11.34.50+AM.png" /&gt;&lt;/P&gt;&lt;P&gt;Any easier ideas and solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 08:36:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-09T08:36:40Z</dc:date>
    <item>
      <title>Using dimensions in script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258340#M711284</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;I have list of stock transactions (table is below) and I'm trying to get Aged Stock report that would show me how many items from different period I have in my stock.&lt;/P&gt;&lt;P&gt;When I create Pivot table to see item statuses I get table below. Now I should continue to get the table correct as item 101 result -30 for group &amp;lt;90 should belong to &amp;gt;90 instead. Is there option to get values presented in table to script already, so that I could use if statements when &amp;gt;90 is higher than zero, then sold units should be grouped to &amp;gt;90 instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is not so difficult and I'm only making it more difficult to myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen shot 2011-08-09 at 11.34.50 AM.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/6356_Screen+shot+2011-08-09+at+11.34.50+AM.png" /&gt;&lt;/P&gt;&lt;P&gt;Any easier ideas and solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 08:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258340#M711284</guid>
      <dc:creator />
      <dc:date>2011-08-09T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Using dimensions in script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258341#M711285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't understand what you're trying to do, can you post a sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 21:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258341#M711285</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-08-09T21:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using dimensions in script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258342#M711286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I attached the file where I tried it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When items are sold then at first the oldest items are sold (&amp;gt;90). When items from last column are sold, then next period should be decresed.&lt;/P&gt;&lt;P&gt;So in my example for item 101 results should be:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="46" style="border: 1px solid #000000; width: 417px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ArtCode&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&amp;lt;30&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&amp;lt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&amp;lt;90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&amp;gt;90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;90; &amp;lt;90; &amp;lt;60 etc- these are calculated depending on transaction date and todays date to see the stock situation at current time point and how long have different items been in the stock already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it explains it a bit better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 06:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dimensions-in-script/m-p/258342#M711286</guid>
      <dc:creator />
      <dc:date>2011-08-10T06:04:44Z</dc:date>
    </item>
  </channel>
</rss>

