<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364977#M1173820</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 (22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other major challenge is for a particular row i have to show value upto two decimal places and for all others it must be an integer. &lt;/P&gt;&lt;P&gt;i have been able to do it in the all colums except p11.&lt;/P&gt;&lt;P&gt;i am using expression&amp;nbsp; &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;(((p1-p2)),'#.#'),p1-p2)&lt;BR /&gt;and if(p2&amp;gt;p1,fabs(p1-p2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;buts its nt wrking...plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 11:07:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-23T11:07:01Z</dc:date>
    <item>
      <title>formatting issues</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364977#M1173820</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 (22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other major challenge is for a particular row i have to show value upto two decimal places and for all others it must be an integer. &lt;/P&gt;&lt;P&gt;i have been able to do it in the all colums except p11.&lt;/P&gt;&lt;P&gt;i am using expression&amp;nbsp; &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;(((p1-p2)),'#.#'),p1-p2)&lt;BR /&gt;and if(p2&amp;gt;p1,fabs(p1-p2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;buts its nt wrking...plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364977#M1173820</guid>
      <dc:creator />
      <dc:date>2012-05-23T11:07:01Z</dc:date>
    </item>
    <item>
      <title>formatting issues</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364978#M1173821</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;This expression works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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; if(num2&amp;gt;num1,fabs(num1-num2),num(fabs(num1-num2),'(#.#0)'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for both ur conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 06:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364978#M1173821</guid>
      <dc:creator />
      <dc:date>2012-05-24T06:40:56Z</dc:date>
    </item>
    <item>
      <title>formatting issues</title>
      <link>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364979#M1173822</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;Adding code to change the colour if value&amp;nbsp; is negative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.select expressions tab in properties of ur chart&lt;/P&gt;&lt;P&gt;2. select the above expression given in my earlier post.&lt;BR /&gt;2.click on the plus sign on the expression&lt;BR /&gt;3. type the foll on Background color definition :&amp;nbsp; if(num2&amp;gt;num1,Red()) &lt;BR /&gt;4. Click Apply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get the result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 09:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formatting-issues/m-p/364979#M1173822</guid>
      <dc:creator />
      <dc:date>2012-05-24T09:24:38Z</dc:date>
    </item>
  </channel>
</rss>

