<?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 Conditional Formatting in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239173#M89848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't change the outcome -- still no formatting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jul 2010 22:18:42 GMT</pubDate>
    <dc:creator>mjt_childrens</dc:creator>
    <dc:date>2010-07-30T22:18:42Z</dc:date>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239171#M89846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All....&lt;/P&gt;&lt;P&gt;I have a scorecard straight table where MetricId is my dimension. I want to format an expression as integer, percent or currency depending on the metricid. Here is a simplified test case I've been working with:&lt;/P&gt;&lt;P&gt;= if(MetricId=2, num(count(CRMRecType),'###,###,##0'),&lt;/P&gt;&lt;P&gt;If(MetricId=5,num(count(CRMRecType)/100,'#,##0.00%'),&lt;/P&gt;&lt;P&gt;If(MetricId=22,num(sum(OpportunityAmount),'$##,###,###'))))&lt;/P&gt;&lt;P&gt;Number format for this expression is set to "Expression Default".&lt;/P&gt;&lt;P&gt;My calculations are working correctly but the formatting is being ignored. Any one of these format statements by itself works correctly but when I put them together the formatting is ignored. What am I missing?&lt;/P&gt;&lt;P&gt;Thanks for any insight into this issue....&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 21:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239171#M89846</guid>
      <dc:creator>mjt_childrens</dc:creator>
      <dc:date>2010-07-30T21:31:35Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239172#M89847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about using the money() function rather than num()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 22:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239172#M89847</guid>
      <dc:creator />
      <dc:date>2010-07-30T22:14:55Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239173#M89848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't change the outcome -- still no formatting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 22:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239173#M89848</guid>
      <dc:creator>mjt_childrens</dc:creator>
      <dc:date>2010-07-30T22:18:42Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239174#M89849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks right to me. Is the format being overridden on the Number tab? I'm guessing not, since you say each one works individually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 23:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239174#M89849</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-30T23:24:44Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239175#M89850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I selected "expression default" on the number tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 20:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239175#M89850</guid>
      <dc:creator>mjt_childrens</dc:creator>
      <dc:date>2010-07-31T20:05:47Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239176#M89851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;P&gt;I suspect the if statement evaluates the expression and returns the evaluated value as a number, so the formatting is applied before and not after the if expression.&lt;/P&gt;&lt;P&gt;As a work around, you could try wrapping the num() statements with a text() statement. Then it is a text expression being evaluated.&lt;/P&gt;&lt;P&gt;I haven't tested this, so I can't be sure it will work. Give it a try and let us know.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 11:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239176#M89851</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-08-02T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239177#M89852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;Wow, you figured it out. I added the text statement and it works! Thank you so much.&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;(MetricId=2,text(num(&lt;B&gt;count&lt;/B&gt;(CRMRecType),'###,###,##0')), &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 19:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239177#M89852</guid>
      <dc:creator>mjt_childrens</dc:creator>
      <dc:date>2010-08-02T19:43:02Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239178#M89853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In case of line chart . this logic is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 08:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239178#M89853</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2012-02-02T08:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239179#M89854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil, did you ever find a fix for this in the case of a line chart? I am having the same problem. I tried wrapping text() function around the formatting but its not doing anything to change my line chart formatting. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks, Sarah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 19:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239179#M89854</guid>
      <dc:creator />
      <dc:date>2012-07-20T19:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239180#M89855</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've got a bar chart showing the annual sales deviation per region. Through a button the user can switch between relative (%) and absolute (€) deviation. Through an if statement and the num() function i can format the "Values on Data Points" properly.&lt;/P&gt;&lt;P&gt;Unfortunately this doesn't work for the y-axis scale labels. They aren't formatted at all. Does anyone have an idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 16:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239180#M89855</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2012-11-28T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239181#M89856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;please try this on i think it solved problem of conditional number formatting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;num((if(vSelectionButton=1,Sum(expression1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(vSelectionButton=2,Sum(expression1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ))),if(vSelectionButton=1,'$ #,##','#,##0.00'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Reagrds,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dixit Panchal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 11:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formatting-in-Expression/m-p/239181#M89856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-11T11:24:54Z</dc:date>
    </item>
  </channel>
</rss>

