<?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: Ignoring specific dimension in AGGR function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857283#M300335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore dimension in Aggr:&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Aggr(Sum(value), dim1, dim2 &amp;lt;dim3, dim4&amp;gt;) where dim3 and dim4 are the dimension you need to be excludeed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 14:36:30 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-06-09T14:36:30Z</dc:date>
    <item>
      <title>Ignoring specific dimension in AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857281#M300333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, I have a requirement to show the &lt;STRONG&gt;Accuracy% (Fact)&lt;/STRONG&gt; value for Each &lt;STRONG&gt;Month/Year (Dim)&lt;/STRONG&gt; irrespective of user made any selections on Month/Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data like: &lt;STRONG style="color: #0000ff;"&gt;Metric, Month/Year , Parent_Supplier_ID , &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Supplier_ID , Item_ID , Document_ID&lt;/STRONG&gt; , &lt;STRONG style=": ; color: #ff0000;"&gt;Actual_Lead_Time, 855_Lead_Time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Blue -- Dimensions&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Red -- Facts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User can made selection only on &lt;STRONG style="color: #0000ff; font-size: 13.3333330154419px;"&gt;Month/Year , Parent_Supplier_ID , &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Supplier_ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to create a Line chart that shows the Accuracy% of Month/Year for either &lt;STRONG style="color: #0000ff; font-size: 13.3333330154419px;"&gt; Parent_Supplier_ID or &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Supplier_ID &lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;means user first select&lt;STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Month/Yea&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;r&lt;/SPAN&gt; &lt;STRONG&gt;AND&lt;/STRONG&gt; (&lt;STRONG style="color: #0000ff; font-size: 13.3333330154419px;"&gt;Parent_Supplier_ID or &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Supplier_ID&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accuracy% Definition : { Count of ItemID onli if&amp;nbsp; ItemID avg Actual_Lead_Time&amp;nbsp; - ItemId avg 855_Lead_Time range of -2 to 2 } / {Count of Distinct ItemID } per Month/Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg {Actual/855}Lead Time = Sum( &lt;SPAN style="font-size: 13.3333330154419px;"&gt;{Actual/855}&lt;/SPAN&gt;Lead_Time ) / Count( Docuement_ID)&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: 13px;"&gt;Denominator : &lt;STRONG&gt;Count({&amp;lt;[Month/Year]=, MetricName = {'855Accuracy'}&amp;gt;} DISTINCT ItemID )&lt;/STRONG&gt;&amp;nbsp; &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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Numerator : &lt;/SPAN&gt;&lt;STRONG&gt;Sum(IF( Aggr(&amp;nbsp; fabs(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} Actual_Lead_Time ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} [855_Lead_Time] ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) ) , [Month/Year],Supplier_ID, ItemID ) &amp;lt;= 2 , 1, 0) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Numerator expression working fine I made selections on the &lt;STRONG style="color: #0000ff; font-size: 13.3333330154419px;"&gt;Parent_Supplier_ID or &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Supplier_ID &lt;/STRONG&gt;but I made &lt;STRONG style="color: #0000ff;"&gt;Month/Year&lt;/STRONG&gt; the other Month/Year values showing 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats wrong the above expression ? How to Ignore the Month/Year selections with in AGGR function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the sample qvw for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857281#M300333</guid>
      <dc:creator />
      <dc:date>2015-06-09T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring specific dimension in AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857282#M300334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if you want ignore some of the selections you need to put them in the function enclosing the Aggr(), and also in the functions inside Aggr() as you're doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Numerator : &lt;/SPAN&gt;Sum(&lt;STRONG&gt;{&amp;lt;[Month/Year]=&amp;gt;}&lt;/STRONG&gt; IF( Aggr(&amp;nbsp; fabs(&lt;/P&gt;&lt;P&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} Actual_Lead_Time ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) - &lt;/P&gt;&lt;P&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} [855_Lead_Time] ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) ) , [Month/Year],Supplier_ID, ItemID ) &amp;lt;= 2 , 1, 0) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857282#M300334</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-09T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring specific dimension in AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857283#M300335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore dimension in Aggr:&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Aggr(Sum(value), dim1, dim2 &amp;lt;dim3, dim4&amp;gt;) where dim3 and dim4 are the dimension you need to be excludeed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857283#M300335</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-06-09T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring specific dimension in AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857284#M300336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Month/Year]&amp;gt;}&lt;/SPAN&gt;IF( Aggr(&amp;nbsp; fabs(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} Actual_Lead_Time ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( sum({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;} [855_Lead_Time] ) / Count({1&amp;lt;[Month/Year]= ,[MetricName]={'855Accuracy'}&amp;gt;}&amp;nbsp; Document_ID) ) ) , [Month/Year],Supplier_ID, ItemID ) &amp;lt;= 2 , 1, 0) )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857284#M300336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-09T14:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring specific dimension in AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857285#M300337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added the Month/Year ignore set expression on outer sum function and works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no documentation on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-specific-dimension-in-AGGR-function/m-p/857285#M300337</guid>
      <dc:creator />
      <dc:date>2015-06-09T15:16:04Z</dc:date>
    </item>
  </channel>
</rss>

