<?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: Pick Match() and Aggr Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380860#M817163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an issue and you can read related stuff here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Truck_KPI,'Own Truck Utilization'), Count(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; DISTINCT {&amp;lt;OWN_ship_flag = {"1"}&amp;nbsp; &amp;gt;} Plate_num))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2017 15:36:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-24T15:36:30Z</dc:date>
    <item>
      <title>Pick Match() and Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380859#M817161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue to display value desired with pick match().&lt;/P&gt;&lt;P&gt;I would like to display the total number of unique trucks , in my case I have 47 from Jan. to Apr.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(aggr(Count(DISTINCT {&amp;lt;OWN_ship_flag = {"1"}&amp;nbsp; &amp;gt;} Plate_num),Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV_1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174568_QV_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use same formula with Pick Match()&amp;nbsp; I have no result:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pick(match(Truck_KPI,'Own Truck Utilization'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;sum(aggr(Count(DISTINCT {&amp;lt;OWN_ship_flag = {"1"}&amp;nbsp; &amp;gt;} Plate_num),Month))&lt;/STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV_2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/174572_QV_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with &lt;STRONG&gt;NODISTINCT&lt;/STRONG&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;qualifier I have a result but not the figure I'm expecting which is 47.&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;&lt;BR /&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;Can someone help?&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;&lt;BR /&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;Thank you!&lt;/SPAN&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/Pick-Match-and-Aggr-Count/m-p/1380859#M817161</guid>
      <dc:creator>nabilbrahimi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pick Match() and Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380860#M817163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an issue and you can read related stuff here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Truck_KPI,'Own Truck Utilization'), Count(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; DISTINCT {&amp;lt;OWN_ship_flag = {"1"}&amp;nbsp; &amp;gt;} Plate_num))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380860#M817163</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-24T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pick Match() and Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380861#M817165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip, unfortunately TOTAL does not help....&lt;/P&gt;&lt;P&gt;However by adding synthetic dimension name in group by solved the issue:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;pick(match(Truck_KPI,'Own Truck Utilization'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum(aggr(Count(DISTINCT {&amp;lt;OWN_ship_flag = {"1"}&amp;nbsp; &amp;gt;} Plate_num),Month, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM style="text-decoration: underline;"&gt;Truck_KPI&lt;/EM&gt;&lt;/SPAN&gt;))&lt;/STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 08:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-and-Aggr-Count/m-p/1380861#M817165</guid>
      <dc:creator>nabilbrahimi</dc:creator>
      <dc:date>2017-08-25T08:50:17Z</dc:date>
    </item>
  </channel>
</rss>

