<?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 Ignoring Dimension [MesAno Comercial] doesn´t work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447409#M802918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you select the dimension &lt;SPAN style="font-size: 13.3333px;"&gt;[MesAno Comercial]&amp;nbsp; the result is null. I´m ignoring the dimension but it doesn´t work. Can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=aggr(if((sum({$&amp;lt;[Data Comercial]={'$(=max(Date([Data Comercial])))'},[MesAno Comercial]=&amp;gt;}[Val Estoque venda])/&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos30D))'},[MesAno Comercial]=,[Tpo]-={$(TPODev)}&amp;gt;}valvenda)&amp;lt;=0.5) &lt;/P&gt;&lt;P&gt;and (sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos90D))'},[MesAno Comercial]=&amp;gt;}[Qt pedido compra]) &amp;lt;=0),CodDescr,Null()), CodDescr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Data Comercial]={'=$(=max(Date(DataAtual)))'},[MesAno Comercial]=&amp;gt;}[Qt. Disp]*[Preço venda])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Felisberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>felisberto_joao</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447409#M802918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you select the dimension &lt;SPAN style="font-size: 13.3333px;"&gt;[MesAno Comercial]&amp;nbsp; the result is null. I´m ignoring the dimension but it doesn´t work. Can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=aggr(if((sum({$&amp;lt;[Data Comercial]={'$(=max(Date([Data Comercial])))'},[MesAno Comercial]=&amp;gt;}[Val Estoque venda])/&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos30D))'},[MesAno Comercial]=,[Tpo]-={$(TPODev)}&amp;gt;}valvenda)&amp;lt;=0.5) &lt;/P&gt;&lt;P&gt;and (sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos90D))'},[MesAno Comercial]=&amp;gt;}[Qt pedido compra]) &amp;lt;=0),CodDescr,Null()), CodDescr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Data Comercial]={'=$(=max(Date(DataAtual)))'},[MesAno Comercial]=&amp;gt;}[Qt. Disp]*[Preço venda])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Felisberto&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/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447409#M802918</guid>
      <dc:creator>felisberto_joao</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447410#M802919</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 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;Dimension:&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;=aggr(if((sum({$&amp;lt;[Data Comercial]={'$(=max(Date([Data Comercial])))'},[MesAno Comercial]=&amp;gt;}[Val Estoque venda])/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos30D))'},[MesAno Comercial]=,[Tpo]-={$(TPODev)}&amp;gt;}valvenda)&amp;lt;=0.5)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and (sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos90D))'},[MesAno Comercial]=&amp;gt;}[Qt pedido compra]) &amp;lt;=0),CodDescr,&lt;STRONG style="color: #ff0000;"&gt;'Null'&lt;/STRONG&gt;), CodDescr)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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;Column:&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;=sum({&amp;lt;[Data Comercial]={$(=max(Date(DataAtual)))},[MesAno Comercial]=&amp;gt;}[Qt. Disp]*[Preço venda])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447410#M802919</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447411#M802920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sugestion didn´t work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It´s works only if there no selection or if you select the max dimension (201711)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlikcomunity1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184348_Qlikcomunity1.png" style="height: 489px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447411#M802920</guid>
      <dc:creator>felisberto_joao</dc:creator>
      <dc:date>2017-11-23T14:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447412#M802921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use MonthYear and expression first and then we can manipulate those&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 16:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447412#M802921</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T16:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447413#M802922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it´s more something like this but still doesn´t work.Look at the thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/167619" title="https://community.qlikview.com/thread/167619"&gt;Ignoring specific dimension in AGGR function | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(&lt;STRONG&gt;{&amp;lt;[MesAno Comercial]=&amp;gt;}&lt;/STRONG&gt;if((sum({$&amp;lt;[Data Comercial]={'$(=max(Date([Data Comercial])))'},[MesAno Comercial]=&amp;gt;}[Val Estoque venda])/&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos30D))'},[MesAno Comercial]=,[Tpo]-={$(TPODev)}&amp;gt;}valvenda)&amp;lt;=0.5) &lt;/P&gt;&lt;P&gt;and (sum({$&amp;lt;[Data Comercial]={'&amp;gt;=$(=Date(DataMenos90D))'},[MesAno Comercial]=&amp;gt;}[Qt pedido compra]) &amp;lt;=0)&lt;/P&gt;&lt;P&gt;,CodDescr,Null()), CodDescr)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 09:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447413#M802922</guid>
      <dc:creator>felisberto_joao</dc:creator>
      <dc:date>2017-11-24T09:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447414#M802923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The possible values of the dimensions in the Aggr() (CodDescr) reduce the Aggr() &lt;SPAN style="text-decoration: underline;"&gt;before&lt;/SPAN&gt; the set expressions in the Sum()s are executed. The only workaround for a dimension in this case is to create the dimension as a field in the back end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Aggr() is inside and aggregating function, like Sum(), then the outer Sum's set expression is executed before the Aggr() and you can then override the selections. A 'naked' Aggr(), however, is going to respond to selections and there is no way to override that AFAIK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 10:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447414#M802923</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-24T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447415#M802924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an another way to calculate the dimension? May be without Aggr() to return the desirred result?&lt;/P&gt;&lt;P&gt;If there isn´t solution i will do it on load but i prefer to do it on view mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Felisberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447415#M802924</guid>
      <dc:creator>felisberto_joao</dc:creator>
      <dc:date>2017-11-24T17:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension [MesAno Comercial] doesn´t work</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447416#M802925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you should consider not using a calculated dimension, and add the appropriate set filter to the expressions. In general, I would expect this to perform better, especially so in a large data model. It may be easier with some minor back end mods, such as pre-calculating &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Data Comercial] = {'$(=Max(Date([Data Comercial])))'}, [MesAno Comercial]&amp;gt;} [Val Estoque venda]) /&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({$&amp;lt;[Data Comercial] = {'&amp;gt;=$(=Date(DataMenos30D))'}, [MesAno Comercial], [Tpo] -= {$(TPODev)}&amp;gt;} valvenda)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that the values DataMenos30D, DataMenos90D and TPODev are variables and not fields. If that is not true, then the set expression may not work at all. If they have more than one possible value, they will evaluate to null() and so willl not filter in the way that you intend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 04:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-MesAno-Comercial-doesn-t-work/m-p/1447416#M802925</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-27T04:34:43Z</dc:date>
    </item>
  </channel>
</rss>

