<?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: set analysis for older data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871782#M997538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you mean now by &lt;SPAN style="font-size: 13.33px;"&gt;Position01.BusinessMonth, you can exclude fields that you don't need in the condition&lt;/SPAN&gt;. Let me try again, seems to work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 14:41:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-02T14:41:04Z</dc:date>
    <item>
      <title>set analysis for older data</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871778#M997534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a book where the data is basically historic, so the date (can be 1-2 months) or longer is permanently ON as filter. It works ok for one day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like to have a query on the number of items as per yesterday so I am using something like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: #800000;"&gt;Position01.BusinessDate&lt;/SPAN&gt; = {'$(=date($(vPreviousBusinessDate)))'},&lt;SPAN style="color: #800000;"&gt;Position01.IsOtc&lt;/SPAN&gt; = {1}&amp;gt; }&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;%Key_BusinessDate_AccountCode_InstrumentID&lt;/SPAN&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This statement correctly gives me the number of items for yesterday. However, because I am using the &lt;/SPAN&gt;&lt;STRONG&gt;count({&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt; I think it now ignores the current selection and gives me totals as per the above condition but ignoring any current selection I may have. Is there a way to get the data I need but for the previous day but maintaining my current selection? If I use the $ instead of 1 then I get the current selection but not sure I can access the previous day's data. Any ideas how I can achieve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Panos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871778#M997534</guid>
      <dc:creator />
      <dc:date>2015-07-02T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for older data</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871779#M997535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Position01.BusinessDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; = {'$(=date($(vPreviousBusinessDate)))'} + &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Position01.IsOtc&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; = {$}&amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;%Key_BusinessDate_AccountCode_InstrumentID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871779#M997535</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-07-02T13:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for older data</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871780#M997536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Position01.BusinessDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; = {'$(=date($(vPreviousBusinessDate)))'} will overrule the current selections for the &lt;/SPAN&gt;Position01.BusinessDate field regardless of the set identifier $ or 1 you use. If you don't have selections in other date related field that influence the possible values in &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Position01.BusinessDate then you don't need to do anything else. Suppose you also have a field &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Position01.BusinessMonth and you did make a selection in that field. Then you can overrule that selection with &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Position01.BusinessMonth=:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;Position01.BusinessMonth=&lt;/STRONG&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Position01.BusinessDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; = {'$(=date($(vPreviousBusinessDate)))'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Position01.IsOtc&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; = {1}&amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;%Key_BusinessDate_AccountCode_InstrumentID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871780#M997536</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-02T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for older data</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871781#M997537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, not sure what you mean by &lt;SPAN style="font-size: 13.33px;"&gt;Position01.BusinessMonth. I would like to include the current filters dynamically in my set analysis condition (for previous date) if possible or good idea.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;My problem is that I can't apply the User Filters (Current Selection)&amp;nbsp; when I try to get data for the previous days. At the moment&amp;nbsp; if a user selects say Counterparty then Counterparty will be ignored as a filter for the previous day count().&amp;nbsp; It will be a filter for the current day but the previous day only has BusinessDate &amp;amp;&amp;nbsp; IsOtc as filters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871781#M997537</guid>
      <dc:creator />
      <dc:date>2015-07-02T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for older data</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871782#M997538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you mean now by &lt;SPAN style="font-size: 13.33px;"&gt;Position01.BusinessMonth, you can exclude fields that you don't need in the condition&lt;/SPAN&gt;. Let me try again, seems to work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-older-data/m-p/871782#M997538</guid>
      <dc:creator />
      <dc:date>2015-07-02T14:41:04Z</dc:date>
    </item>
  </channel>
</rss>

