<?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 Code Functionality in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987609#M336725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain me what is the below code doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Cashflow_Amount&amp;lt;0,'#,##,##,##0;(#,##,##,##0)','#,##,##,##0;#,##,##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;keerthi KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 06:51:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-25T06:51:47Z</dc:date>
    <item>
      <title>Code Functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987609#M336725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain me what is the below code doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Cashflow_Amount&amp;lt;0,'#,##,##,##0;(#,##,##,##0)','#,##,##,##0;#,##,##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;keerthi KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987609#M336725</guid>
      <dc:creator />
      <dc:date>2015-08-25T06:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Code Functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987610#M336726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that this is a fragment of an expression. It returns a format string; selecting the first at the total row if the Cashflow_Amount is negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I suspect that it does not work because the naked* field Cashflow_Amount probably cannot evaluate at a total level; so the condition will always be false, and it will always return the "else" condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* a field without an aggregation function like Sum(), Avg(), Min()....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987610#M336726</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-25T06:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Code Functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987611#M336727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just formatting the numbers based on the Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimensionality()=0&amp;nbsp; refers to First Dimension of the Pivot Table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you do collapse all to First Dimension&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Dimensionality()=0 and Cashflow_Amount&amp;lt;0) condition satisfied then format the number as&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'#,##,##,##0;(#,##,##,##0)'&amp;nbsp; and when you do expand all format the number as&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'#,##,##,##0;#,##,##,##0'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987611#M336727</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-25T06:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Code Functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987612#M336728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ok. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Here if the format is '#,##,##,##0;(#,##,##,##0) then negative values comes within braces else number right&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-Functionality/m-p/987612#M336728</guid>
      <dc:creator />
      <dc:date>2015-08-25T07:05:59Z</dc:date>
    </item>
  </channel>
</rss>

