<?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: aggr count distinct optimization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1671774#M729404</link>
    <description>&lt;P&gt;It would be easier to respond to this if we have a sample where we can test out a solution.... Without a sample the only thing you can look into changing is to move the if statement (&lt;SPAN&gt;WildMatch(ID,'GR*')) to the backend to create a flag in the script.... the flag can be used in set analysis...&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 13:17:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-02-03T13:17:19Z</dc:date>
    <item>
      <title>aggr count distinct optimization</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1671727#M729402</link>
      <description>&lt;P&gt;I want the following code to be optimized. can anyone please help me on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(count(if(WildMatch(ID,'GR*')&amp;gt;0,&lt;BR /&gt;aggr(count({&amp;lt;idStatut={14}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,Gln_Name_Dpt,ID),&lt;BR /&gt;aggr(count({&amp;lt;idStatut={14}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,ID)))&lt;BR /&gt;-&lt;BR /&gt;count(if(WildMatch(ID,'GR*')&amp;gt;0,&lt;BR /&gt;aggr(count({&amp;lt;idStatut={12}, idResp={'CARRIER'}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,Gln_Name_Dpt,ID),&lt;BR /&gt;aggr(count({&amp;lt;idStatut={12}, idResp={'CARRIER'}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,ID))))&lt;BR /&gt;/&lt;BR /&gt;count(if(WildMatch(ID,'GR*')&amp;gt;0,&lt;BR /&gt;aggr(count({&amp;lt;idStatut={14}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,Gln_Name_Dpt,ID),&lt;BR /&gt;aggr(count({&amp;lt;idStatut={14}&amp;gt;}DISTINCT ID),Wse_Name,[Channel Name],MoisePrévu,Corpo_Name,ID)))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1671727#M729402</guid>
      <dc:creator>lprasanth</dc:creator>
      <dc:date>2024-11-16T01:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: aggr count distinct optimization</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1671774#M729404</link>
      <description>&lt;P&gt;It would be easier to respond to this if we have a sample where we can test out a solution.... Without a sample the only thing you can look into changing is to move the if statement (&lt;SPAN&gt;WildMatch(ID,'GR*')) to the backend to create a flag in the script.... the flag can be used in set analysis...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 13:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1671774#M729404</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-03T13:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: aggr count distinct optimization</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1679583#M729405</link>
      <description>&lt;P&gt;In addition to what Sunny posted, I can only add the following Design Blog posts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/When-should-the-Aggr-function-NOT-be-used/ba-p/1467855" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/When-should-the-Aggr-function-NOT-be-used/ba-p/1467855&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are likely some other posts that could be helpful too, so here is the base URL for the area you can use to search further on your own:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 17:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-count-distinct-optimization/m-p/1679583#M729405</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-26T17:08:27Z</dc:date>
    </item>
  </channel>
</rss>

