<?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 calculate select field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182777#M48268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all!!&lt;/P&gt;&lt;P&gt;I changed my qvw to do my pivot tables acumulatives, but I lost one filtering criteria that it was useful for me. So I thought I could calculate it in multi box. I wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;IF(SUM({$&amp;lt;MONTH={'&amp;lt;=$(=MONTH)'}, DIARIO={'BSS'} &amp;gt;} IMP_DIARIO)&amp;gt;0,'SD','SH')&lt;/P&gt;&lt;P&gt;I know that it works correctl, but when I accept it its name is painted in grey and I can´t select any value (SD or SH) to filtering my data.&lt;/P&gt;&lt;P&gt;What´s wrong in my approach?&lt;/P&gt;&lt;P&gt;Thanks for your answers&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 19:05:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-24T19:05:10Z</dc:date>
    <item>
      <title>calculate select field</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182777#M48268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all!!&lt;/P&gt;&lt;P&gt;I changed my qvw to do my pivot tables acumulatives, but I lost one filtering criteria that it was useful for me. So I thought I could calculate it in multi box. I wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;IF(SUM({$&amp;lt;MONTH={'&amp;lt;=$(=MONTH)'}, DIARIO={'BSS'} &amp;gt;} IMP_DIARIO)&amp;gt;0,'SD','SH')&lt;/P&gt;&lt;P&gt;I know that it works correctl, but when I accept it its name is painted in grey and I can´t select any value (SD or SH) to filtering my data.&lt;/P&gt;&lt;P&gt;What´s wrong in my approach?&lt;/P&gt;&lt;P&gt;Thanks for your answers&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 19:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182777#M48268</guid>
      <dc:creator />
      <dc:date>2011-01-24T19:05:10Z</dc:date>
    </item>
    <item>
      <title>calculate select field</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182778#M48269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You may need to use Aggr() function in this calculation to display values properly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=IF(&lt;B&gt;Aggr(&lt;/B&gt;SUM({$&amp;lt;MONTH={'&amp;lt;=$(=MONTH)'}, DIARIO={'BSS'} &amp;gt;} IMP_DIARIO)&lt;B&gt;, FieldName)&lt;/B&gt;&amp;gt;0,'SD','SH')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;FieldName is the name of the dimension used to get those "SD" and "SH" values.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 19:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182778#M48269</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-01-24T19:22:17Z</dc:date>
    </item>
    <item>
      <title>calculate select field</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182779#M48270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel A.!! Nice to meet you again!!&lt;/P&gt;&lt;P&gt;Your solution is almost ok, but something is going wrong. I explain what I´m looking for. My objetive is to detect mistakes in accounting like import positive when it must be negative and viceversa.&lt;/P&gt;&lt;P&gt;In that way, I´ve got a field that tells me if one account must be positive or negative in theory. And the field you are helping me to define is what plus/minus sign actually has.&lt;/P&gt;&lt;P&gt;On my start position I can select SD or SH values, but when I do some selection and I want to get back to start other selection or I don´t have two values or filtering criteria doesn´t work properly.&lt;/P&gt;&lt;P&gt;Actually, my expresion is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;IF(AGGR(SUM({$&amp;lt;MONTH={'&amp;lt;=$(=MONTH)'}, DIARIO={'BSS'} &amp;gt;} IMP_DIARIO), SOCIEDAD&amp;amp;'-'&amp;amp;CTA)&amp;gt;0,'SD','SH'))&lt;/P&gt;&lt;P&gt;It´s my first time using aggr formula. Is somthing worng?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 19:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-select-field/m-p/182779#M48270</guid>
      <dc:creator />
      <dc:date>2011-01-24T19:49:54Z</dc:date>
    </item>
  </channel>
</rss>

