<?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 show one result in record in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805850#M317453</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  create table BH_D_ZAB_X_ALOK as
    select max(DATA_DANYCH) as DATA_DANYCH 
    from cmz.BH_D_ZAB_X_ALOK_&amp;amp;thismonth
    where DATA_DANYCH eq intnx('month',DATA_DANYCH,0,'e')
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Apr 2022 13:40:22 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2022-04-04T13:40:22Z</dc:date>
    <item>
      <title>How to show one result in record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805812#M317433</link>
      <description>&lt;P&gt;I have a code that checks for me if there is any record for the last day of the month. However, I would need it to show me only one item, i.e. one record, not 148,000 dates as in the photo below&lt;/P&gt;
&lt;PRE&gt;proc sql;
create table BH_D_ZAB_X_ALOK as 
select DATA_DANYCH as DATA_DANYCH from cmz.BH_D_ZAB_X_ALOK_&amp;amp;thismonth
             where DATA_DANYCH eq intnx('month',DATA_DANYCH,0,'e')
			 group by DATA_DANYCH

			  ;
quit;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gieorgie_0-1649065415772.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70092iC374AA52E797DEC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gieorgie_0-1649065415772.png" alt="Gieorgie_0-1649065415772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 09:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805812#M317433</guid>
      <dc:creator>Gieorgie</dc:creator>
      <dc:date>2022-04-04T09:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to show one result in record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805826#M317439</link>
      <description>&lt;P&gt;Easily handled in a DATA step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set bh_d_zab_x_alok;
    by data_danych;
    if first.data_danych;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 10:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805826#M317439</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-04T10:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to show one result in record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805833#M317446</link>
      <description>proc sql;&lt;BR /&gt;create table BH_D_ZAB_X_ALOK as &lt;BR /&gt;select      distinct      DATA_DANYCH as DATA_DANYCH from cmz.BH_D_ZAB_X_ALOK_&amp;amp;thismonth&lt;BR /&gt;             where DATA_DANYCH eq intnx('month',DATA_DANYCH,0,'e')&lt;BR /&gt;			 group by DATA_DANYCH&lt;BR /&gt;&lt;BR /&gt;			  ;&lt;BR /&gt;quit;</description>
      <pubDate>Mon, 04 Apr 2022 11:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805833#M317446</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-04-04T11:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to show one result in record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805850#M317453</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  create table BH_D_ZAB_X_ALOK as
    select max(DATA_DANYCH) as DATA_DANYCH 
    from cmz.BH_D_ZAB_X_ALOK_&amp;amp;thismonth
    where DATA_DANYCH eq intnx('month',DATA_DANYCH,0,'e')
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:40:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-show-one-result-in-record/m-p/805850#M317453</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-04-04T13:40:22Z</dc:date>
    </item>
  </channel>
</rss>

