<?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: How to create lag and lead values in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/567057#M12626</link>
    <description>&lt;P&gt;You can run normal SAS code on SAS VA 7.x to add lag and lead columns to your data before loading into your LASR library. This could be done as part of a batch job which also loads your LASR data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 20:13:04 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-06-18T20:13:04Z</dc:date>
    <item>
      <title>How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/565343#M12596</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to create lag or lead values from an aggregate field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am aware it can be created by using simple metric using periodic option but I have to use aggregate field to create lag, lead and avg 3 month values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Anurag&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 18:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/565343#M12596</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-06-11T18:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566750#M12621</link>
      <description>&lt;P&gt;Can you please be a little more specific and/or give an example of what you're trying to do?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 23:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566750#M12621</guid>
      <dc:creator>ehmsoleil</dc:creator>
      <dc:date>2019-06-17T23:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566803#M12622</link>
      <description>&lt;P&gt;An alternative approach could be to add a lag and lead column to each row of your source data before loading into your LASR server, then calculate aggregates from these.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 07:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566803#M12622</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-18T07:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566812#M12624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;Service_Time Sales1&amp;nbsp; &amp;nbsp;Lag&amp;nbsp; &amp;nbsp; &amp;nbsp;Lead&amp;nbsp; &amp;nbsp; Rolling_3_Months_Avg&lt;/P&gt;
&lt;P&gt;Jan2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&lt;/P&gt;
&lt;P&gt;Feb2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&lt;/P&gt;
&lt;P&gt;Mar2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apr2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 40&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 40&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess it will help you in understanding my requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know it is pretty easy to create through sas coding but here we don't have any control on data side.&lt;/P&gt;
&lt;P&gt;This has to be created at SAS VA and base&amp;nbsp; field is an aggregate measure which we are creating at SAS VA level.&lt;/P&gt;
&lt;P&gt;And limitation is SAS VA doesn't allow to use aggregate measure to create this logic in VA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Anurag Rai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 09:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/566812#M12624</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-06-18T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/567057#M12626</link>
      <description>&lt;P&gt;You can run normal SAS code on SAS VA 7.x to add lag and lead columns to your data before loading into your LASR library. This could be done as part of a batch job which also loads your LASR data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 20:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/567057#M12626</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-18T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568230#M12641</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't have access to reporting layer else it would have been lot easy to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways thanks for the replies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Anurag Rai&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 19:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568230#M12641</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-06-23T19:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568234#M12642</link>
      <description>&lt;P&gt;I'm not referring to the reporting layer, I'm talking about the data being loaded into your LASR server. Not being able to change your data sourcing if your requirements change doesn't make any sense to me.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 20:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568234#M12642</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-23T20:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568241#M12644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got stuck in a weird situation don't have any control on data part. SAS Data builder option is also not provided.&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;Regards,&lt;/P&gt;
&lt;P&gt;Anurag&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 20:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568241#M12644</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-06-23T20:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create lag and lead values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568250#M12645</link>
      <description>&lt;P&gt;You can use SAS Studio in SAS VA to run SAS code to prepare SAS data for loading into your LASR library. Trying to do everything in formulas / calculated measures is severely limiting as well as often being inefficient.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 22:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-lag-and-lead-values/m-p/568250#M12645</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-23T22:55:47Z</dc:date>
    </item>
  </channel>
</rss>

