<?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: Can MIP input Portfolio be a view? in SAS Risk Management</title>
    <link>https://communities.sas.com/t5/SAS-Risk-Management/Can-MIP-input-Portfolio-be-a-view/m-p/723172#M408</link>
    <description>&lt;P&gt;Yes as long as you set up the view correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this on MIP 3.2 using the &lt;A href="https://go.documentation.sas.com/?cdcId=modimpcdc&amp;amp;cdcVersion=3.2&amp;amp;docsetId=modimpug&amp;amp;docsetTarget=n1f93jphjltk30n1p6urbvkzy5yn.htm&amp;amp;locale=en" target="_self"&gt;Sample Retail Template&lt;/A&gt;&amp;nbsp;thus:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Moved the sample files to the public work group in the file system (set up the data from the documenation link above)&lt;/LI&gt;
&lt;LI&gt;Created a dataset view of the portfolio dataset:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mipport "&amp;lt;SAS Config&amp;gt;\&amp;lt;Risk Work Group&amp;gt;\SASModelImplementationPlatform\input\portfolios" ;

data mipport.myView/view=mipport.myView ;
	set mipport.retail_portfolio_10000 ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
Note: it is important that you use the "mipport" as the library reference&lt;/LI&gt;
&lt;LI&gt;Then followed the steps in Submit a Portfilo Cube Run (from the documenation link above), replacing retail_portfolio with myView is step 6 "&lt;SPAN&gt;In the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;Portfolio data&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;field, click&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;Select&lt;/SPAN&gt;&lt;SPAN&gt;. Then, choose the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;mipport&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;library and the&amp;nbsp;&lt;/SPAN&gt;&lt;STRIKE&gt;&lt;SPAN class="xis-windowItem"&gt;retail_portfolio_10000&lt;/SPAN&gt;&lt;/STRIKE&gt;&lt;SPAN&gt;&amp;nbsp;myView data set.&lt;/SPAN&gt;"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The cube ran successfully,&lt;BR /&gt;I would recommend you try the same steps to confirm, then carefully test for your portfolio data.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 15:35:21 GMT</pubDate>
    <dc:creator>AMSAS</dc:creator>
    <dc:date>2021-03-03T15:35:21Z</dc:date>
    <item>
      <title>Can MIP input Portfolio be a view?</title>
      <link>https://communities.sas.com/t5/SAS-Risk-Management/Can-MIP-input-Portfolio-be-a-view/m-p/721202#M406</link>
      <description>A fairly easy question, but since I find no actual statement searching for an answer it better be asked. &lt;BR /&gt;&lt;BR /&gt;I our case we need to run two models in parallel with slightly modified Portfolios. So design can be to add new variables to current portfolio and from that create two selected views to each model run. &lt;BR /&gt;&lt;BR /&gt;The alternative is to create two Portfolio tables that have 95% same data and that builds much more space to keep over time.&lt;BR /&gt;&lt;BR /&gt;So question is, do MIP accept view as Portfolio input?</description>
      <pubDate>Tue, 23 Feb 2021 07:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Risk-Management/Can-MIP-input-Portfolio-be-a-view/m-p/721202#M406</guid>
      <dc:creator>RogerHed</dc:creator>
      <dc:date>2021-02-23T07:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can MIP input Portfolio be a view?</title>
      <link>https://communities.sas.com/t5/SAS-Risk-Management/Can-MIP-input-Portfolio-be-a-view/m-p/723172#M408</link>
      <description>&lt;P&gt;Yes as long as you set up the view correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this on MIP 3.2 using the &lt;A href="https://go.documentation.sas.com/?cdcId=modimpcdc&amp;amp;cdcVersion=3.2&amp;amp;docsetId=modimpug&amp;amp;docsetTarget=n1f93jphjltk30n1p6urbvkzy5yn.htm&amp;amp;locale=en" target="_self"&gt;Sample Retail Template&lt;/A&gt;&amp;nbsp;thus:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Moved the sample files to the public work group in the file system (set up the data from the documenation link above)&lt;/LI&gt;
&lt;LI&gt;Created a dataset view of the portfolio dataset:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mipport "&amp;lt;SAS Config&amp;gt;\&amp;lt;Risk Work Group&amp;gt;\SASModelImplementationPlatform\input\portfolios" ;

data mipport.myView/view=mipport.myView ;
	set mipport.retail_portfolio_10000 ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
Note: it is important that you use the "mipport" as the library reference&lt;/LI&gt;
&lt;LI&gt;Then followed the steps in Submit a Portfilo Cube Run (from the documenation link above), replacing retail_portfolio with myView is step 6 "&lt;SPAN&gt;In the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;Portfolio data&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;field, click&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;Select&lt;/SPAN&gt;&lt;SPAN&gt;. Then, choose the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-windowItem"&gt;mipport&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;library and the&amp;nbsp;&lt;/SPAN&gt;&lt;STRIKE&gt;&lt;SPAN class="xis-windowItem"&gt;retail_portfolio_10000&lt;/SPAN&gt;&lt;/STRIKE&gt;&lt;SPAN&gt;&amp;nbsp;myView data set.&lt;/SPAN&gt;"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The cube ran successfully,&lt;BR /&gt;I would recommend you try the same steps to confirm, then carefully test for your portfolio data.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Risk-Management/Can-MIP-input-Portfolio-be-a-view/m-p/723172#M408</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2021-03-03T15:35:21Z</dc:date>
    </item>
  </channel>
</rss>

