<?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: Date - 1 in set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115878#M509645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin, &lt;/P&gt;&lt;P&gt;I cannot see the whole expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 07:06:23 GMT</pubDate>
    <dc:creator>pascos88</dc:creator>
    <dc:date>2018-09-28T07:06:23Z</dc:date>
    <item>
      <title>Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115870#M509635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to count going 1 day back :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;date_lgn_timestamp=&lt;SPAN style="color: #ff0000;"&gt; {date_lgn_timestamp}-1&lt;/SPAN&gt; &amp;gt;} lgn_timestamp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can use this ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 15:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115870#M509635</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-09-27T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115871#M509636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pasquale, maybe with:&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({&amp;lt;date_lgn_timestamp=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt; {'$(=timestamp(date_lgn_timestamp-1))'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;gt;} lgn_timestamp)&lt;/SPAN&gt;&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;&lt;BR /&gt;&lt;/SPAN&gt;&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;But still can fail, timestamp format returned in $(=) should be the same as the are stored in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date_lgn_timestamp &lt;/SPAN&gt;field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 15:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115871#M509636</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-09-27T15:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115872#M509637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben thanks for the answer, &lt;/P&gt;&lt;P&gt;but doesn' t work fine.. &lt;/P&gt;&lt;P&gt;Please find attached a picture hope that could helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG alt="QlikPCT.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214656_QlikPCT.PNG" style="height: 70px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115872#M509637</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-09-28T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115873#M509639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pasquale, it won't work if there is a dimension with date, set analysis is calculated before the table, so the same date it's applied to all rows, also it will need a TOTAL qualifier to ignore date dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to retrieve the value of the row below you can use Below() function:&lt;/P&gt;&lt;P&gt;Below(count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date_lgn_timestamp))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115873#M509639</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-09-28T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115874#M509640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that gaps between dates can return unwanted results, check if it can work with your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115874#M509640</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-09-28T06:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115875#M509642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben, thank was really helpful,&lt;/P&gt;&lt;P&gt;now the problem is that for each column I have to trace 1 day back.. for the first column &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Below(count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;date_lgn_timestamp)) could be fine... but what happen now for the second and 3 column?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115875#M509642</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-09-28T06:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115876#M509643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2nd parameter of below can be used to jump more than one row:&lt;/P&gt;&lt;P&gt;2nd column: Below(count(date_lgn_timestamp)&lt;STRONG&gt;, 2&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3rd column: Below(count(date_lgn_timestamp)&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;, 3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/es-ES/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/InterRecordFunctions/below.htm" title="https://help.qlik.com/es-ES/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/InterRecordFunctions/below.htm"&gt;https://help.qlik.com/es-ES/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/InterRecordFunctions/below.ht…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115876#M509643</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-09-28T06:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115877#M509644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pls try this&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15381181041644200" jivemacro_uid="_15381181041644200"&gt;
&lt;P&gt;count({&amp;lt;date_lgn_timestamp= {"&amp;gt;=$(=Date(Max(date_lgn_timestamp) - 1))&amp;lt;=$(=Date(Max(date_lgn_timestamp) - 1))"} &amp;gt;} lgn_timestamp)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Justin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 07:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115877#M509644</guid>
      <dc:creator>justinphamvn</dc:creator>
      <dc:date>2018-09-28T07:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115878#M509645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin, &lt;/P&gt;&lt;P&gt;I cannot see the whole expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 07:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115878#M509645</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-09-28T07:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date - 1 in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115879#M509647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have attached a file in txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Justin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 07:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-1-in-set-expression/m-p/115879#M509647</guid>
      <dc:creator>justinphamvn</dc:creator>
      <dc:date>2018-09-28T07:29:20Z</dc:date>
    </item>
  </channel>
</rss>

