<?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 including current selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959176#M963715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you say 'currently selected department', does that mean that you actually selected a department first?&lt;/P&gt;&lt;P&gt;Perhaps you can show us what you're doing by posting a small qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2015 15:45:49 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-10-12T15:45:49Z</dc:date>
    <item>
      <title>Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959175#M963714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am creating a trellis chart and looking to create a dynamic title for each sub-chart such that each title should show me the total count beside each department name. However, as my department comes from a calculated dimension, I am unable to concatenate the count based on current selection.&lt;/P&gt;&lt;P&gt;Eg. Dimension: if(lbtype='Preferred' and ImpDept=ActDept, ActDept) &amp;amp; '(' &amp;amp; Count({$&amp;lt;Year={$(vCurrentYear)}&amp;gt;} Distinct ID) &amp;amp; ')'&lt;/P&gt;&lt;P&gt;This gives me the Department Name concatenated with the count for this year across all departments. However, I need to count based on year + the currently selected department.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959175#M963714</guid>
      <dc:creator />
      <dc:date>2015-10-12T13:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959176#M963715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you say 'currently selected department', does that mean that you actually selected a department first?&lt;/P&gt;&lt;P&gt;Perhaps you can show us what you're doing by posting a small qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 15:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959176#M963715</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-12T15:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959177#M963716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to post the exact data. But to reiterate, if I create a trellis chart (enabled on Department Name) the individual chart title will show the concerned dept name. What I want is also the total count of applications under it as such - DeptA(20), DeptB(40) and so on.&lt;/P&gt;&lt;P&gt;However, I am not using all the departments in my data and filtering the departments in the dimension as below- &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(lbtype='Preferred' and ImpDept=ActDept, ActDept).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Now when I try to concatenate the application count to the department name, it counts based on the current year but doesn't aggregate based on dept. Thus I get same count for each dept name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The dimension I'm using is as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(lbtype='Preferred' and ImpDept=ActDept, ActDept) &amp;amp; '(' &amp;amp; Count({$&amp;lt;Year={$(vCurrentYear)}&amp;gt;} Distinct ID) &amp;amp; ')'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;How can I modify this to aggregate the count based on each department?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope the above helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 15:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959177#M963716</guid>
      <dc:creator />
      <dc:date>2015-10-12T15:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959178#M963717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, you need a calculated dimension. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;if(lbtype='Preferred' and ImpDept=ActDept, ActDept) &amp;amp; '(' &amp;amp;&lt;STRONG&gt; Aggr(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;if(lbtype='Preferred' and ImpDept=ActDept,&lt;/SPAN&gt;Count({$&amp;lt;Year={$(vCurrentYear)}&amp;gt;} Distinct ID))&lt;STRONG&gt;,ActDept) &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&amp;amp; ')'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959178#M963717</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-12T16:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959179#M963718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. But the above gives me blank result for the count like - DeptA(), DeptB() &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959179#M963718</guid>
      <dc:creator />
      <dc:date>2015-10-12T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count including current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959180#M963719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a small qlikview document. Exact data is not needed. Only enough data to reproduce the problem. See this document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 05:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-including-current-selection/m-p/959180#M963719</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-13T05:06:57Z</dc:date>
    </item>
  </channel>
</rss>

