<?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 Set analysis with Today() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Today/m-p/475533#M177594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&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 button with a action that sets a report date to today. If the data has today's data then it will show although if there is no data for today, I was expecting qlikview to hide the data on the page but it doesn't do anything because it can't find today's data in the data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On Action tab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Field = Report Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Search String = &lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;(), 'DD/MM/YYYY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there any way I can hide all data if no today's data is found. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&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>Wed, 25 Sep 2013 12:53:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-25T12:53:50Z</dc:date>
    <item>
      <title>Set analysis with Today()</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Today/m-p/475533#M177594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&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 button with a action that sets a report date to today. If the data has today's data then it will show although if there is no data for today, I was expecting qlikview to hide the data on the page but it doesn't do anything because it can't find today's data in the data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On Action tab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Field = Report Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Search String = &lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;(), 'DD/MM/YYYY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there any way I can hide all data if no today's data is found. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&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>Wed, 25 Sep 2013 12:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-Today/m-p/475533#M177594</guid>
      <dc:creator />
      <dc:date>2013-09-25T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with Today()</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Today/m-p/475534#M177595</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;You can search for the max date at after load and put into a variable, and use this variable to Enable / Show Condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st. Step&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;______________________________________________________________________&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Insert this code bellow the fact table load.&lt;/P&gt;&lt;P&gt;//********************Peek the max date ***************************&lt;/P&gt;&lt;P&gt;tmp:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as max_date&lt;/P&gt;&lt;P&gt;Resident FactTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET VariableMaxDate=peek('max_date',0,'tmp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table tmp;&lt;/P&gt;&lt;P&gt;//*************************************** ***************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd. Step&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;______________________________________________________________________&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Put the condition on the object,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46905_1.png" style="width: 620px; height: 520px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46906_2.png" style="width: 620px; height: 521px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 18:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-Today/m-p/475534#M177595</guid>
      <dc:creator />
      <dc:date>2013-09-25T18:27:20Z</dc:date>
    </item>
  </channel>
</rss>

