<?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: time range for avg date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426823#M159028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a tabe above this one in the hierachy! the problem bothers me now for a couple of days and I don't have any idea left how to solve it i tried aready a couple things I used a if in the expression saying if (shipping date &amp;gt; Date1 and shippingdate &amp;gt; date2, sum(profit)) but that only works if there is no storeID so i really don't know how to continue and this is just one example out of many what i have tried. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2012 09:51:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-18T09:51:43Z</dc:date>
    <item>
      <title>time range for avg date</title>
      <link>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426821#M159026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got stuck with a huge problem. ok let me explain. &lt;/P&gt;&lt;P&gt;I have a lot of products and every product has a PoductID and every ProductID can have a lot of ShippingDates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingDate&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20.03.2012&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25.04.2012&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.10.2012&lt;/P&gt;&lt;P&gt;345&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02.01.2012&lt;/P&gt;&lt;P&gt;345&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 09.08.2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do now is create an pivot table with the dimensions StoreName and ProductID and the expression Profit. ok that actually sounds easy but now there is my actual problem. I only want to show products their average date was in a specific time range. and I dont know how to achive how to set the timerange for the average shipping date. so lets say my timerange is 01.03.2012 - 25.05.2012 so in my chart only the ProductID 123 should be shown cause the avg date is 22.04.2012 (this number isnt right just made up to make my problem clear). I just don't know how to build the chart right because in set analysis i cant use avg(shippingdate) = {...}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so does anyone know how i could do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 09:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426821#M159026</guid>
      <dc:creator />
      <dc:date>2012-10-18T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: time range for avg date</title>
      <link>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426822#M159027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you have several line items for each order (since there are multiple shipping dates), do you have a table above that in the hiearchy with each individual order represented as one row of data?&lt;/P&gt;&lt;P&gt;In that case I would probably suggest calculating the "average date" for each order in the higher level table and then just using this value for the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 09:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426822#M159027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-18T09:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: time range for avg date</title>
      <link>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426823#M159028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a tabe above this one in the hierachy! the problem bothers me now for a couple of days and I don't have any idea left how to solve it i tried aready a couple things I used a if in the expression saying if (shipping date &amp;gt; Date1 and shippingdate &amp;gt; date2, sum(profit)) but that only works if there is no storeID so i really don't know how to continue and this is just one example out of many what i have tried. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 09:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426823#M159028</guid>
      <dc:creator />
      <dc:date>2012-10-18T09:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: time range for avg date</title>
      <link>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426824#M159029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please can anyone help me it is very important&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 10:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-range-for-avg-date/m-p/426824#M159029</guid>
      <dc:creator />
      <dc:date>2012-10-18T10:29:16Z</dc:date>
    </item>
  </channel>
</rss>

