<?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: Computed Columns in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241676#M17306</link>
    <description>I don't know if it's possible to set EG to use the CALCULATED key word instead of bringing in the entire calculation, but in your computed column you can reference CALCULATED VARIABLE_NAME instead of dragging the computed column from the variable list. EG does seem to maintain the calculated keyword/reference in this case.  &lt;BR /&gt;&lt;BR /&gt;I agree not ideal though, hopefully someone else has a better answer!</description>
    <pubDate>Mon, 04 Jan 2016 16:21:15 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-01-04T16:21:15Z</dc:date>
    <item>
      <title>Computed Columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241341#M17294</link>
      <description>&lt;P&gt;I am a new user and I have created a number of new computed columns through the Query Builder.&amp;nbsp; When I create a new computed column based on an existing computed column, the full text of the initial computed column is brought in (rather than a reference to the name of the column).&amp;nbsp; I had since a reason to change one of the initial calculations, but I then found that&amp;nbsp;the other columns are not automatically updated as it keeps the initial text.&amp;nbsp; Is there a way to reference the cell so that further changes can be picked up throughout the model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&amp;nbsp; Anna&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 04:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241341#M17294</guid>
      <dc:creator>AnnaBetts</dc:creator>
      <dc:date>2015-12-31T04:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Computed Columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241409#M17297</link>
      <description>I'm having a hard time following this, can you post a picture that illustrates your issue? You can manually change the names/labels of computed columns when you build them in the query builder. Unfortunately, changing labels/names won't propagate through the project.</description>
      <pubDate>Thu, 31 Dec 2015 18:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241409#M17297</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-31T18:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Computed Columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241574#M17305</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I created the first computed column (called Provisioning)&amp;nbsp;then it included the following code&lt;/P&gt;&lt;P&gt;(CASE&lt;/P&gt;&lt;P&gt;WHEN (IFC(t2.Sec_Classification_SubGroup="Securitisation - External", "Yes", "No")) = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("1","2","5"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("1","2","5"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "No" AND (IFC (t2.MAX_of_ValuationDate &amp;gt; t7.Logical_Date_less_365,"Yes","No")) = "Yes" AND (ifc(t2.LVR&amp;gt;80,"Yes","No")) = "No" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("12"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("12"),"Yes","No")) = "Yes" AND (IFC (t2.MAX_of_ValuationDate &amp;gt; t7.Logical_Date_less_365,"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "No" AND (ifc(t2.LVR&amp;gt;80,"Yes","No")) = "No" THEN "No"&lt;/P&gt;&lt;P&gt;ELSE "Yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I then want to use this Yes/No field in other calculated columns then it brings in the full code again, not the name of the computed column.&amp;nbsp; For example.. (&lt;/P&gt;&lt;P&gt;CASE&lt;/P&gt;&lt;P&gt;WHEN (CASE&lt;/P&gt;&lt;P&gt;WHEN (IFC(t2.Sec_Classification_SubGroup="Securitisation - External", "Yes", "No")) = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("1","2","5"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("1","2","5"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "No" AND (IFC (t2.MAX_of_ValuationDate &amp;gt; t7.Logical_Date_less_365,"Yes","No")) = "Yes" AND (ifc(t2.LVR&amp;gt;80,"Yes","No")) = "No" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("12"),"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "Yes" THEN "No"&lt;/P&gt;&lt;P&gt;WHEN (ifc(t2.Account_Security_CD in ("12"),"Yes","No")) = "Yes" AND (IFC (t2.MAX_of_ValuationDate &amp;gt; t7.Logical_Date_less_365,"Yes","No")) = "Yes" AND t2.Mortgage_Insurance = "No" AND (ifc(t2.LVR&amp;gt;80,"Yes","No")) = "No" THEN "No"&lt;/P&gt;&lt;P&gt;ELSE "Yes"&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;) = "Yes" AND&lt;/P&gt;&lt;P&gt;t2.DTR_Level5 IN ("Mortgage Loan" , "Security Only Loan" , "Line of Credit")&lt;/P&gt;&lt;P&gt;AND t2.AVG_of_Current_Balance &amp;gt; 0&lt;/P&gt;&lt;P&gt;THEN t2.AVG_of_Current_Balance&lt;/P&gt;&lt;P&gt;ELSE 0&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;END)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My concern is if I make a change to the Provisioning column then it will not automatically flow through to the other computed columns where I referred to the Provisioning computed column.&amp;nbsp; I will need to change the code each time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question was whether it was possible for Enterprise Guide to accept a reference to the column rather than bring in the full code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Anna&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12166i363452C6B1A32315/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Column1.JPG" title="Column1.JPG" /&gt;</description>
      <pubDate>Sun, 03 Jan 2016 22:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241574#M17305</guid>
      <dc:creator>AnnaBetts</dc:creator>
      <dc:date>2016-01-03T22:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Computed Columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241676#M17306</link>
      <description>I don't know if it's possible to set EG to use the CALCULATED key word instead of bringing in the entire calculation, but in your computed column you can reference CALCULATED VARIABLE_NAME instead of dragging the computed column from the variable list. EG does seem to maintain the calculated keyword/reference in this case.  &lt;BR /&gt;&lt;BR /&gt;I agree not ideal though, hopefully someone else has a better answer!</description>
      <pubDate>Mon, 04 Jan 2016 16:21:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computed-Columns/m-p/241676#M17306</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-04T16:21:15Z</dc:date>
    </item>
  </channel>
</rss>

