<?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 Avg Sales per day - based on different days of work in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4212#M286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on Retail Sales data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cities the stores works 7 days whereas in some they work 6 days a week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I do an average sales per day for a month calculation it should take into account the operational days to calculate.&amp;nbsp; Let say for the month of January 2018; for Cities where the stores are closed on Sunday, the number of days is 27 whereas for other cities the number of days is 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below are the table formats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store:&lt;/P&gt;&lt;P&gt;Store&lt;/P&gt;&lt;P&gt;Store City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;City Operational Days:&lt;/P&gt;&lt;P&gt;City&lt;/P&gt;&lt;P&gt;Operational Day. (Sat, Sun, Mon etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Invoice No&lt;/P&gt;&lt;P&gt;Item &lt;/P&gt;&lt;P&gt;Store&lt;/P&gt;&lt;P&gt;Qty&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the average Sales Per day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jan 2018 08:39:04 GMT</pubDate>
    <dc:creator>madnanansari</dc:creator>
    <dc:date>2018-01-20T08:39:04Z</dc:date>
    <item>
      <title>Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4212#M286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on Retail Sales data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cities the stores works 7 days whereas in some they work 6 days a week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I do an average sales per day for a month calculation it should take into account the operational days to calculate.&amp;nbsp; Let say for the month of January 2018; for Cities where the stores are closed on Sunday, the number of days is 27 whereas for other cities the number of days is 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below are the table formats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store:&lt;/P&gt;&lt;P&gt;Store&lt;/P&gt;&lt;P&gt;Store City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;City Operational Days:&lt;/P&gt;&lt;P&gt;City&lt;/P&gt;&lt;P&gt;Operational Day. (Sat, Sun, Mon etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Invoice No&lt;/P&gt;&lt;P&gt;Item &lt;/P&gt;&lt;P&gt;Store&lt;/P&gt;&lt;P&gt;Qty&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the average Sales Per day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2018 08:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4212#M286</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2018-01-20T08:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4213#M287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would expect to see a SalesDate field in Sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your Sales table show such a field, do you really have entries for a store on a date without sales?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, do you have an entry for each store on each sales date with either a value &amp;gt;0 or zero (which I assume is kind of unusual, to have no sales at all on a given date, but this might depend on your stores &amp;amp; business). In other words, are there any cases with no records for a store but operational on that date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your sales table shows a record per store and operational date, you should basically be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Sales) / Count({&amp;lt;Store = {"*"}&amp;gt;} DISTINCT Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming a Store based dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2018 14:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4213#M287</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-01-20T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4214#M288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales table have entries of sales. Not without sales. Neither it has entries for each date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u can play something with the master data? where its defined which cities are operating on which days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 15:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4214#M288</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2018-01-21T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4215#M289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This means there is no time dimension in your sales table? How do you aggregate monthly sales value then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 16:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4215#M289</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-01-21T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4216#M290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date is there...but with figures for sales not empty lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 06:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4216#M290</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2018-01-22T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Avg Sales per day - based on different days of work</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4217#M291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the average formula is to divide the sales by number of working days during the month for that store. (in your suggestions; if there is no sales on some days; the avg will show higher figures which is not correct). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 06:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-Sales-per-day-based-on-different-days-of-work/m-p/4217#M291</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2018-01-22T06:37:38Z</dc:date>
    </item>
  </channel>
</rss>

