<?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: Want to set the timeid in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511714#M32471</link>
    <description>Ok so what if I need it as 20180400&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[image: image.png]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now can u help me&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Nov 2018 15:37:10 GMT</pubDate>
    <dc:creator>Sultana</dc:creator>
    <dc:date>2018-11-09T15:37:10Z</dc:date>
    <item>
      <title>Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511705#M32468</link>
      <description>&lt;DIV class="gmail_default"&gt;I performed these steps&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;Autoload 'F:\sasdata\data\autoload\report_mart_auto_load';&lt;BR /&gt;proc sql ;&lt;BR /&gt;create table test as&lt;BR /&gt;Select&lt;BR /&gt;&amp;nbsp;b.NAICSCode as NAICS_Code,&lt;BR /&gt;&amp;nbsp;b.callreportcode as Call_Code,&lt;BR /&gt;&amp;nbsp;b.Loannumber as Account_Number,&lt;BR /&gt;&amp;nbsp;b.Name as Account_Name,&lt;BR /&gt;&amp;nbsp;a.Currentprincipalbalance as Balance_Today,&lt;BR /&gt;&amp;nbsp;a.Lineavailable as Lineavailable,&lt;BR /&gt;&amp;nbsp;sum(a.Currentprincipalbalance,a.Lineavailable) as Commitment_Amount format=comma15.2,&lt;BR /&gt;&amp;nbsp;c.Officername,&lt;BR /&gt;&amp;nbsp;a.timeid&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;from Autoload.Fact_Loan_Balance a&lt;BR /&gt;left join Autoload.DIM_LOAN b on a.Accountkey=b.Accountkey&lt;BR /&gt;left join Autoload.DIM_OFFICER c on b.OfficerKey=c.Officerkey&lt;BR /&gt;left join Autoload.DIM_BRANCH_COST_CENTER d on b.branchcostcenterkey=d.branchcostcenterkey&lt;BR /&gt;where a.timeid='2018-07-31' and&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;quit;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;I get the result&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;but when I run&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&lt;DIV&gt;Autoload 'F:\sasdata\data\autoload\report_mart_auto_load';&lt;BR /&gt;proc sql ;&lt;BR /&gt;create table test as&lt;BR /&gt;Select&lt;BR /&gt;&amp;nbsp;b.NAICSCode as NAICS_Code,&lt;BR /&gt;&amp;nbsp;b.callreportcode as Call_Code,&lt;BR /&gt;&amp;nbsp;b.Loannumber as Account_Number,&lt;BR /&gt;&amp;nbsp;b.Name as Account_Name,&lt;BR /&gt;&amp;nbsp;a.Currentprincipalbalance as Balance_Today,&lt;BR /&gt;&amp;nbsp;a.Lineavailable as Lineavailable,&lt;BR /&gt;&amp;nbsp;sum(a.Currentprincipalbalance,a.Lineavailable) as Commitment_Amount format=comma15.2,&lt;BR /&gt;&amp;nbsp;c.Officername,&lt;BR /&gt;&amp;nbsp;a.timeid&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;from Autoload.Fact_Loan_Balance a&lt;BR /&gt;left join Autoload.DIM_LOAN b on a.Accountkey=b.Accountkey&lt;BR /&gt;left join Autoload.DIM_OFFICER c on b.OfficerKey=c.Officerkey&lt;BR /&gt;left join Autoload.DIM_BRANCH_COST_CENTER d on b.branchcostcenterkey=d.branchcostcenterkey&lt;BR /&gt;where a.timeid='20180400'&amp;nbsp; and&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;quit;&lt;/DIV&gt;&lt;DIV&gt;I get an empty data set .&lt;/DIV&gt;&lt;DIV&gt;Please let me know since I need the data set with 20180400&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511705#M32468</guid>
      <dc:creator>Sultana</dc:creator>
      <dc:date>2018-11-09T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511711#M32469</link>
      <description>&lt;P&gt;Try running a Proc freq on the&amp;nbsp;&lt;SPAN&gt;timeid variable to see how the underlying data is . You may have to change the value in the where clause based on the format of the timeid (2018-04-00 may be ).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511711#M32469</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-11-09T15:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511713#M32470</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244224"&gt;@Sultana&lt;/a&gt; wrote&amp;nbsp;&lt;SPAN&gt;where a.timeid='20180400'&amp;nbsp; and&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;that is not a valid date&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511713#M32470</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-11-09T15:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511714#M32471</link>
      <description>Ok so what if I need it as 20180400&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[image: image.png]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now can u help me&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511714#M32471</guid>
      <dc:creator>Sultana</dc:creator>
      <dc:date>2018-11-09T15:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511715#M32472</link>
      <description>&lt;P&gt;Cannot see the image, please try again. It would be more helpful if you could share the log as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[image: image.png]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511715#M32472</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-11-09T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511728#M32473</link>
      <description>Your query ends with AND?&lt;BR /&gt;Fix that or include the whole query and log. &lt;BR /&gt;&lt;BR /&gt;What does your TIMEID variable look like, what is the format and type? That defines how you need to use it and you're likely not doing that part correctly at the moment.</description>
      <pubDate>Fri, 09 Nov 2018 16:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511728#M32473</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-09T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Want to set the timeid</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511730#M32474</link>
      <description>&lt;P&gt;If your query didn't get any result than there might not be any records in the table with that particular value(&lt;SPAN&gt;a.timeid='20180400')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Make sure that the tables have the values exactly how your giving them.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 16:31:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Want-to-set-the-timeid/m-p/511730#M32474</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-11-09T16:31:35Z</dc:date>
    </item>
  </channel>
</rss>

