<?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: Visual Cue Within an Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466933#M1166087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure what you want to do with the second row of RGB colors. The first is if &lt;EM&gt;expression&lt;/EM&gt; &amp;gt;='04:00' then &lt;/P&gt;&lt;P&gt;&lt;EM&gt;RGB(255,0,0) else RGB (255,255,255) &lt;/EM&gt;Now you need to add another statement&amp;nbsp; with a "OR" or an "AND" statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the formating you could try removing the ":" from the time format i.e. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Patient Admitted?]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0.95)/1440, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;'hhmm'&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;lt;='0400', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 12:41:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-04T12:41:00Z</dc:date>
    <item>
      <title>Visual Cue Within an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466929#M1166083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an inline table which helps populate a pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression is made up of numerous different calculations, all doing different things and as a result I am unable to use the visual cues tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also will need to do numerous visual cues within my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering how do I write a visual cue in an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an example below which I am trying to make the Text or background red if the value is less than 08:00&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: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Patient Admitted?]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0.95)/1440, 'hh:mm') &amp;lt;='08:00', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&amp;nbsp; --THIS IS THE POINT WHERE I WOULD REQUIRE ASSISTANCE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Patient Admitted?]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0.95)/1440, 'hh:mm')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466929#M1166083</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-10-04T11:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Cue Within an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466930#M1166084</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;In front of each expression (or expression group) an expansion icon (a box with a ' &lt;SPAN style="font-size: 11pt;"&gt;+&lt;/SPAN&gt; ' ) is shown. Clicking the icon opens up underlying sub-expressions or attribute expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add your expression to the"Text Color" option it should highlight all values&amp;nbsp; &amp;lt;='08:00' with the color red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to edit the color I would recommend using RGB(xxx,xxx,xxx) instead where xxx are the different RGB values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466930#M1166084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-04T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Cue Within an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466931#M1166085</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;Thanks for this...Very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466931#M1166085</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-10-04T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Cue Within an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466932#M1166086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if you could kindly help me with something else, visual cue based&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The information below alrday has a comma in it, so If I want to use and IF and ELSE expression, I would have to many commas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Patient Admitted?]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0.95)/1440, 'hh:mm')&amp;lt;='04:00', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;RGB(255, 0,0), RGB(255, 255, 255) , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt; color: #008000;"&gt;RGB(128&lt;/SPAN&gt;, 0,0), RGB(128, 128, 128) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, how do I format the '04:00', do I simply write 4 to get it match my interval in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice is greatly appreciated &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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 12:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466932#M1166086</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-10-04T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Cue Within an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466933#M1166087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure what you want to do with the second row of RGB colors. The first is if &lt;EM&gt;expression&lt;/EM&gt; &amp;gt;='04:00' then &lt;/P&gt;&lt;P&gt;&lt;EM&gt;RGB(255,0,0) else RGB (255,255,255) &lt;/EM&gt;Now you need to add another statement&amp;nbsp; with a "OR" or an "AND" statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the formating you could try removing the ":" from the time format i.e. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Patient Admitted?]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0.95)/1440, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;'hhmm'&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;lt;='0400', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 12:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-Within-an-Expression/m-p/466933#M1166087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-04T12:41:00Z</dc:date>
    </item>
  </channel>
</rss>

