<?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: Help With Highlighting Cells Created The Last 7 Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35326#M5950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Olivier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I do use Date in the load script for CREATED DATE.&amp;nbsp; I tried your suggestion, but I was having a hard time getting CREATED DATE to display until I remembered I do &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;CREATE_DATE&lt;/SPAN&gt;, 'MM/DD/YYYY') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[CREATED DATE].&amp;nbsp; So, in tracing Today() and CREATE_DATE, I get 3/28/2018 for Today() and nothing for CREATE_DATE.&amp;nbsp; I added a trace for Now() and I get &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3/30/2018 12:55:21 PM.&amp;nbsp; Shouldn't Today() have returned the same date as Now()?&amp;nbsp; How do I show CREATE_DATE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2018 16:58:10 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2018-03-30T16:58:10Z</dc:date>
    <item>
      <title>Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35324#M5948</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to highlight cells via the Background Color for Dimensions and Background Color for a couple of expressions to yellow if the order was created &amp;lt;= the last 7 days.&amp;nbsp; I've been trying&amp;nbsp; &lt;SPAN&gt;=&lt;SPAN&gt;If&lt;/SPAN&gt;(&lt;SPAN&gt;Today&lt;/SPAN&gt;() - &lt;SPAN&gt;[CREATED DATE]&lt;/SPAN&gt; &amp;lt;= 7, &lt;SPAN&gt;Yellow&lt;/SPAN&gt;()), but it's not working as expected.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 21:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35324#M5948</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-12T21:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35325#M5949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;as usual in this case, verify the format of your date column&lt;/P&gt;&lt;P&gt;try to use date or date# function to be sure that it is comparable with the result of today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;let a =today();&lt;/P&gt;&lt;P&gt;let b= [CREATED DATE];&lt;/P&gt;&lt;P&gt;trace $(a) $(b);&lt;/P&gt;&lt;P&gt;and see the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 15:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35325#M5949</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-30T15:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35326#M5950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Olivier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I do use Date in the load script for CREATED DATE.&amp;nbsp; I tried your suggestion, but I was having a hard time getting CREATED DATE to display until I remembered I do &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;CREATE_DATE&lt;/SPAN&gt;, 'MM/DD/YYYY') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[CREATED DATE].&amp;nbsp; So, in tracing Today() and CREATE_DATE, I get 3/28/2018 for Today() and nothing for CREATE_DATE.&amp;nbsp; I added a trace for Now() and I get &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3/30/2018 12:55:21 PM.&amp;nbsp; Shouldn't Today() have returned the same date as Now()?&amp;nbsp; How do I show CREATE_DATE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 16:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35326#M5950</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2018-03-30T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35327#M5951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if date() applied to rated date returns nothing, thatmeans it not the correct format&lt;/P&gt;&lt;P&gt;try to see the original value of created date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35327#M5951</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-30T17:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35328#M5952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may have confused things.&amp;nbsp; Sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_DATE is loaded at load script run time as CREATE&lt;STRONG&gt;D&lt;/STRONG&gt;_DATE using &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;CREATE_DATE&lt;/SPAN&gt;, 'MM/DD/YYYY') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[CREATED DATE].&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;Per your suggestion, I added the following lines of code on the first tab as one&amp;nbsp; of the first items and on the last tab as the very last thing&lt;/SPAN&gt;:&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="color: #0000ff; font-size: 12pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;a&lt;/EM&gt;&lt;/STRONG&gt; =&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;() &amp;amp; ' Todays Date';&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;b&lt;/EM&gt;&lt;/STRONG&gt;= &lt;SPAN style="color: #800000;"&gt;[CREATE_DATE]&lt;/SPAN&gt; &amp;amp; ' Is Created Date';&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;c&lt;/EM&gt;&lt;/STRONG&gt; =&lt;SPAN style="color: #0000ff;"&gt;now&lt;/SPAN&gt;() &amp;amp; ' Is Nows Date';&amp;nbsp; //&amp;lt;--I added Now() to see if it gave a different result than Today()&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;trace&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(a)&lt;/EM&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(b)&lt;/EM&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(c)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;today() returns a date of 3/28/2018 which is wrong, I believe.&amp;nbsp; It should be 3/30/2018.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CREATE_DATE does not return anything. Maybe that's because it hasn't been loaded yet????&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;now() returns today's date with a timestamp as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Once the reload is complete, I can see that CREATED_DATE is loaded and in the MM/DD/YYYY format in the straight table I have it displayed in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35328#M5952</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2018-03-30T17:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35329#M5953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have a look at the qlik documentation on various options of today and see what it gives&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35329#M5953</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-30T17:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35330#M5954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; So it looks like I need to use Today(1) as that returns today's date.&amp;nbsp; Changing my expression to &lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;(1) - &lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[CREATED DATE]&lt;/SPAN&gt;, 'MM/DD/YYYY') &amp;lt; 8, &lt;SPAN style="color: #0000ff;"&gt;Yellow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;()) still does not highlight the cells in yellow.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35330#M5954</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2018-03-30T18:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Highlighting Cells Created The Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35331#M5955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; This is embarrassing.&amp;nbsp; I got it.&amp;nbsp; Might help if I include CREATED DATE as a Dimension in the straight table.&amp;nbsp; I added it and now cells are highlighting as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your patience and the pointers.&amp;nbsp; I did still learn something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Highlighting-Cells-Created-The-Last-7-Days/m-p/35331#M5955</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2018-03-30T18:18:18Z</dc:date>
    </item>
  </channel>
</rss>

