<?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: set analysis 2 - dynamic dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134441#M510168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your solution works as well, thank you for your help, I really appreciate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 06:14:05 GMT</pubDate>
    <dc:creator>jakobjosef</dc:creator>
    <dc:date>2018-08-14T06:14:05Z</dc:date>
    <item>
      <title>set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134435#M510162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already thought that the AGGR function should help, but unfortunately it did not.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is some easy data: (Document attached as well)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QVb.PNG" class="jive-image image-1" height="435" src="https://community.qlik.com/legacyfs/online/210687_QVb.PNG" width="245" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruber and Jeremiah never sold something. I want this view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee&amp;nbsp;&amp;nbsp;&amp;nbsp; Working hours&lt;/P&gt;&lt;P&gt;Abu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 48&lt;/P&gt;&lt;P&gt;Jack&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 48&lt;/P&gt;&lt;P&gt;John&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 48&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruber &amp;amp; Jeremiah never sold anything, so I dont want them in the List.&lt;/P&gt;&lt;P&gt;fyi: "if(SalesAmount&amp;gt;0,Sum(WorkingHours)" doesn't work, cause QV just sums&amp;nbsp; up (ONLY) the days where something got sold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking forward to your proposals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134435#M510162</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-08-13T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134436#M510163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But there are few missing sales for employees on few dates, you want to consider hours for those dates with out sales amount?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this as your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum({&amp;lt;[Sales Amount] = {"&amp;gt;0"} &amp;gt;} [Working hours])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134436#M510163</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-13T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134437#M510164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, Vishwarath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sales are not missing, there are just no sales on this dates. Employees do not sell something every day. &lt;/P&gt;&lt;P&gt;So yes, I want to consider hours for those dates without sales amont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your proposal, unfortunately&lt;SPAN style="text-decoration: underline;"&gt; it just sums up the hours of days, on which something got sold&lt;/SPAN&gt;. But I want to sum up ALL hours, if there was a sale at any time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134437#M510164</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-08-13T15:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134438#M510165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After an initial false start - how about;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(aggr(sum([Sales Amount]), Employee, MthYear)&amp;gt;0,Sum(Total &amp;lt;Employee, MthYear&amp;gt; [Working hours]),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where MthYear is a calculated field added at load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134438#M510165</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2018-08-13T15:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134439#M510166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in your straight table&lt;/P&gt;&lt;P&gt;Add Dim: Employee&lt;/P&gt;&lt;P&gt;Expr:&lt;/P&gt;&lt;P&gt;= Sum(IF(Aggr(NODISTINCT Sum([Sales Amount]), Employee)=0, 0,[Working hours]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210688_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134439#M510166</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-13T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134440#M510167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. With your expression, all values are summed up (not just the ones of the month I seleced), but i know how to deal with this problem. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 06:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134440#M510167</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-08-14T06:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis 2 - dynamic dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134441#M510168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your solution works as well, thank you for your help, I really appreciate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 06:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-2-dynamic-dimension/m-p/134441#M510168</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-08-14T06:14:05Z</dc:date>
    </item>
  </channel>
</rss>

