<?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: SAS VA- Table join in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835736#M16488</link>
    <description>Hi Madelyn,&lt;BR /&gt;I am using SAS script to join the datasets and creating a new dataset.</description>
    <pubDate>Thu, 29 Sep 2022 01:11:50 GMT</pubDate>
    <dc:creator>debopriya85</dc:creator>
    <dc:date>2022-09-29T01:11:50Z</dc:date>
    <item>
      <title>SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835564#M16474</link>
      <description>&lt;P&gt;*Reposting*&lt;/P&gt;&lt;P&gt;Hi, I am creating SAS VA dashboard in SAS Viya 3.4&lt;/P&gt;&lt;P&gt;For one of the dashboards, I need to calculate Rate which is "count(Store_ID with sales)/ Count(all Store_ID)".&lt;/P&gt;&lt;P&gt;Count Store_ID with sales is coming from fact_sales table&amp;nbsp; which is having 2.7million records (around 7 GB).&lt;/P&gt;&lt;P&gt;and the denominator Count(All store_id) is coming from dimension table which is having 30K records&lt;/P&gt;&lt;P&gt;when I left join these 2 tables (left table is the Dimension table) and create another table the table size grows to 64 GB, which causes a massive slowdown.&lt;/P&gt;&lt;P&gt;What is the best way to achieve this. Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debopriya85_0-1664360357047.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75672i0A0B48404351E7F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="debopriya85_0-1664360357047.png" alt="debopriya85_0-1664360357047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the above screenshot, if i left join for every date there will be min 30K records per day. For 2 years the the number of rows will be 730*30K.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835564#M16474</guid>
      <dc:creator>debopriya85</dc:creator>
      <dc:date>2022-09-28T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835568#M16475</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/425022"&gt;@debopriya85&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;first approach: on what subsets should the "Rate" be calculated. If you just need to calculate the one overall rate, there shoud be a solution without joining the tables.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835568#M16475</guid>
      <dc:creator>MarkusWeick</dc:creator>
      <dc:date>2022-09-28T10:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835570#M16476</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/425022"&gt;@debopriya85&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;second approach: do you join by identity of the store_id? How many other columns are in the DIM_store tabel?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835570#M16476</guid>
      <dc:creator>MarkusWeick</dc:creator>
      <dc:date>2022-09-28T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835614#M16479</link>
      <description>&lt;P&gt;In general, data should be prepared outside of Visual Analytics.&amp;nbsp;If you look at &lt;STRONG&gt;Considerations for Data Source Joins&lt;/STRONG&gt; in the following topic, it explains why data joins can cause performance problems.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/vacdc/8.5/vareportdata/n167hzcxe4pi2yn1b50jv5ujgtor.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/vacdc/8.5/vareportdata/n167hzcxe4pi2yn1b50jv5ujgtor.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 14:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835614#M16479</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2022-09-28T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835735#M16487</link>
      <description>Hi Bruehi, I will only be joining based on Store_id, there are 10 additional columns in the DIM_Store table.&lt;BR /&gt;The rate calculation is dynamic based on the user selection of filters</description>
      <pubDate>Thu, 29 Sep 2022 01:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835735#M16487</guid>
      <dc:creator>debopriya85</dc:creator>
      <dc:date>2022-09-29T01:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA- Table join</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835736#M16488</link>
      <description>Hi Madelyn,&lt;BR /&gt;I am using SAS script to join the datasets and creating a new dataset.</description>
      <pubDate>Thu, 29 Sep 2022 01:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Table-join/m-p/835736#M16488</guid>
      <dc:creator>debopriya85</dc:creator>
      <dc:date>2022-09-29T01:11:50Z</dc:date>
    </item>
  </channel>
</rss>

