<?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 Merging Two data sets. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311498#M21054</link>
    <description>&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had two files :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product file&amp;nbsp;with variables&lt;/P&gt;&lt;P&gt;COUNTRY |REP PERIOD|PRODUCT|CUS BAL|TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE&lt;/P&gt;&lt;P&gt;Mhh|201609|BONDS|190287090.36|6403.43|35133.79&lt;BR /&gt;Mhh|201609|CARDS|671324094.71|173433.63|7456720.33&lt;BR /&gt;Mhh|201609|INSURANCE DISTRIBUTION|319084278.75|1200.88|32716.46&lt;BR /&gt;Mhh|201609|LIABILITIES|8221493003.19|1023665.86|6227124.53&lt;BR /&gt;Mhh|201609|MORTGAGE|-4966142516.00|866733.69|6418349.77&lt;BR /&gt;Mhh|201609|MUTUAL FUNDS|953758774.35|117141.71|995857.09&lt;BR /&gt;Mhh|201609|OTHER LOANS|-208178265.09|11068.84|2471757.78&lt;BR /&gt;Mhh|201609|STRUCTURED PRODUCTS|1075804405.98|25508.59|486816.84&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Segment file with variables:&lt;/P&gt;&lt;P&gt;COUNTRY |REP PERIOD|Segment|Client|TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE&lt;/P&gt;&lt;P&gt;Mhh|201609|ADV|7874|252777.11|7017855.48&lt;BR /&gt;Mhh|201609|PERSONAL|12965|398750.38|8943615.55&lt;BR /&gt;Mhh|201609|PRE|26376|1573629.14|8163005.54&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i neeed to create single dataset using those two different files in which the summary of the TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE should be equal for each file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean if we add all the revenues for three segemnts that value should match for the products revenue&amp;nbsp;for each month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one please&amp;nbsp;provide me the code to create my final dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&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;</description>
    <pubDate>Mon, 14 Nov 2016 19:47:28 GMT</pubDate>
    <dc:creator>vula</dc:creator>
    <dc:date>2016-11-14T19:47:28Z</dc:date>
    <item>
      <title>Merging Two data sets.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311498#M21054</link>
      <description>&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had two files :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product file&amp;nbsp;with variables&lt;/P&gt;&lt;P&gt;COUNTRY |REP PERIOD|PRODUCT|CUS BAL|TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE&lt;/P&gt;&lt;P&gt;Mhh|201609|BONDS|190287090.36|6403.43|35133.79&lt;BR /&gt;Mhh|201609|CARDS|671324094.71|173433.63|7456720.33&lt;BR /&gt;Mhh|201609|INSURANCE DISTRIBUTION|319084278.75|1200.88|32716.46&lt;BR /&gt;Mhh|201609|LIABILITIES|8221493003.19|1023665.86|6227124.53&lt;BR /&gt;Mhh|201609|MORTGAGE|-4966142516.00|866733.69|6418349.77&lt;BR /&gt;Mhh|201609|MUTUAL FUNDS|953758774.35|117141.71|995857.09&lt;BR /&gt;Mhh|201609|OTHER LOANS|-208178265.09|11068.84|2471757.78&lt;BR /&gt;Mhh|201609|STRUCTURED PRODUCTS|1075804405.98|25508.59|486816.84&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Segment file with variables:&lt;/P&gt;&lt;P&gt;COUNTRY |REP PERIOD|Segment|Client|TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE&lt;/P&gt;&lt;P&gt;Mhh|201609|ADV|7874|252777.11|7017855.48&lt;BR /&gt;Mhh|201609|PERSONAL|12965|398750.38|8943615.55&lt;BR /&gt;Mhh|201609|PRE|26376|1573629.14|8163005.54&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i neeed to create single dataset using those two different files in which the summary of the TOTAL Internal REVENUE|TOTAL&amp;nbsp;Company REVENUE should be equal for each file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean if we add all the revenues for three segemnts that value should match for the products revenue&amp;nbsp;for each month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one please&amp;nbsp;provide me the code to create my final dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&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;</description>
      <pubDate>Mon, 14 Nov 2016 19:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311498#M21054</guid>
      <dc:creator>vula</dc:creator>
      <dc:date>2016-11-14T19:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Two data sets.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311522#M21055</link>
      <description>&lt;P&gt;Some clarification need to help you more:&lt;/P&gt;
&lt;P&gt;1) &amp;nbsp;have you tried to import your files into sas datasets ? if positive - what code did you use ?&lt;/P&gt;
&lt;P&gt;2) &amp;nbsp;what is your unit to sum values ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Is it: country - period - product ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Do you need summary per coutry-priod ? per country ? per period ? per product? all levels ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please be more specific.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311522#M21055</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-11-14T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Two data sets.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311858#M21067</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to create the final dataset ( Single or&amp;nbsp;Two )&amp;nbsp;for the dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In which the dashboard contains the data granularity as per the country -&amp;gt; Reporting Month&amp;nbsp;-&amp;gt; Segment -&amp;gt; Product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we filter according to the above granulartity the total revenues should match according to the filter selection..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible on the current data files i.e segment and product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 22:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311858#M21067</guid>
      <dc:creator>vula</dc:creator>
      <dc:date>2016-11-15T22:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Two data sets.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311902#M21070</link>
      <description>&lt;P&gt;I think I got your point.&lt;/P&gt;
&lt;P&gt;Attached is a program that convert data to SAS datasets and sum them per &lt;STRONG&gt;contry &amp;nbsp;rep_month&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;just to verify that totals equal on both inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can help in sas programing but I can't design a solution how to parse&amp;nbsp;products among segments.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 05:33:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Merging-Two-data-sets/m-p/311902#M21070</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-11-16T05:33:32Z</dc:date>
    </item>
  </channel>
</rss>

