<?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: Average Daily Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1608207#M444890</link>
    <description>&lt;P&gt;Below is a link to a query I ran on the Design Blog that might be of help along with what the other posted provided:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=blog-board:qlik-design-blog&amp;amp;q=calendar" target="_blank"&gt;https://community.qlik.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=blog-board:qlik-design-blog&amp;amp;q=calendar&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully one or more of the posts may help you get to where you need to be here.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2019 18:29:09 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-07-31T18:29:09Z</dc:date>
    <item>
      <title>Average Daily Value</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1600399#M444223</link>
      <description>&lt;P&gt;SAY MY expression IS sum(sALES)&lt;/P&gt;&lt;P&gt;i have a week cycle week ( so i need to divide by number of days in that week )&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a half year cycle , so i need to divide by number of days in that year-half&lt;/P&gt;&lt;P&gt;Year cycle , i need to divide by number of days in year&amp;nbsp;&lt;/P&gt;&lt;P&gt;quarter cycle .. so i need to&amp;nbsp; divide by number of days in that quarter&amp;nbsp;&lt;/P&gt;&lt;P&gt;each is a separate expression for each cycle using a condition&amp;nbsp;&lt;/P&gt;&lt;P&gt;The latest period in year for eg has a few days as its not year end , that is the complication so i cant just say 365&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 13:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1600399#M444223</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2019-07-09T13:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Average Daily Value</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1600528#M444233</link>
      <description>&lt;P&gt;It seems to me you need to create a master calendar with flags (0/1) for the various dates.&lt;/P&gt;&lt;P&gt;E.g&lt;/P&gt;&lt;P&gt;isinQTD&lt;/P&gt;&lt;P&gt;isinYTD&lt;/P&gt;&lt;P&gt;isinMTD&lt;/P&gt;&lt;P&gt;isinCurrweek&lt;/P&gt;&lt;P&gt;these flags should exist down to the day level so each day has a flag for every time period. then you can use a set analysis expression for each flag, and aggregate using avg.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 16:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1600528#M444233</guid>
      <dc:creator>acsaggar</dc:creator>
      <dc:date>2019-07-09T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Average Daily Value</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1608207#M444890</link>
      <description>&lt;P&gt;Below is a link to a query I ran on the Design Blog that might be of help along with what the other posted provided:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=blog-board:qlik-design-blog&amp;amp;q=calendar" target="_blank"&gt;https://community.qlik.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=blog-board:qlik-design-blog&amp;amp;q=calendar&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully one or more of the posts may help you get to where you need to be here.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 18:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Daily-Value/m-p/1608207#M444890</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-31T18:29:09Z</dc:date>
    </item>
  </channel>
</rss>

