<?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: current week's worth in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248378#M3263</link>
    <description>Hey sam do you know, how the option of _Inferred_ for grouping period it says that it takes the grouping based on data in the report but it never worked for me.</description>
    <pubDate>Fri, 05 Feb 2016 19:40:17 GMT</pubDate>
    <dc:creator>Explore_SAS</dc:creator>
    <dc:date>2016-02-05T19:40:17Z</dc:date>
    <item>
      <title>current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248295#M3253</link>
      <description>&lt;P&gt;It seems an easy task but I can't fugure it out; I want to filter a report from Now() to Now()-7 ; basically the current week's worth of data.&lt;/P&gt;&lt;P&gt;Assuming data in memory with a date and date time available to use.&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 16:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248295#M3253</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2016-02-05T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248302#M3254</link>
      <description>&lt;P&gt;you can use filter tab on the right hand side of your report desinger to filter the data you want to see in the report.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 16:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248302#M3254</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T16:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248309#M3256</link>
      <description>but would that be relative to a week or hard coding some dates?</description>
      <pubDate>Fri, 05 Feb 2016 16:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248309#M3256</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2016-02-05T16:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248312#M3257</link>
      <description>I guess, it would be hardcoding for some dates.</description>
      <pubDate>Fri, 05 Feb 2016 16:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248312#M3257</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248313#M3258</link>
      <description>or else you can add a slider as filter on your report and assign date category to it.</description>
      <pubDate>Fri, 05 Feb 2016 16:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248313#M3258</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T16:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248316#M3259</link>
      <description>&lt;P&gt;thanks; I was looking foor som preiodic type function; so when the report is refreshed , it only refreshes for the current week; assuming I only have a date and date time available in memory&amp;nbsp;- i.e not having to go back to ETL.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 16:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248316#M3259</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2016-02-05T16:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248320#M3260</link>
      <description>There is option of function of relative period when you calculate aggregated column, if you want to aggregate something for a relative period, please check if its useful for you.</description>
      <pubDate>Fri, 05 Feb 2016 16:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248320#M3260</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248360#M3262</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50227"&gt;@Explore_SAS&lt;/a&gt; wrote:&lt;BR /&gt;There is option of function of relative period when you calculate aggregated column, if you want to aggregate something for a relative period, please check if its useful for you.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RelativePeriod operator does not work at the week level, unfortunately.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248360#M3262</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-02-05T18:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248378#M3263</link>
      <description>Hey sam do you know, how the option of _Inferred_ for grouping period it says that it takes the grouping based on data in the report but it never worked for me.</description>
      <pubDate>Fri, 05 Feb 2016 19:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248378#M3263</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T19:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248386#M3264</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50227"&gt;@Explore_SAS&lt;/a&gt; wrote:&lt;BR /&gt;Hey sam do you know, how the option of _Inferred_ for grouping period it says that it takes the grouping based on data in the report but it never worked for me.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An issue with _Inferred_ is that it will often use an inferred interval period of "day" for the inner interval but the LASR function does not like to process "day" and so the operator returns missing values&amp;nbsp;in most cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your date data item has a format like MMMYYYY, then _Inferred_ should correctly set the inner interval to "Month".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I always set the interval parameters to&amp;nbsp;the period I want rather than using _Inferred_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eventually this should work better than it does right now.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 20:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248386#M3264</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-02-05T20:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248400#M3265</link>
      <description>The problem with us is that, we have to calculate the difference with between relative date like what is change of value from yesterday to today. by default VA doesn't have option to choose interval as day. so we have to rely on _inferred_ assuming that VA with automatically understood looking at the data.</description>
      <pubDate>Fri, 05 Feb 2016 20:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248400#M3265</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2016-02-05T20:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248407#M3266</link>
      <description>&lt;P&gt;The periodic operators do not handle relative dates correctly when the interval is day. Possibly some day processing was supported in earlier releases but it could return bad results. The operators were changed to always return missing values when the interval is day and there is any offset processing to do. I don't remember whether day processing was enabled in any customer-facing release.&lt;BR /&gt;&lt;BR /&gt;Day interval is still fine for operators like Period that do not calculate a difference between dates.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 21:21:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248407#M3266</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-02-05T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248480#M3272</link>
      <description>&lt;P&gt;Answer to your first question is this code used in the filter.&lt;/P&gt;&lt;P&gt;It wil filter&amp;nbsp;out your data for the last 7 days.&lt;/P&gt;&lt;P&gt;If you need the running week then you need a sligtly different code.&lt;/P&gt;&lt;P&gt;Greetings&amp;nbsp; Peter&lt;/P&gt;&lt;P&gt;&lt;IMG title="06-02-2016 16-19-25.png" alt="06-02-2016 16-19-25.png" src="https://communities.sas.com/t5/image/serverpage/image-id/1781i0778E0B3A125AE60/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 15:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/248480#M3272</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2016-02-06T15:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/443517#M9637</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the filter. I am interested to know how to filter out the running current week instead of the last 7 days. Do you mind share the text code for filtering out the current week?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 21:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/443517#M9637</guid>
      <dc:creator>Jun_KP</dc:creator>
      <dc:date>2018-03-07T21:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/443743#M9638</link>
      <description>Possibly you could leverage the DayOfWeek() operator to filter out the days where DayOfWeek(Date) is less than  DayOfWeek(DatePart(Now()))</description>
      <pubDate>Thu, 08 Mar 2018 13:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/443743#M9638</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2018-03-08T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444014#M9658</link>
      <description>&lt;P&gt;Please try this one.&lt;/P&gt;&lt;P&gt;Works for me. Not sure if you want to use the function to filter from today on.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="09-03-2018 07-48-01.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19077iE7A438C29131BA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="09-03-2018 07-48-01.jpg" alt="09-03-2018 07-48-01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 06:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444014#M9658</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2018-03-09T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444183#M9663</link>
      <description>&lt;P&gt;Thank you both Sam and Peter for your inputs! I worked it out based on your inspiration of utilizing both DayOfWeek and WeekNumber functions. Here's the filter for displaying current week of the year:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( Datepart (Date)&amp;gt;= First Day of Current Year ) AND&lt;/P&gt;&lt;P&gt;( ( Datepart(Date)&amp;gt;= Datepart(Now())) OR ( DayOfWeek(Date) &amp;lt;= DayOfWeek(DatePart(Now())) ) ) AND&lt;/P&gt;&lt;P&gt;( WeekNumber(DatePart(Date)) = WeekNumber(DatePart(Now())) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444183#M9663</guid>
      <dc:creator>Jun_KP</dc:creator>
      <dc:date>2018-03-09T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: current week's worth</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444200#M9664</link>
      <description>Great! Glad to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 09 Mar 2018 18:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/current-week-s-worth/m-p/444200#M9664</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2018-03-09T18:20:48Z</dc:date>
    </item>
  </channel>
</rss>

