<?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 Format, Color in Dimension of Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128491#M521376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Jonathan said, I think strikethrough is not available. However, to change the colour of dimension with the "(not active)" text, you can use the SubstringCount() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;=if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(SubstringCount([Dimension Noun],'(not active)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;')&amp;gt;0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(195,195,195), &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(0,0,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explaining: if there is one or more occurences of the substring "(not active)" in the dimension text, the color will be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;Depending on the type of your chart, you can not change the colour of dimension, only the colour of the respective expression value. Which type of chart are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2016 02:10:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-13T02:10:38Z</dc:date>
    <item>
      <title>Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128488#M521373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to personalize the Text Format in the Dimension of a&amp;nbsp; chart under a condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a element in the Dimension contain the word '(not active)' then I want to have this text with the function (strikethrough): &lt;SPAN style="text-decoration: line-through;"&gt;ABCD (not active).&lt;/SPAN&gt; In the same time I want to have this element with another Text Color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I have already tried a few solutions&lt;/SPAN&gt; but it doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #575757;"&gt;Dimensions ---&amp;gt; Text Format ---&amp;gt; Edit Expression: &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;([Dimension Noun]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='XYZ (not active)&lt;SPAN style="font-size: 8pt;"&gt;'&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(822) &amp;amp; 'XYZ (not active)' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(822), 'XYZ (not active)&lt;SPAN style="font-size: 8pt;"&gt;'&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimensions ---&amp;gt; Text Color ---&amp;gt; Edit Expression: &lt;/SPAN&gt; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;([Dimension Noun]='XYZ (not active)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(195,195,195), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0,0,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks in advance&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>Mon, 11 Jul 2016 11:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128488#M521373</guid>
      <dc:creator />
      <dc:date>2016-07-11T11:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128489#M521374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strike through is not available as a format option in the expression text/expressions style or custom formats, so I don't think its possible to conditionally display a strike through.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 13:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128489#M521374</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-07-11T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128490#M521375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, but can I change the Text Color ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 13:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128490#M521375</guid>
      <dc:creator />
      <dc:date>2016-07-11T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128491#M521376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Jonathan said, I think strikethrough is not available. However, to change the colour of dimension with the "(not active)" text, you can use the SubstringCount() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;=if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(SubstringCount([Dimension Noun],'(not active)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;')&amp;gt;0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(195,195,195), &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(0,0,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explaining: if there is one or more occurences of the substring "(not active)" in the dimension text, the color will be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;Depending on the type of your chart, you can not change the colour of dimension, only the colour of the respective expression value. Which type of chart are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 02:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128491#M521376</guid>
      <dc:creator />
      <dc:date>2016-07-13T02:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128492#M521377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcello;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your Answer, I'm using the Combo Chart. I have tried to write this expression into the Dimension -&amp;gt; Used Dimension -&amp;gt; Text Color but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to explain:&lt;/P&gt;&lt;P&gt; I have more than 20 sentences into the Dimension. I want that if within a sentence the expression (not active) will be found then all the sentence or just the expression (not active) became another color for example RGB (195,195,195).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression seems perfect but I don't know why it doesn't work!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regard&lt;/P&gt;&lt;P&gt;Mohamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 06:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128492#M521377</guid>
      <dc:creator />
      <dc:date>2016-07-13T06:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128493#M521378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Bar chart it didn't work, in Combo Chart wouldn't be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you think to use the expression in Text Color of the Expression (in Expression tab)? Do you display the values of the expression on Data Points? In the expression text color it will work certainly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 08:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128493#M521378</guid>
      <dc:creator />
      <dc:date>2016-07-13T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128494#M521379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your Help and sorry that I answer you late (I wasn't in the Office the last days). I have tried your solution but it doesn't work I don't know where is the Problem.&lt;/P&gt;&lt;P&gt;In the Expression Tab I have more than 20 Expressions (in 6 Expressions I have already Background Color and it work without a problem), I have tried to put the same Text Color in each of them but it doesn't work.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Yes later I display the values on Data Points !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your Help !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mohamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128494#M521379</guid>
      <dc:creator />
      <dc:date>2016-07-19T09:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text Format, Color in Dimension of Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128495#M521380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind to attach the QVW? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 18:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Format-Color-in-Dimension-of-Chart/m-p/1128495#M521380</guid>
      <dc:creator />
      <dc:date>2016-07-22T18:13:49Z</dc:date>
    </item>
  </channel>
</rss>

