<?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: YTD calculation issue | when not all category values exist for a given month. in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/693168#M14351</link>
    <description>&lt;P&gt;Hi Rodrigo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I test this on 8.5, I do not get missing values. I am not sure about 7.5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can create dummy values (replace missing with 0), that should resolve the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 13:19:55 GMT</pubDate>
    <dc:creator>Sam_SAS</dc:creator>
    <dc:date>2020-10-21T13:19:55Z</dc:date>
    <item>
      <title>YTD calculation issue | when not all category values exist for a given month.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/692570#M14336</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;although I have done a research on the YTD topic, I haven't found the answer to my specific question.&lt;BR /&gt;I'm using the cumulative period function on VA 7.4 (screenshot 1 below) to calculate and it works (almost) fine except in one circumstance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When, for a given month, on the source data, we cannot find values for all the possible values of a given category (used in the crosstab), they will not be displayed (even if they should have YTD value)?&lt;BR /&gt;Please find the screenshots 2 and 3 below so you can understand better what I mean.&lt;BR /&gt;I would expect that, even if we don't have the MTD value in the source table for September, the value would appear anyway in the crosstab as there are values for August and the crosstab is displaying the YTD (cumulative period function).&lt;BR /&gt;&lt;BR /&gt;Is this a issue that is already corrected in later versions of VA (e.g. 8.5)?&lt;BR /&gt;Or I'm obliged to calculate YTD on the data preparation step?&lt;/P&gt;&lt;P&gt;Or should I create "dummy" values for all the categories values that I'm using on the crosstab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;screenshot 1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rodrigo_pereira_0-1603114957789.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50785iCC59E15EB66B2F78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rodrigo_pereira_0-1603114957789.png" alt="rodrigo_pereira_0-1603114957789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;screenshot 2 (YTD for September).&lt;/P&gt;&lt;P&gt;Not all DIRECTION values are displayed, as we can see on the screenshot 3 with the YTD for August&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rodrigo_pereira_1-1603115051521.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50791i5FFE4281CE0449A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rodrigo_pereira_1-1603115051521.png" alt="rodrigo_pereira_1-1603115051521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;screenshot 3 (YTD for August).&lt;/P&gt;&lt;P&gt;The value is correct and the three DIRECTION values are displayed as there are values on the source table for August 2020.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rodrigo_pereira_2-1603115168918.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50794i3AB365E980F72C6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rodrigo_pereira_2-1603115168918.png" alt="rodrigo_pereira_2-1603115168918.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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:02:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/692570#M14336</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2020-10-19T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation issue | when not all category values exist for a given month.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/693168#M14351</link>
      <description>&lt;P&gt;Hi Rodrigo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I test this on 8.5, I do not get missing values. I am not sure about 7.5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can create dummy values (replace missing with 0), that should resolve the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/693168#M14351</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2020-10-21T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation issue | when not all category values exist for a given month.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/693173#M14353</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the good news regarding the 8.5 version!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also suspected that this should had already been solved by SAS on recent releases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I've discovered that I would need the calculation on the data model for other reasons (e.g. drill-through to the detail ...) and I've calculated YTD on the data preparation step.&lt;BR /&gt;&lt;BR /&gt;Thank you for the insight.&lt;BR /&gt;&lt;BR /&gt;BRs,&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/YTD-calculation-issue-when-not-all-category-values-exist-for-a/m-p/693173#M14353</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2020-10-21T13:31:41Z</dc:date>
    </item>
  </channel>
</rss>

