<?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 formatting issues based on set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364965#M135779</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 am working on a report in which i am creating a pivot table. in the pivot table the dimension used is hardcoded means is being created using an inline&lt;/P&gt;&lt;P&gt;. now in that table i am evaluating 12 different expressions as different columns and theses are like p1,p2.......p10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p11= p10-p9 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have to hanlde two situations.&lt;/P&gt;&lt;P&gt;1) where value is negative it must be red&lt;/P&gt;&lt;P&gt;2) instead of negative sign, () it must be used...for e.g&amp;nbsp; -22 should be displayed like &lt;SPAN style="color: #ff0000;"&gt;(22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;the other major challenge is &lt;SPAN style="color: #000000;"&gt;for a particular row i have to show value upto two decimal places and for all others it must be an integer. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i have been able to do it in the all colums except p11.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i am using expression&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;(((p1-p2)),'#.#'),p1-p2)&lt;BR /&gt;and if(p2&amp;gt;p1,fabs(p1-p2))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;buts its nt wrking...plz help&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 11:04:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-23T11:04:31Z</dc:date>
    <item>
      <title>formatting issues based on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364965#M135779</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 am working on a report in which i am creating a pivot table. in the pivot table the dimension used is hardcoded means is being created using an inline&lt;/P&gt;&lt;P&gt;. now in that table i am evaluating 12 different expressions as different columns and theses are like p1,p2.......p10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p11= p10-p9 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have to hanlde two situations.&lt;/P&gt;&lt;P&gt;1) where value is negative it must be red&lt;/P&gt;&lt;P&gt;2) instead of negative sign, () it must be used...for e.g&amp;nbsp; -22 should be displayed like &lt;SPAN style="color: #ff0000;"&gt;(22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;the other major challenge is &lt;SPAN style="color: #000000;"&gt;for a particular row i have to show value upto two decimal places and for all others it must be an integer. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i have been able to do it in the all colums except p11.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i am using expression&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;(((p1-p2)),'#.#'),p1-p2)&lt;BR /&gt;and if(p2&amp;gt;p1,fabs(p1-p2))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;buts its nt wrking...plz help&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364965#M135779</guid>
      <dc:creator />
      <dc:date>2012-05-23T11:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: formatting issues based on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364966#M135780</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;For the red in case of negative values, go to the chart Properties, Visual Cues, select the expression and set a 0 en "Lower &amp;lt;="&lt;/P&gt;&lt;P&gt;For the negative format instead of -22 to be (22) go to the chart Properties, Number tab and select the expression. Note that there is a box named "Format Pattern". Set it to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;#.##0;(#.##0)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in those expressions you want to change format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, formats cannot be conditional, so you will have to either use a If() condition in the expression to switch between integers and decimals using Num() or format document wise the field you want to be displayed with two decimals in Settings menu, Document Properties, Number, or format it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 12:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364966#M135780</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-05-23T12:04:28Z</dc:date>
    </item>
    <item>
      <title>formatting issues based on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364967#M135781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thnx Miguel for your help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the major challenge is to show the value for a specific row ,upto two places after decimal and then implemnting all these changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 12:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues-based-on-set-analysis/m-p/364967#M135781</guid>
      <dc:creator />
      <dc:date>2012-05-23T12:14:52Z</dc:date>
    </item>
  </channel>
</rss>

