<?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: Text formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615937#M1103677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;i'm sorry, i don't understand what you mean by second condition. could you elaborate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but with the expression in my reply, it will work with multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;play with the conditions in the if statement if you need to add more conditions/requirements...&lt;/P&gt;&lt;P&gt;something like this should work for "if i wanted SPS to turn red when either SPS or MKT were selected":&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;for SPS text box,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Stop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '*MKT*' or &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Stop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '*SPS*'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 13:50:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-25T13:50:58Z</dc:date>
    <item>
      <title>Text formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615933#M1103673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example attached I click a stop i want the value in the second row down to turn RED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value in the box turns red if one is selected but goes off when another is selected which isnt what I want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i chose say Market St (MKT) and Shudehill (SHU) I would want them both to remain RED &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 18:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615933#M1103673</guid>
      <dc:creator />
      <dc:date>2014-03-24T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615934#M1103674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;use the following expression as calculated background color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;for MKT text box,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Stop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '*MKT*',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;similarly the other ones and modify as needed. red() can be replaced with your color of choice (even your color mix expression will work) and make sure you keep the two asterisks (*) inside the single quotes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 18:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615934#M1103674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-24T18:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615935#M1103675</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;Write like this in the text box for the text color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for VIC If(Match(Stop,'VIC'),LightRed())&amp;nbsp; &lt;/P&gt;&lt;P&gt;for MKT If(Match(Stop,'MKT') or GetSelectedCount(Stop)=0,LightRed())&amp;nbsp; &lt;/P&gt;&lt;P&gt;for SHU If(Match(Stop,'SHU') or GetSelectedCount(Stop)=0,LightRed())&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 18:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615935#M1103675</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-24T18:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Text formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615936#M1103676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats great thanks. May I ask what the code would be if i wanted to add a second condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie if i wanted SPS to turn red when either SPS or MKT were selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Te reason I ask this is that I want to add a line selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615936#M1103676</guid>
      <dc:creator />
      <dc:date>2014-03-25T11:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615937#M1103677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;i'm sorry, i don't understand what you mean by second condition. could you elaborate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but with the expression in my reply, it will work with multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;play with the conditions in the if statement if you need to add more conditions/requirements...&lt;/P&gt;&lt;P&gt;something like this should work for "if i wanted SPS to turn red when either SPS or MKT were selected":&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;for SPS text box,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Stop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '*MKT*' or &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Stop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '*SPS*'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 13:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-formatting/m-p/615937#M1103677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-25T13:50:58Z</dc:date>
    </item>
  </channel>
</rss>

