<?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: Get data value not affected by filter (List Box) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891441#M1004627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have your Date field values a dual representation, with a text value like 06/01/2015 and a numeric representation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 16:11:29 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-01T16:11:29Z</dc:date>
    <item>
      <title>Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891438#M1004621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your opinion on the following issue below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with the following columns. This table is used in my file's Load Script:&lt;/P&gt;&lt;P&gt;Date, &lt;/P&gt;&lt;P&gt;Data,&lt;/P&gt;&lt;P&gt;CurrentMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a List Box that is using &lt;SPAN style="font-size: 13.3333330154419px;"&gt;CurrentMonth. This List Box is used as a filter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the task I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select a specific CurrentMonth value I need to get the following:&lt;/P&gt;&lt;P&gt;find a Min (Date), subtract from it 7 days and get a Sum (Data) for the date I I get (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Min (Date) - 7&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891438#M1004621</guid>
      <dc:creator />
      <dc:date>2015-06-01T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891439#M1004623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;Date = {'$(=Date(min(Date)-7))'}&amp;gt;} Data)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891439#M1004623</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-01T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891440#M1004625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it doesn't work. I get zero value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891440#M1004625</guid>
      <dc:creator />
      <dc:date>2015-06-01T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891441#M1004627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have your Date field values a dual representation, with a text value like 06/01/2015 and a numeric representation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891441#M1004627</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-01T16:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891442#M1004629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, date values have dual representation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891442#M1004629</guid>
      <dc:creator />
      <dc:date>2015-06-01T16:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891443#M1004631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then the format of the values in Date field must match the format which is used in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(min(Date)-7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should return a date with a format used in your Date field, e.g. MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the format used in your field differs from the default format, you need to specify this format as argument to Date() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Date(min(Date)-7,'MM/DD/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Finally, this date returned needs to have a counter part in your Date field, you need to have records with Data values for that date.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891443#M1004631</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-01T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891444#M1004632</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;I tried the expression as mentioned in the reply to your question i.e.&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$(=Date(min(Date)-7))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) , Seems to be working fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please check the attached app. I used following inline data for example, it showed 7500 when I select feb in list box - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Date, Data, CurrentMonth&lt;BR /&gt; 01-01-2015, 100, Jan&lt;BR /&gt; 25-01-2015, 1500, Jan&lt;BR /&gt; 25-01-2015, 1500, Jan&lt;BR /&gt; 25-01-2015, 1500, Jan&lt;BR /&gt; 25-01-2015, 1500, Jan&lt;BR /&gt; 25-01-2015, 1500, Jan&lt;BR /&gt; 01-02-2015, 200, Feb&lt;BR /&gt; 05-02-2015, 300, Feb&lt;BR /&gt; 10-02-2015, 400, Feb&lt;BR /&gt; 01-03-2015, 300, Mar&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891444#M1004632</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-06-01T17:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get data value not affected by filter (List Box)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891445#M1004633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl, I am new to QlikView, got some learning from your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-value-not-affected-by-filter-List-Box/m-p/891445#M1004633</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-06-01T17:08:52Z</dc:date>
    </item>
  </channel>
</rss>

