<?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: Hi All in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785530#M1041574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp; You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Out Put in Pivot table should look like&amp;nbsp; this&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex;&amp;nbsp; January average&amp;nbsp; = January net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb average&amp;nbsp; = Feb net sale / Feb working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; March average&amp;nbsp; = March net sale / March working days &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instead it is calculating wrongly&lt;/STRONG&gt; as(actually my expression is wrong)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; January average&amp;nbsp; = January net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb average&amp;nbsp; = Feb net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; March average&amp;nbsp; = March net sale / January working days&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74152_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Dec 2014 10:17:39 GMT</pubDate>
    <dc:creator>rajkumarb</dc:creator>
    <dc:date>2014-12-24T10:17:39Z</dc:date>
    <item>
      <title>Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785528#M1041572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please I need some help&amp;nbsp; in solving this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sales table for last&amp;nbsp; three years with number of working days for each corresponding month and I&amp;nbsp; need to&amp;nbsp; calculate average sales per day with respect to the number of working day in each month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 12pt; font-family: 'arial black', 'avant garde';"&gt;sales_table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product - short form of &lt;STRONG&gt;product name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sale month&lt;/P&gt;&lt;P&gt;net sale -&amp;nbsp; for corresponding&lt;STRONG&gt; sale month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sale year&lt;/P&gt;&lt;P&gt;product name&lt;/P&gt;&lt;P&gt;working days - number of working days for corresponding month &lt;STRONG&gt;sale month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;year month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate average sales for each day in a month w.r.t.o number of working day in month in a pivot table in Dashboard using&lt;/P&gt;&lt;P&gt;Set Analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 12pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74150_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 09:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785528#M1041572</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2014-12-24T09:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785529#M1041573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi Raj&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;The Networkdays() function would be useful to calculate the working days.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;See the description and the link below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;networkdays (&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;start:date, end_date {, holiday}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;Returns the number of working days (Monday-Friday) between and including &lt;SPAN class="italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;start_date&lt;/SPAN&gt; and &lt;SPAN class="italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;end_date&lt;/SPAN&gt; taking into account any optionally listed &lt;SPAN class="italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;holidays&lt;/SPAN&gt;. All parameters should be valid dates or timestamps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;Examples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;networkdays ('2007-02-19', '2007-03-01')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt; returns 9 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt; returns 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;A _jive_internal="true" data-containerid="1151" data-containertype="700" data-objectid="407267" data-objecttype="2" href="https://community.qlik.com/message/407267#407267" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://community.qlik.com/message/407267#407267&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;Have fun with QV,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;François&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 09:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785529#M1041573</guid>
      <dc:creator>francoiscave</dc:creator>
      <dc:date>2014-12-24T09:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785530#M1041574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp; You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Out Put in Pivot table should look like&amp;nbsp; this&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex;&amp;nbsp; January average&amp;nbsp; = January net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb average&amp;nbsp; = Feb net sale / Feb working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; March average&amp;nbsp; = March net sale / March working days &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instead it is calculating wrongly&lt;/STRONG&gt; as(actually my expression is wrong)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; January average&amp;nbsp; = January net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb average&amp;nbsp; = Feb net sale / January working days &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; March average&amp;nbsp; = March net sale / January working days&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74152_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 10:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785530#M1041574</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2014-12-24T10:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785531#M1041575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below image. Its help ful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Average Sales = Net Sales / Worikng Days. I'm applying this formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Sum([Net Sale])/Sum([working days]) -- Expression for Average Sales&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="74188" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74188_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this, I hope its help ful for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub2u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 04:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785531#M1041575</guid>
      <dc:creator />
      <dc:date>2014-12-25T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785532#M1041576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="1016" data-externalid="" data-online="false" data-presence="null" data-userid="167868" data-username="Sub2u444" href="https://community.qlik.com/people/Sub2u444" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; text-decoration: underline; background-color: #f6f6f6;"&gt;Sub2a Red2y&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same expression but my Question is if month is Jan then it should lookup for Jan working days &lt;/P&gt;&lt;P&gt;I had some&amp;nbsp; mistakes done on date formats &lt;/P&gt;&lt;P&gt;the sales table date format is on 'yyyy-mm' and working days date format is ' mm' ' yyyy'&amp;nbsp; while&amp;nbsp; joining these two tables the expression&lt;/P&gt;&lt;P&gt;sum([sales])/ workingdays&lt;/P&gt;&lt;P&gt; didn't matched up but,&amp;nbsp; Now I changed the format of the date,&amp;nbsp; the&amp;nbsp; expression condition working, Thank you for guidance,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 15:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785532#M1041576</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2014-12-29T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785533#M1041577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In previous file ur data showing in working days field is 24.0000, so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach the sample file .&lt;/P&gt;&lt;P&gt;so that we can help you in better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sub2u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 16:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-All/m-p/785533#M1041577</guid>
      <dc:creator />
      <dc:date>2014-12-29T16:08:29Z</dc:date>
    </item>
  </channel>
</rss>

