<?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: General Data Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706788#M723843</link>
    <description>&lt;P&gt;Can you try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;avg({$&amp;lt;PERIOD={'$(vMaxMonth)'},REQ_DATE=, TYPE_GRAPH = {'HOURLY'},REQ_HOUR = {"*"} &amp;gt;}total &amp;lt;WKDAY,REQ_HOUR&amp;gt; HOUR_VOLUME)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;quote around vMaxMonth&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 May 2020 19:17:01 GMT</pubDate>
    <dc:creator>Saravanan_Desingh</dc:creator>
    <dc:date>2020-05-30T19:17:01Z</dc:date>
    <item>
      <title>General Data Question</title>
      <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706786#M723842</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I need some assistance with a data question.&lt;/P&gt;&lt;P&gt;I have Sales info, per Salesman, per day, per hour.&amp;nbsp; Like this..&lt;/P&gt;&lt;P&gt;SalesMan Day&amp;nbsp; &amp;nbsp; WeekDay Hour Amount&lt;/P&gt;&lt;P&gt;Peter 20200501&amp;nbsp; Monday&amp;nbsp; &amp;nbsp;00&amp;nbsp; &amp;nbsp; &amp;nbsp; 501&lt;/P&gt;&lt;P&gt;Mark 20200501&amp;nbsp; &amp;nbsp;Monday&amp;nbsp; &amp;nbsp;12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;I need to calculate the Average Sales, Per Weekday, per Timeslot (Per SalesMan).&lt;/P&gt;&lt;P&gt;Not so difficult. But...sometimes there is a problem in the underlying data Source - where the 'Hour' is either blank or Null. Obviously this affects my average because it is completely skewed. (my expression in chart looks like this...fiy..(I tried with REQ_HOUR = {'* '} to get only NON NULL Values but that is not working as expected...&lt;/P&gt;&lt;P&gt;avg({$&amp;lt;PERIOD={$(vMaxMonth)},REQ_DATE=, TYPE_GRAPH = {'HOURLY'},&lt;STRONG&gt;REQ_HOUR = {"*"}&lt;/STRONG&gt; &amp;gt;}total &amp;lt;WKDAY,REQ_HOUR&amp;gt; HOUR_VOLUME)&lt;/P&gt;&lt;P&gt;Do you have any ideas on how I can address this issue? I have tried hard-coding a 'NULL' value as the Hour field, but it screws up all the&amp;nbsp; averages for that Salesman for other days in my chart (with 'normal' data I'd be dividing by 24 Distinct Hours, now I'd be dividing by 25...00 to 23 AND the 'Faulty' addition unassigned value.).&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706786#M723842</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: General Data Question</title>
      <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706788#M723843</link>
      <description>&lt;P&gt;Can you try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;avg({$&amp;lt;PERIOD={'$(vMaxMonth)'},REQ_DATE=, TYPE_GRAPH = {'HOURLY'},REQ_HOUR = {"*"} &amp;gt;}total &amp;lt;WKDAY,REQ_HOUR&amp;gt; HOUR_VOLUME)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;quote around vMaxMonth&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 19:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706788#M723843</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-30T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: General Data Question</title>
      <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706790#M723844</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;The Expression works as it is, but the result is wrong because of the underlying data issue i explained&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 19:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706790#M723844</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-05-30T19:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: General Data Question</title>
      <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706921#M723845</link>
      <description>&lt;P&gt;If you want to exclude Null and blank, try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REQ_HOUR = {"*?"}&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 17:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706921#M723845</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-05-31T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: General Data Question</title>
      <link>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706926#M723846</link>
      <description>Thank you Rob&lt;BR /&gt;</description>
      <pubDate>Sun, 31 May 2020 20:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Data-Question/m-p/1706926#M723846</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-05-31T20:20:58Z</dc:date>
    </item>
  </channel>
</rss>

