<?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: Conditional Formatting of a Dimension in a Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604820#M548393</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;I got the solution. I applied the condition if(Only({&amp;lt;&lt;STRONG&gt;[Account Number]=&lt;/STRONG&gt;&amp;gt;}[Exec P&amp;amp;L Calculation])='c' ,'&amp;lt;B&amp;gt;')&amp;nbsp; and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anilet Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 10:42:50 GMT</pubDate>
    <dc:creator>anilet123</dc:creator>
    <dc:date>2018-03-19T10:42:50Z</dc:date>
    <item>
      <title>Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604804#M548377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to conditionally format a dimension in a Privot Table, could somebody point me in the right direction?&lt;/P&gt;&lt;P&gt;My data looks very approximately like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;dimension&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;flag&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;expression&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;87&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12.1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I require conditional formatting to be placed on the dimension so that 1 and 3 are black and 2 is light grey, because of the value in the flag.&lt;/P&gt;&lt;P&gt;What I've tried so far:&lt;/P&gt;&lt;P&gt;1) Chart Properties&amp;gt;Dimensions&amp;gt;Used Dimensions -&amp;gt; expand the dimension and create the following expression under Text Color&lt;/P&gt;&lt;P&gt;=if(flag=1,LightGray(),Black())&lt;/P&gt;&lt;P&gt;This is completely ignored, as is =LightGray() or just Gray()&lt;/P&gt;&lt;P&gt;Why is this option even there if it doesn't work? Is there a switch somewhere I'm missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Turn On Design Grid&amp;gt;Right Click in Cell&amp;gt;Select Custom Format Cell&amp;gt;Select Text Color&amp;gt;Base Color&amp;gt;Calculated and insert the same expression:&lt;/P&gt;&lt;P&gt;=if(flag=1,LightGray(),Black())&lt;/P&gt;&lt;P&gt;This time LightGray() on its own works, but the conditional expression does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how I can acheive the conditional formatting I need? Looking through the archives I haven't found a satisfactory answer. &lt;/P&gt;&lt;P&gt;I'm on 11.20 SR5&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604804#M548377</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-04T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604805#M548378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This should work. Have you tested that your condition is working correctly outside of the formatting expression?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604805#M548378</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-02-04T10:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604806#M548379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(Dimension=2,LightGray(),Black())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604806#M548379</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-04T10:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604807#M548380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and it should be in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Chart Properties&amp;gt;Dimensions&amp;gt;Used Dimensions -&amp;gt; expand the dimension and create the following expression under Text colour&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604807#M548380</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-04T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604808#M548381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian and Ashwani thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The expression I'm using&lt;/P&gt;&lt;P&gt;=if(flag=1,LightGray(),Black())&lt;/P&gt;&lt;P&gt;works if I place it in an expression rather than a dimension on the same pivot table. When I place it in a dimension, it is completely ignored, and the text is always black regardless of what is under Text Colour (if I set this to =Blue() or just Blue(), the text is still black)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why this might be ignored? Am I missing a setting somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604808#M548381</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-04T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604809#M548382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;R u using any theme on ur app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604809#M548382</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-02-04T11:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604810#M548383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can you upload the document , bz these conditions are working fine here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604810#M548383</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-04T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604811#M548384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA app, the conmdition is working fine,&lt;/P&gt;&lt;P&gt;Pease upload sample app for clarification..&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604811#M548384</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-02-04T11:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604812#M548385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps your first dimension has several possible flag values. See attached example. When year 2009 is not selected the text color of the Product dimension is not changed. When year 2009 is selected there is only one year value per product and the text color of the products &lt;EM&gt;is&lt;/EM&gt; changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604812#M548385</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-04T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604813#M548386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for all your replies.&lt;/P&gt;&lt;P&gt;Sundarakumar: No there is no theme&lt;/P&gt;&lt;P&gt;Gysbert: There are only two possible flag values, 1 and 0.&lt;/P&gt;&lt;P&gt;Ashwani: I can't send an example I'm afraid as our data and implementation is very sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something else weird I've just noticed, it depends very much on the selection. Say I take the conditionality out of the expression against the colour of the dimension altogether. Text Color is now set to LightGray()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;dimension&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;flag&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;expression&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;87&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;12.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my grid, 5 and 6 are now light gray and the rest are black, I make a different selection, all are black, another selection, every other cell is light gray. There doesn't seem to be any pattern to whether the formatting is applied or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I uncovered a bug in the pivot table? My pivot table is vastly more complex than stated, I just wanted to convey the basic problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604813#M548386</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-04T11:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604814#M548387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got it!&lt;/P&gt;&lt;P&gt;The answer is it only applies the formatting if there is something in the first pivoted field. there is a great deal of white space in my pivot table (which is desirable and unavoidable ) and it looks more like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;dimension&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;flag&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;pivot dimension&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;pivot value 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;pivot value 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;12.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;87&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;56&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; The first pivot value only has data against dimensions 5 and 6, and thus the formatting is only applied to dimensions 5 and 6.&lt;/P&gt;&lt;P&gt;However, I've failed to recreate these conditions in a stand alone app, so there must be something else going on here. Does this new information jog anybody's mind?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 12:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604814#M548387</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-04T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604815#M548388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dammit, and here I was just about to post the solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a part of it still might be useful to you.&lt;SPAN style="font-size: 10pt;"&gt; I have no idea if it is really true, but it appears as if the conditional formatting expressions for dimensions are evaluated as if they were put on the first column of the chart. If that first column would happen to contain a missing combination of dimensions, tough luck &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; Even an unconditional expression would get ignored in such case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hovewer, in this context, this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;flag=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;is for practical purposes shorthand for this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Only(flag)=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and that fact gives us a bit more control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I assume you want to consider value of flag as in relation to the value of dimension only, so this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Only(TOTAL&amp;lt;dimension&amp;gt; flag)=1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LightGray(),Black()&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;could be just what you are looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Edit: it also needs to have "Populate missing cells" to work. If first expression column contains actual missing values, nothing can help. I attached a small example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Edit2: It seems I overcomplicated this. Looks like "Populate missing cells" is all that is needed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 13:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604815#M548388</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-02-04T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604816#M548389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great stuff! Thanks so much for this analysis and test app. Getting there by degrees!&lt;/P&gt;&lt;P&gt;Setting "Populate Missing" allows an unconditional expression on a dimension to work for me&lt;/P&gt;&lt;P&gt;However the conditional bit still fails to evaluate for some reason. Any ideas? I now have a reduced app which exhibits this behaviour but I'm reluctant to attach it due to data sensitivity. I may have a go at obfuscating the data and posting the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 16:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604816#M548389</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-04T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604817#M548390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If flag is associated with [dimension], but not necessarily with every combination of [dimension] and other pivot dimensions, then 'flag' in conditional expression could still evaluate to null and cause the test to fail - expression technically works,but you get the 0-flag color anyway. This is a part where the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Only(TOTAL&amp;lt;dimension&amp;gt; flag)&lt;/SPAN&gt; bit actually comes helpful. I'm attaching an example, hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604817#M548390</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-02-05T08:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604818#M548391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo! You are a very clever man my friend!&lt;/P&gt;&lt;P&gt;The combination of "Populate missing cells" and your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Only(TOTAL&amp;lt;dimension&amp;gt; flag) wizardry &lt;/SPAN&gt;works a treat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to spend a few hours trying to get my head around exactly what that expression is doing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 10:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604818#M548391</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2014-02-05T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604819#M548392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jakub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following expression in my PL Statement(straight table), it did not work for me when made selections on filters.&lt;/P&gt;&lt;P&gt;if(Only(TOTAL&amp;lt;[Exec P&amp;amp;L Heading]&amp;gt;[Exec P&amp;amp;L Calculation])='c' ,'&amp;lt;B&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had selected Account Number, the format bold disappeared for "TOTAL COST OF SALES " and " TOTAL OPERATING EXPENSES". Irrespective of the selections I would want the format to be unchanged.&lt;/P&gt;&lt;P&gt;Could you please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="196709" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196709_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anilet Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 10:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604819#M548392</guid>
      <dc:creator>anilet123</dc:creator>
      <dc:date>2018-03-19T10:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting of a Dimension in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604820#M548393</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;I got the solution. I applied the condition if(Only({&amp;lt;&lt;STRONG&gt;[Account Number]=&lt;/STRONG&gt;&amp;gt;}[Exec P&amp;amp;L Calculation])='c' ,'&amp;lt;B&amp;gt;')&amp;nbsp; and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anilet Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 10:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-of-a-Dimension-in-a-Pivot-Table/m-p/604820#M548393</guid>
      <dc:creator>anilet123</dc:creator>
      <dc:date>2018-03-19T10:42:50Z</dc:date>
    </item>
  </channel>
</rss>

