<?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: Count Total Distinct Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90052#M760257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share this sample file to look into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2018 21:49:53 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-08-15T21:49:53Z</dc:date>
    <item>
      <title>Count Total Distinct Help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90049#M760254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me in the below formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Target Cartons = (Hours/count(TOTAL &amp;lt;Name&amp;gt; DISTINCT DATE_TIME))*29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am trying to distribute the hours worked for each hour and calculate target based on it. If ABC worked 4 hours, it should consider only 8/12 date and DATE_TIME of 8/12 and distribute among it and multiply by 29, so 1*29 = 29. But with above formula, it also counts the DATE_TIME of previous day and hence gives the output in the below second table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I correct the formula so as to get only the count of current days hours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SS.PNG" class="jive-image image-1" height="219" src="https://community.qlik.com/legacyfs/online/210969_SS.PNG" style="height: 219px; width: 864.841px;" width="865" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90049#M760254</guid>
      <dc:creator>haneeshmarella</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Total Distinct Help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90050#M760255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be add Date field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Target Cartons = (Hours/count(TOTAL &amp;lt;Name&amp;gt;&amp;nbsp; {&amp;lt;Date = {[$(=Date(DATE_TIME, 'M/DD/YYYY')))]} &amp;gt;} DISTINCT DATE_TIME))*29&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 21:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90050#M760255</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-15T21:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count Total Distinct Help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90051#M760256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No change in output, gives the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 21:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90051#M760256</guid>
      <dc:creator>haneeshmarella</dc:creator>
      <dc:date>2018-08-15T21:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count Total Distinct Help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90052#M760257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share this sample file to look into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 21:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90052#M760257</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-15T21:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count Total Distinct Help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90053#M760258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I got it, changed from Name to Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Hours/count(TOTAL &amp;lt;Date&amp;gt; DISTINCT DATE_TIME))*29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you for your responses though Vishwarath. &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 21:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Total-Distinct-Help/m-p/90053#M760258</guid>
      <dc:creator>haneeshmarella</dc:creator>
      <dc:date>2018-08-15T21:55:38Z</dc:date>
    </item>
  </channel>
</rss>

