<?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 SAS VA create weekly executive report in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793051#M15779</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am completely new to SAS VA . I some transaction operation data (50k rows in 2 years) and I would like to use SAS VA to create a executive report to create reports with graphs which show (compare) metric for each week.&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="weekly graph.PNG" style="width: 455px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67945i43330A09544F2DF3/image-dimensions/455x174?v=v2" width="455" height="174" role="button" title="weekly graph.PNG" alt="weekly graph.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 01:37:08 GMT</pubDate>
    <dc:creator>Ming80</dc:creator>
    <dc:date>2022-01-28T01:37:08Z</dc:date>
    <item>
      <title>SAS VA create weekly executive report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793051#M15779</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am completely new to SAS VA . I some transaction operation data (50k rows in 2 years) and I would like to use SAS VA to create a executive report to create reports with graphs which show (compare) metric for each week.&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="weekly graph.PNG" style="width: 455px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67945i43330A09544F2DF3/image-dimensions/455x174?v=v2" width="455" height="174" role="button" title="weekly graph.PNG" alt="weekly graph.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 01:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793051#M15779</guid>
      <dc:creator>Ming80</dc:creator>
      <dc:date>2022-01-28T01:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA create weekly executive report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793144#M15782</link>
      <description>&lt;P&gt;You can make a stacked bar chart like the one in your screen capture:&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="bar.png" style="width: 569px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67953i5755FA07ACD15A6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="bar.png" alt="bar.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make a bar chart and assign a category to the Group role. Set the Grouping Style option to stack the group values, and set the Grouping Scale option to Normalize to 100%.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also set a Week format on your date variable to give values like 22W04. I'm not sure if there is an easy way to get weekly values labeled with the first day of the week (01/03/2022)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if that helps,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 15:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793144#M15782</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2022-01-28T15:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA create weekly executive report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793346#M15783</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I think my biggest problem now is that I don't know how to group/filter transactional data into each week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 11:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793346#M15783</guid>
      <dc:creator>Ming80</dc:creator>
      <dc:date>2022-01-30T11:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA create weekly executive report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793548#M15784</link>
      <description>&lt;P&gt;If you are fine with the "22W01" style of weekly date values, all you need to do is assign a weekly format to your date column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is a requirement to have standard date values to represent each week, AND you have VA 8.3 or later, then here is one way to do it:&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="barweek1.png" style="width: 578px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68034iDB01648742D5CED0/image-size/large?v=v2&amp;amp;px=999" role="button" title="barweek1.png" alt="barweek1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a calculated item and an advanced filter to get this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First we will create a calculated expression so that every row will contain the value for the entire week:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="barweekexp.png" style="width: 902px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68027i7D0AB9A133B2E883/image-size/large?v=v2&amp;amp;px=999" role="button" title="barweekexp.png" alt="barweekexp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/vacdc/v_012/vareportdata/p0dovqqp325peyn1dpijpxxmwj83.htm#n0ruvswauohzdon16xr6agekj45w" target="_self"&gt;Period() operator&lt;/A&gt; aggregates the values for the current time period. We need to select _ByWeek_ for the final drop-down here. If your VA is older than the 8.3 release, weekly intervals are not supported and this won't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So now that we have a column that has each week's total, we'll want to hide all the date values other than the day of the week we want to show. We'll use an advanced filter to do this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="barweekaf.png" style="width: 883px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68033i5E55A0137E0B749A/image-size/large?v=v2&amp;amp;px=999" role="button" title="barweekaf.png" alt="barweekaf.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You make a filter like this by opening the Filters pane and selecting New Filter... Advanced Filter.&lt;/P&gt;
&lt;P&gt;This filter uses the DayofWeek() operator and I am selecting "2" which is Monday. So each date displayed in your chart will be a Monday.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you create your bar chart using the calculated item above, and you apply the filter, then you can get a result like the bar chart at the top of this post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if that helps,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 16:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-create-weekly-executive-report/m-p/793548#M15784</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2022-01-31T16:22:58Z</dc:date>
    </item>
  </channel>
</rss>

