<?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 counting where date &amp;lt; calculated date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120014#M18440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dimension called yearsubcribe.&lt;/P&gt;&lt;P&gt;In a listbox I select a date (date_sel).&lt;/P&gt;&lt;P&gt;Now I want to count clients who subcribed before month and day of date selected .&lt;/P&gt;&lt;P&gt;It it possible that clients subcribe in year before year of subcription.(so daynumber of year won't work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I constructed this expression:&lt;/P&gt;&lt;P&gt;count ( distinct {&amp;lt; date_subcription ={"&amp;lt;=&amp;nbsp; date(date(date_sel,'DD')&amp;amp;'-' &amp;amp; date(date_sel,'MM')&amp;amp; '-' &amp;amp; text(yearsubcribe),'DD-MM-YYYY')"}&amp;gt;} clientid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to use a dimension value in this expression or&lt;/P&gt;&lt;P&gt; do i make another mistake ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2018 10:21:03 GMT</pubDate>
    <dc:creator>curiousfellow</dc:creator>
    <dc:date>2018-10-19T10:21:03Z</dc:date>
    <item>
      <title>counting where date &lt; calculated date</title>
      <link>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120014#M18440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dimension called yearsubcribe.&lt;/P&gt;&lt;P&gt;In a listbox I select a date (date_sel).&lt;/P&gt;&lt;P&gt;Now I want to count clients who subcribed before month and day of date selected .&lt;/P&gt;&lt;P&gt;It it possible that clients subcribe in year before year of subcription.(so daynumber of year won't work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I constructed this expression:&lt;/P&gt;&lt;P&gt;count ( distinct {&amp;lt; date_subcription ={"&amp;lt;=&amp;nbsp; date(date(date_sel,'DD')&amp;amp;'-' &amp;amp; date(date_sel,'MM')&amp;amp; '-' &amp;amp; text(yearsubcribe),'DD-MM-YYYY')"}&amp;gt;} clientid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to use a dimension value in this expression or&lt;/P&gt;&lt;P&gt; do i make another mistake ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 10:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120014#M18440</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-10-19T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: counting where date &lt; calculated date</title>
      <link>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120015#M18441</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count ( distinct {&amp;lt; date_subcription ={"$(='&amp;lt;=' &amp;amp;&amp;nbsp; date(date(date_sel,'DD')&amp;amp;'-' &amp;amp; date(date_sel,'MM')&amp;amp; '-' &amp;amp; text(yearsubcribe),'DD-MM-YYYY'))"}&amp;gt;} clientid)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 11:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120015#M18441</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-10-19T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: counting where date &lt; calculated date</title>
      <link>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120016#M18442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work, Thnx &lt;/P&gt;&lt;P&gt;Is missed a bracket, but besides and went wrong with this piece &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;={"$(='&amp;lt;=' &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>Fri, 19 Oct 2018 11:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120016#M18442</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-10-19T11:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: counting where date &lt; calculated date</title>
      <link>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120017#M18443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just syntax error) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 11:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-where-date-lt-calculated-date/m-p/120017#M18443</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-10-19T11:20:37Z</dc:date>
    </item>
  </channel>
</rss>

