<?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 Changing color for individual column header in a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-color-for-individual-column-header-in-a-straight-table/m-p/914771#M529581</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;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If you need customise labels in a straight table and for some reasons you can't use pivot table, I have prepared this little trick. This solution is not very friendly and have few limitations but maybe it will inspire someone to prepare better solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/93919_table.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333330154419px; text-decoration: underline;"&gt;How can you achieve such an effect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" height="194" src="https://community.qlik.com/legacyfs/online/93918_1.jpg" style="height: 193.554794520548px; width: 367px;" width="367" /&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. &lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Adding dimension to a Straight table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14377526735821665" jivemacro_uid="_14377526735821665"&gt;
&lt;P&gt;=ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;We use values from field F1 and add value 'Label' for name of dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;To use function ValueList we have to concat values from field F1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I have used this trick from this topic. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;@&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/135024" style="font-size: 10pt; line-height: 1.5em;" title="https://community.qlik.com/thread/135024"&gt;https://community.qlik.com/thread/135024 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/qlik-users/21969"&gt;RubenMarin&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In first expression we can use this logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14377529132284373 jive_text_macro" jivemacro_uid="_14377529132284373" modifiedtitle="true"&gt;
&lt;P&gt;IF(ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')='Label','Column 1',&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUM(If(F1=ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label'),W1)))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If dimension is equal to our added value, we can put name of our label for this expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In above expression I sum other values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In Presentation tab we check 'supress header row'&lt;/P&gt;&lt;P&gt;4. In Sort tab in first dimension we use 'Load order - Reversed'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. &lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Finally, we can customise our labels in first row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;For example if we want to change background, we can change it in expression properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14377544437996460 jive_text_macro" jivemacro_uid="_14377544437996460"&gt;
&lt;P&gt;=if(ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')='Label',Yellow(),10)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to &lt;A href="https://community.qlik.com/qlik-users/173615"&gt;KatarzynaScibor&lt;/A&gt;‌ for support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jul 2015 14:53:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-25T14:53:35Z</dc:date>
    <item>
      <title>Changing color for individual column header in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-color-for-individual-column-header-in-a-straight-table/m-p/914771#M529581</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;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If you need customise labels in a straight table and for some reasons you can't use pivot table, I have prepared this little trick. This solution is not very friendly and have few limitations but maybe it will inspire someone to prepare better solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/93919_table.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333330154419px; text-decoration: underline;"&gt;How can you achieve such an effect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" height="194" src="https://community.qlik.com/legacyfs/online/93918_1.jpg" style="height: 193.554794520548px; width: 367px;" width="367" /&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. &lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Adding dimension to a Straight table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14377526735821665" jivemacro_uid="_14377526735821665"&gt;
&lt;P&gt;=ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;We use values from field F1 and add value 'Label' for name of dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;To use function ValueList we have to concat values from field F1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I have used this trick from this topic. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;@&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/135024" style="font-size: 10pt; line-height: 1.5em;" title="https://community.qlik.com/thread/135024"&gt;https://community.qlik.com/thread/135024 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/qlik-users/21969"&gt;RubenMarin&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In first expression we can use this logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14377529132284373 jive_text_macro" jivemacro_uid="_14377529132284373" modifiedtitle="true"&gt;
&lt;P&gt;IF(ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')='Label','Column 1',&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUM(If(F1=ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label'),W1)))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If dimension is equal to our added value, we can put name of our label for this expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In above expression I sum other values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In Presentation tab we check 'supress header row'&lt;/P&gt;&lt;P&gt;4. In Sort tab in first dimension we use 'Load order - Reversed'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. &lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Finally, we can customise our labels in first row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-AU" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;For example if we want to change background, we can change it in expression properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14377544437996460 jive_text_macro" jivemacro_uid="_14377544437996460"&gt;
&lt;P&gt;=if(ValueList($(=Chr(39) &amp;amp; concat( F1, Chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; Chr(39)),'Label')='Label',Yellow(),10)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to &lt;A href="https://community.qlik.com/qlik-users/173615"&gt;KatarzynaScibor&lt;/A&gt;‌ for support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 14:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-color-for-individual-column-header-in-a-straight-table/m-p/914771#M529581</guid>
      <dc:creator />
      <dc:date>2015-07-25T14:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing color for individual column header in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-color-for-individual-column-header-in-a-straight-table/m-p/914772#M529582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Piotr for this case!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-color-for-individual-column-header-in-a-straight-table/m-p/914772#M529582</guid>
      <dc:creator>Jacek</dc:creator>
      <dc:date>2015-07-30T15:04:47Z</dc:date>
    </item>
  </channel>
</rss>

