<?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: Expression to select anything less than field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275358#M400678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date={"&amp;lt;= $(=max(date))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;make sure date formats are matching.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 07:19:40 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2017-02-15T07:19:40Z</dc:date>
    <item>
      <title>Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275355#M400675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I write in an expression that selects anything less than the selected date?&lt;/P&gt;&lt;P&gt;So for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;1st Jan 2017&lt;/P&gt;&lt;P&gt;1st Feb 2017&lt;/P&gt;&lt;P&gt;1st Mar 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select 1st Mar 2017,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression will show data for any dates &amp;lt;= 1st Mar 2017. In this case, it will show 1st Jan 2017, 1st Feb 2017 and 1st Mar 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for something like below. But below doesn't work.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Date2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BONDMASTER_INSTRUMENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'CD', 'CP'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(='(&amp;lt;='&amp;amp;[Date2]')')"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;M_TP_NOMINAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EXC_RATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275355#M400675</guid>
      <dc:creator />
      <dc:date>2017-02-15T07:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275356#M400676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATE = {"$('&amp;lt;=' &amp;amp; =Max(DATE))"}&amp;gt;}Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275356#M400676</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-15T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275357#M400677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date={"&amp;lt;=$(=Max(Date))"}&amp;gt;} Measure)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275357#M400677</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-02-15T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275358#M400678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date={"&amp;lt;= $(=max(date))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;make sure date formats are matching.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275358#M400678</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2017-02-15T07:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275359#M400679</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 am nt sure about ur data.But it can be done like using modifier like this:&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;{&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;={'&amp;lt;=GetFieldSelections(DAte)'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM&lt;SPAN style="font-size: 8pt;"&gt;({&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;={'&amp;lt;=GetFieldSelections(DAte)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Your_filed_name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plss try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275359#M400679</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-15T07:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275360#M400680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As u want something less than selected date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u use &lt;STRONG&gt;GetFieldSelections&lt;/STRONG&gt; to compare as said above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275360#M400680</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-15T07:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to select anything less than field</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275361#M400681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Date2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BONDMASTER_INSTRUMENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'CD', 'CP'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;={&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;STRONG&gt;"&amp;gt;=$(=date(max(DATE)))&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;M_TP_NOMINAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EXC_RATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-select-anything-less-than-field/m-p/1275361#M400681</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-02-15T07:31:37Z</dc:date>
    </item>
  </channel>
</rss>

