<?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: Dynamic date at the row level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701979#M253306</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;one possible solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66823_QlikCommunity_Thread_133414_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66824_QlikCommunity_Thread_133414_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66825_QlikCommunity_Thread_133414_Pic3.JPG.jpg" style="width: 620px; height: 290px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Mon, 15 Sep 2014 22:16:52 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-09-15T22:16:52Z</dc:date>
    <item>
      <title>Dynamic date at the row level</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701978#M253305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure this is possible, but I would like to calculate a date at the row level and use it as part of the selection for the data in a calculation in the same chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example; We have machine data at a transaction level. Each time a machine is running for a product it logs the up time. Not all the products run all the time, so you will have some months that a product will not have been run. We would like to get a listing of products, a starting date (min of the last 3 months of production) and the total run time in the last three months that the product ran. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jun-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 hours&lt;/P&gt;&lt;P&gt;Product B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug-2012&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 hours&lt;/P&gt;&lt;P&gt;Product C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; July-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is easy enough to do something in the load, but I would like to do something in the front end if possible, because the dimension (product) could change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the starting month with this calculation in a chart: MonthStart(Alt(Max(MonthYear,3),Max(MonthYear,2),Max(MonthYear,1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I can't figure out how to make that a usable date in the calculation of another field. Set Analysis is only determined once per chart so that is out. Doing a SUM( IF... doesn't work either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 17:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701978#M253305</guid>
      <dc:creator>sicilianif</dc:creator>
      <dc:date>2014-09-15T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date at the row level</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701979#M253306</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;one possible solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66823_QlikCommunity_Thread_133414_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66824_QlikCommunity_Thread_133414_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133414_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66825_QlikCommunity_Thread_133414_Pic3.JPG.jpg" style="width: 620px; height: 290px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Mon, 15 Sep 2014 22:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701979#M253306</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-15T22:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date at the row level</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701980#M253307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply, but that's not exactly what I am looking for. Here is a better example of just one product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="233"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="33"&gt;Line&lt;/TD&gt;&lt;TD class="xl64" width="55"&gt;Product&lt;/TD&gt;&lt;TD class="xl64" width="75"&gt;MonthYear&lt;/TD&gt;&lt;TD class="xl64" width="70"&gt;Hours Run&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl63"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl63"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl63"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Apr-14&lt;/TD&gt;&lt;TD class="xl63"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Apr-14&lt;/TD&gt;&lt;TD class="xl63"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;Jun-14&lt;/TD&gt;&lt;TD class="xl63"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my results I would want to get Feb-2014 as my starting because that would make 3 months of data for that product (Feb, Apr, Jun). The total that I would want to show is 20, which is the sum of the data for those 3 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do that in the script, but I would love to be able to do it dynamically because we actually track it at multiple levels (product, category, machine, etc.). To create the data in the script, I would need to do it for every variation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-date-at-the-row-level/m-p/701980#M253307</guid>
      <dc:creator>sicilianif</dc:creator>
      <dc:date>2014-09-16T11:22:47Z</dc:date>
    </item>
  </channel>
</rss>

