<?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: % sum not totaling to 100- HELP in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/565498#M123750</link>
    <description>&lt;P&gt;Thanks for your solution. If i try to do an average over and above this, i have the same issue irrespective of the data type that i use. How can i fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hash_89_0-1588651622854.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/111215i4DFE42ED60E283E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hash_89_0-1588651622854.png" alt="hash_89_0-1588651622854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2020 04:09:11 GMT</pubDate>
    <dc:creator>hash_89</dc:creator>
    <dc:date>2020-05-05T04:09:11Z</dc:date>
    <item>
      <title>% sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561479#M122416</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate % of the total and report it out. However the sum of it doesn't total to 100. It is either &amp;gt; or &amp;lt; 100. Can someone help me how i can fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hash_89_1-1587942707356.png" style="width: 278px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109878iD12ECB5C1B11DDE9/image-dimensions/278x197?v=v2" width="278" height="197" role="button" title="hash_89_1-1587942707356.png" alt="hash_89_1-1587942707356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have attached my workflow for your reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 23:17:54 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561479#M122416</guid>
      <dc:creator>hash_89</dc:creator>
      <dc:date>2020-04-26T23:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561483#M122417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/71799"&gt;@hash_89&lt;/a&gt;, convert the numerical columns into Double datatype and then do the computation. The final result comes out to be 100 in this case, after which you can convert it to fixed decimal with two decimal places if that's how you want your output to look like.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbhilashR_0-1587943594462.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109879iABAB55B54052A5A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbhilashR_0-1587943594462.png" alt="AbhilashR_0-1587943594462.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have attached a modified version of your file for your reference.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 23:31:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561483#M122417</guid>
      <dc:creator>AbhilashR</dc:creator>
      <dc:date>2020-04-26T23:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561488#M122419</link>
      <description>&lt;P&gt;Thanks for your response. I tried converting it back to &lt;SPAN&gt;fixed decimal with two decimal places, but still the total comes to 100.3.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 00:02:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561488#M122419</guid>
      <dc:creator>hash_89</dc:creator>
      <dc:date>2020-04-27T00:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561497#M122422</link>
      <description>&lt;P&gt;The differences are due to rounding - I noticed you're using a fixed decimal with two decimal places as your data type and also rounding to two decimal places in your formula. Try expanding the number of decimal places. I expanded it to a fixed decimal of 26 digits with 10 decimal places and am seeing a total of 100%. See attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The difference between the different types of numeric formats is the level of precision. This can affect your overall outcome.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.alteryx.com/current/Reference/DataFieldType.htm" target="_blank" rel="noopener"&gt;https://help.alteryx.com/current/Reference/DataFieldType.htm&lt;/A&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109882i43609A0F2F92CABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 01:30:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561497#M122422</guid>
      <dc:creator>echuong1</dc:creator>
      <dc:date>2020-04-27T01:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561503#M122424</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/71799"&gt;@hash_89&lt;/a&gt;, covert it back to Fixed Decimal only after you divide and summarize the data. I convert if back to Fixed Decimal only in the last Select Tool.&lt;/P&gt;&lt;P&gt;This is what I get as an output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbhilashR_0-1587952097300.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109886i85C34A1E00328508/image-size/large?v=v2&amp;amp;px=999" role="button" title="AbhilashR_0-1587952097300.png" alt="AbhilashR_0-1587952097300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 01:48:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561503#M122424</guid>
      <dc:creator>AbhilashR</dc:creator>
      <dc:date>2020-04-27T01:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561507#M122427</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks. My final O/P needs to have % total in fixed decimal (19.2 size) and that totaling to 100%. I tried to change the data type of column % of total in select tool , but still the sum is 100.3.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 01:59:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561507#M122427</guid>
      <dc:creator>hash_89</dc:creator>
      <dc:date>2020-04-27T01:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561509#M122428</link>
      <description>&lt;P&gt;Sorry, I am confused. I get my output as 100.00 in &lt;STRONG&gt;Sum_% of total&lt;/STRONG&gt; column. That is what you too are looking for, correct?&lt;/P&gt;&lt;P&gt;In order to get 100 and not 100.03 as your output:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;convert all numerical columns into Double data type upstream&lt;/LI&gt;&lt;LI&gt;do the division in formula tool (ensure this formula has Double datatype)&lt;/LI&gt;&lt;LI&gt;summarize the result set in Summarize tool&lt;/LI&gt;&lt;LI&gt;finally, convert the &lt;STRONG&gt;% of total&lt;/STRONG&gt; back into &lt;STRONG&gt;Fixed Decimal&lt;/STRONG&gt; datatype with a precision of 19 and a scale of 2 in the final &lt;STRONG&gt;Select&lt;/STRONG&gt; tool before output&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Screenshot of my final output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbhilashR_0-1587953541140.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109888i6E0E59DA9C7340DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbhilashR_0-1587953541140.png" alt="AbhilashR_0-1587953541140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I hope this helps. Reattaching my solution for your reference.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 02:12:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561509#M122428</guid>
      <dc:creator>AbhilashR</dc:creator>
      <dc:date>2020-04-27T02:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561515#M122429</link>
      <description>&lt;P&gt;My O/P should be those individual % of total values. This should sum to 100%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hash_89_0-1587953636048.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/109889i9CE6F5E19600BE9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hash_89_0-1587953636048.png" alt="hash_89_0-1587953636048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 02:14:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561515#M122429</guid>
      <dc:creator>hash_89</dc:creator>
      <dc:date>2020-04-27T02:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561617#M122469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/71799"&gt;@hash_89&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/5167"&gt;@AbhilashR&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/119112"&gt;@echuong1&lt;/a&gt;&amp;nbsp; already explained, the difference is caused by rounding. The only solution I can imagine is to add a "correction" to the rows having the maximal difference between rounded and unrounded percentages. In your sample, there are 3 rows with a rounding difference of approx. 0.005 %, I would adjust these rows by 0.01%. I've attached a sample workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know, if this works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 10:55:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/561617#M122469</guid>
      <dc:creator>RolandSchubert</dc:creator>
      <dc:date>2020-04-27T10:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: % sum not totaling to 100- HELP</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/565498#M123750</link>
      <description>&lt;P&gt;Thanks for your solution. If i try to do an average over and above this, i have the same issue irrespective of the data type that i use. How can i fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hash_89_0-1588651622854.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/111215i4DFE42ED60E283E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hash_89_0-1588651622854.png" alt="hash_89_0-1588651622854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 04:09:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/sum-not-totaling-to-100-HELP/m-p/565498#M123750</guid>
      <dc:creator>hash_89</dc:creator>
      <dc:date>2020-05-05T04:09:11Z</dc:date>
    </item>
  </channel>
</rss>

