<?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: Percentages in expressions in Qlikview in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897386#M74084</link>
    <description>&lt;P&gt;Why do you accept a result of&amp;nbsp;&lt;SPAN&gt;-0.568 to represent -57%, when at the same time you expect -1 to be -1% and -16 to be -16% ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 22:25:37 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2022-02-24T22:25:37Z</dc:date>
    <item>
      <title>Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1896773#M74008</link>
      <description>&lt;P&gt;I can't get all of the percentages to&amp;nbsp; display&amp;nbsp; correctly in my report. This is my formula;&lt;/P&gt;
&lt;P&gt;=((sum({&amp;lt;MTH={'January'}&amp;gt;}sold)+ sum({&amp;lt;MTH={'February'}&amp;gt;}sold)+ sum({&amp;lt;MTH={'March'}&amp;gt;}sold)/sum({&amp;lt;MTH={'January'}, year={&lt;STRONG&gt;&lt;EM&gt;$(=GetFieldSelections(year)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} sold)+sum({&amp;lt;MTH={'February'}, year={&lt;STRONG&gt;&lt;EM&gt;$(=GetFieldSelections(year)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} sold)+sum({&amp;lt;MTH={'March'}, year={&lt;STRONG&gt;&lt;EM&gt;$(=GetFieldSelections(year)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}sold))-1&lt;/P&gt;
&lt;P&gt;Number field is: Fixed to and Format Pattern is #,##0%;(#,##0%)&lt;/P&gt;
&lt;P&gt;Some of the percentages seems to displaying correctly while some of the others are not.&lt;/P&gt;
&lt;P&gt;I have attached some of my results for review. Can anyone tell me what I am doing wrong??&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 20:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1896773#M74008</guid>
      <dc:creator>CSmith</dc:creator>
      <dc:date>2022-02-23T20:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1896776#M74009</link>
      <description>&lt;P&gt;please explain how you calculated your expected results.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 21:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1896776#M74009</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-23T21:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897114#M74040</link>
      <description>&lt;P&gt;Expected results were calculate. See below example;&lt;/P&gt;
&lt;P&gt;sold items for January (2021)+ sold items for February (2021) + sold items for March (2021) / sold items for January (2020) + sold items for February (2020) + sold items for March (2020) then 1 was substracted from that number&lt;/P&gt;
&lt;P&gt;385+629+1,116 = 2130 / 995+1,770+2,172 = 4937 = 0.431436-1 = -0.568 (57%)&lt;/P&gt;
&lt;P&gt;Hopefully this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 12:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897114#M74040</guid>
      <dc:creator>CSmith</dc:creator>
      <dc:date>2022-02-24T12:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897346#M74081</link>
      <description>&lt;P&gt;Could you please explain for rows 3 and 6 (yellow) in your example as well (best using separate steps)?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1645731094307.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73049i991DC67BDD9D64F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarcoWedel_1-1645731094307.png" alt="MarcoWedel_1-1645731094307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 19:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897346#M74081</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-24T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897353#M74082</link>
      <description>&lt;P&gt;&amp;nbsp;What I am trying to accomplish is the difference in sales for a particular company, in a percentage format, between the first quarter of 2021 and the first quarter of 2020.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#3&lt;/P&gt;
&lt;P&gt;Jan(21), Feb(21) and Mar(21) are being added together. That number will be divided by the number you get from adding Jan(20), Feb(20) and Mar(20). That number will be substracted from 1. That number should be displayed in % format. The parentheses and the number being displayed in red denotes that is a negative percentage amount.&lt;/P&gt;
&lt;P&gt;0 + 0 + 0 = 0 / 6 + 0 + 0 = 6; 0/6 = 0; 0 - 1 = -1. I would expect the answer for Quarter % YOY to be &lt;FONT color="#FF0000"&gt;(1%)&lt;/FONT&gt; not &lt;FONT color="#FF0000"&gt;(100%)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;#6&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Jan(21), Feb(21) and Mar(21) are being added together. That number will be divided by the number you get from adding Jan(20), Feb(20) and March (20). That number will be substracted from 1. That number should be displayed in % format. The parentheses and the number being displayed in red denotes that is a negative percentage amount.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;7 + 5 + 5 = 17 / 1 + 0 + 0 = 1; 17/1 = 17; 17 -1 = 16. I would expect the answer for Quarter % YOY to be &lt;FONT color="#FF0000"&gt;(16%)&lt;/FONT&gt; not &lt;FONT color="#FF0000"&gt;(1600%)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;I hope this helps.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897353#M74082</guid>
      <dc:creator>CSmith</dc:creator>
      <dc:date>2022-02-24T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897386#M74084</link>
      <description>&lt;P&gt;Why do you accept a result of&amp;nbsp;&lt;SPAN&gt;-0.568 to represent -57%, when at the same time you expect -1 to be -1% and -16 to be -16% ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 22:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897386#M74084</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-24T22:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Percentages in expressions in Qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897637#M74096</link>
      <description>&lt;P&gt;Thank you. I figured it out.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 12:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentages-in-expressions-in-Qlikview/m-p/1897637#M74096</guid>
      <dc:creator>CSmith</dc:creator>
      <dc:date>2022-02-25T12:40:49Z</dc:date>
    </item>
  </channel>
</rss>

