<?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: Inconsistent Num() Formatting on Income Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1809625#M1212456</link>
    <description>&lt;P&gt;Thanks Gysbert.&amp;nbsp;&lt;BR /&gt;I eventually found the problem. If there is not transaction for the relevant GL Code in the particular month that you have selected, i.e. items are greyed out in a list box, then it doesn't know what format to use for any historical transactions showing in the chart. I will disconnect the calendar from the transaction and use a variable to reference the relevant month selected... Hopefully that will work....&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 06:40:52 GMT</pubDate>
    <dc:creator>wandapec</dc:creator>
    <dc:date>2021-05-21T06:40:52Z</dc:date>
    <item>
      <title>Inconsistent Num() Formatting on Income Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1807627#M1212276</link>
      <description>&lt;P&gt;I have a model displaying an Income Statement. The following expression displays the P&amp;amp;L and uses the Num() format of MinString(&lt;EM&gt;Format&lt;/EM&gt;). &lt;EM&gt;Format&lt;/EM&gt; is a field in an Excel spreadsheet for each line of the Income Statement and is &lt;FONT color="#3366FF"&gt;R#,##0;(R#,##0)&lt;FONT color="#000000"&gt;, so an example would be:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wandapec_1-1620895661955.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54892iCE62FEF66132D168/image-size/large?v=v2&amp;amp;px=999" role="button" title="wandapec_1-1620895661955.png" alt="wandapec_1-1620895661955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;if([Exec P&amp;amp;L Level] = 's','',&lt;BR /&gt;Num(&lt;BR /&gt;(Sum({$}Amount))&lt;BR /&gt;/fabs(if(Flag=1, $(=Sum({$}SalesAmount)),if(Flag=2, $(=Sum({$}GPAmount)), 1)))&lt;BR /&gt;, Minstring(Format))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;For some reason, and I can't work out the pattern, it sometimes doesn't apply the formatting. Check the Income Tax line in the image below. In the example below, I have selected YTD Jan to Apr. When I select YTD Jan to Mar or Feb, it works fine...&lt;/P&gt;&lt;P&gt;E.g. Jan to Apr&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wandapec_2-1620895765157.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54893i199219C7B31324AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="wandapec_2-1620895765157.png" alt="wandapec_2-1620895765157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;E.g. Jan to Mar&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wandapec_4-1620896217410.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54895iAFF5B2F3ACBE95D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="wandapec_4-1620896217410.png" alt="wandapec_4-1620896217410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 08:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1807627#M1212276</guid>
      <dc:creator>wandapec</dc:creator>
      <dc:date>2021-05-13T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Num() Formatting on Income Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1807632#M1212278</link>
      <description>&lt;P&gt;Add a text object and put Minstring(Format) in it. Then make your date selections to check if Minstring(Format) always returns what you expect.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 09:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1807632#M1212278</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2021-05-13T09:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Num() Formatting on Income Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1809625#M1212456</link>
      <description>&lt;P&gt;Thanks Gysbert.&amp;nbsp;&lt;BR /&gt;I eventually found the problem. If there is not transaction for the relevant GL Code in the particular month that you have selected, i.e. items are greyed out in a list box, then it doesn't know what format to use for any historical transactions showing in the chart. I will disconnect the calendar from the transaction and use a variable to reference the relevant month selected... Hopefully that will work....&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 06:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-Num-Formatting-on-Income-Statement/m-p/1809625#M1212456</guid>
      <dc:creator>wandapec</dc:creator>
      <dc:date>2021-05-21T06:40:52Z</dc:date>
    </item>
  </channel>
</rss>

