<?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: SAS Viya Calculation Bug: 1+6=8? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946235#M18383</link>
    <description>&lt;P&gt;The numbers do not contain decimals&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_0-1728031411874.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100908iB3BCC95052121BF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_0-1728031411874.png" alt="Naima_elhmous_0-1728031411874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that case, it sets total = 7.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_1-1728031541292.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100909i4D558DAF7301B0B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_1-1728031541292.png" alt="Naima_elhmous_1-1728031541292.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>Fri, 04 Oct 2024 08:44:39 GMT</pubDate>
    <dc:creator>Naiii</dc:creator>
    <dc:date>2024-10-04T08:44:39Z</dc:date>
    <item>
      <title>SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946094#M18378</link>
      <description>&lt;P&gt;Please, has anyone already noticed that SAS Viya makes calculation errors? For example, it calculates the total of 1+6 as 8. Any solutions, please?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 12:22:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946094#M18378</guid>
      <dc:creator>Naiii</dc:creator>
      <dc:date>2024-10-03T12:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946102#M18379</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467061"&gt;@Naiii&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I personally would like to ask you to provide some evidence, specially when you raise such question or statement.&lt;/P&gt;
&lt;P&gt;It would help us understand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the "error" you indicate, could be well a rounding up/down typical issue on the generation/definition of your report, which you could find in other applications, any, really. To give you a quick example, when the data is behind what is shown is 1.65 (just stripping all decimals or the cell is not large enough) and 6, the cells might show 1 and 6 but rounding up the total is 8 (when round up in totals/aggregation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to hearing back from you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 12:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946102#M18379</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2024-10-03T12:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946106#M18380</link>
      <description>&lt;P&gt;Often what confuses people is that most visualizations display aggregated data, but calculations are evaluated at the row level. If you create a list table with "detail data" enabled, the values should look correct. Especially if you set the data format to display more decimal places.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if that helps to clear things up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 13:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946106#M18380</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2024-10-03T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946110#M18381</link>
      <description>&lt;P&gt;Open your favorite speadsheet software.&lt;/P&gt;
&lt;P&gt;Assign numeric display of a column to show no decimals.&lt;/P&gt;
&lt;P&gt;Enter 1.45 in the first row&lt;/P&gt;
&lt;P&gt;Enter 6.45 in the second row&lt;/P&gt;
&lt;P&gt;Sum the two on row three in the same column.&lt;/P&gt;
&lt;P&gt;Because you set the display limit to exclude decimals the cells will show 1, 6 and 8. The 8 is because the display rounded the actual summed value of 7.9 up to 8. Also why I picked values with .45 as the decimal portion as each of those gets rounded down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So not just a SAS Viya behavior. This has been around for a very long time actually predating computers: when to round in calculations.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:18:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946110#M18381</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-10-03T15:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946215#M18382</link>
      <description>&lt;P&gt;Just to add what already has been said.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data demo;
  a=10/3;
  b=10/3;
  c=10/3;
  total=sum(a,b,c);
run;

proc print data=demo;
  format _numeric_ f16.1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1728012563451.png" style="width: 292px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100905i105068B914A12FE6/image-dimensions/292x93?v=v2" width="292" height="93" role="button" title="Patrick_0-1728012563451.png" alt="Patrick_0-1728012563451.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 03:29:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946215#M18382</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-10-04T03:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946235#M18383</link>
      <description>&lt;P&gt;The numbers do not contain decimals&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_0-1728031411874.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100908iB3BCC95052121BF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_0-1728031411874.png" alt="Naima_elhmous_0-1728031411874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that case, it sets total = 7.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_1-1728031541292.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100909i4D558DAF7301B0B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_1-1728031541292.png" alt="Naima_elhmous_1-1728031541292.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>Fri, 04 Oct 2024 08:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946235#M18383</guid>
      <dc:creator>Naiii</dc:creator>
      <dc:date>2024-10-04T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946245#M18384</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467061"&gt;@Naiii&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yours is a visual representation. Any tool that does visual reporting has sometimes the challenge of visual representation vs data, in terms of decimals and aggregations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can observe you presented us with your visual representation in 2 separate screenshots, which tells me there i still more to this story. Either in the formulas or your data behind the scenes, and both need to be further understood.&lt;BR /&gt;&lt;BR /&gt;If you still have doubts, I would strongly suggest to open a ticket with SAS Technical Support to analyze your report &amp;amp; data.&lt;BR /&gt;&lt;BR /&gt;To answer your initial question, directly: I work with many clients and SAS deployments (Viya and not Viya), and while, as discussed above, you may experience these discrepancies in the &lt;STRONG&gt;visualization (as you can see in any other visualization tool)&lt;/STRONG&gt;, I have never seen this kind of issue with the &lt;STRONG&gt;data+calculations&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The responsibility of the visualization lays on the shoulders of the author of the report, except on very rare cases where there might a software defect, which I doubt very much is the case. Yet, if you want to challenge this aspect, SAS Technical Support will help you figure it out.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 10:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946245#M18384</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2024-10-04T10:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946292#M18385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467061"&gt;@Naiii&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The numbers do not contain decimals&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_0-1728031411874.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100908iB3BCC95052121BF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_0-1728031411874.png" alt="Naima_elhmous_0-1728031411874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In that case, it sets total = 7.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naima_elhmous_1-1728031541292.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100909i4D558DAF7301B0B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Naima_elhmous_1-1728031541292.png" alt="Naima_elhmous_1-1728031541292.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Pictures are not data, or very good proof of what values may be involved. Especially with what appears to be a very heavily edited picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 14:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946292#M18385</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-10-04T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya Calculation Bug: 1+6=8?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946574#M18388</link>
      <description>&lt;P&gt;Can you change its format to Float12.2, then post a screenshot of the results? Visual Analytics uses the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/leforinforref/p1fum54c93f8r0n1wrs5mrb05nzi.htm" target="_self"&gt;BEST12. format&lt;/A&gt; by default which may not necessarily include decimals.&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="Stu_SAS_0-1728321981398.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101011i3D8555B45FFC82FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Stu_SAS_0-1728321981398.png" alt="Stu_SAS_0-1728321981398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 17:29:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Viya-Calculation-Bug-1-6-8/m-p/946574#M18388</guid>
      <dc:creator>Stu_SAS</dc:creator>
      <dc:date>2024-10-07T17:29:04Z</dc:date>
    </item>
  </channel>
</rss>

