<?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: Data-driven-content in VA: how to pass parameters &amp;amp; vars in order to update a cas table in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Data-driven-content-in-VA-how-to-pass-parameters-amp-vars-in/m-p/653228#M13824</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that based on your description. It can be achieved using the DDC object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would do based on your description is add a calculated measure to the table in VA. The calculated measure would evaluate the existing measure multiplied by the adjustment factor. The measure doesn't have to be displayed in the report but it can then be passed to the DDC object. This will then allow the DDC object to generate the correct call to a SAS Viya job that will update the source table in CAS or in a database. I think this should clearly meet your expectations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find some ideas on how it can be implemented in&amp;nbsp;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4138-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4138-2020.pdf&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Let me know if you have questions.&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Xavier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 13:49:34 GMT</pubDate>
    <dc:creator>XavierBizoux</dc:creator>
    <dc:date>2020-06-04T13:49:34Z</dc:date>
    <item>
      <title>Data-driven-content in VA: how to pass parameters &amp; vars in order to update a cas table</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Data-driven-content-in-VA-how-to-pass-parameters-amp-vars-in/m-p/653203#M13823</link>
      <description>&lt;P&gt;Dear SAS community, business users who are not analytically literate could refrain from using a beautiful, sas powered Visual Analytics report because they miss data-entry functionalities they have in excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found some excellent topics regarding how data-entry in VA could look like, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas&lt;/a&gt;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/114048"&gt;@XavierBizoux&lt;/a&gt; and Stu Sztukowski have made fantastic contributions in this regard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It comes close to what I want to achieve.&lt;/P&gt;
&lt;P&gt;The user can pass his input through controls to parameters. With a list or a cross table he selects which rows of the table he wants to update (here with the 2% adjustment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDC calls the html file which updates the cas table.&lt;/P&gt;
&lt;P&gt;And the user input gets recorded.&lt;/P&gt;
&lt;P&gt;This would be the excel killer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible experts?&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="clip_image002.gif" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40360i8EF21855FD64F6B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="clip_image002.gif" alt="clip_image002.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
    &lt;SPAN class="key"&gt;"version":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"1"&lt;/SPAN&gt;,
    &lt;SPAN class="key"&gt;"resultName":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"dd696"&lt;/SPAN&gt;,
    &lt;SPAN class="key"&gt;"rowCount":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;2&lt;/SPAN&gt;,
    &lt;SPAN class="key"&gt;"availableRowCount":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;2&lt;/SPAN&gt;,
    &lt;SPAN class="key"&gt;"data":&lt;/SPAN&gt; [
        [
            &lt;SPAN class="string"&gt;"A5065"&lt;/SPAN&gt;,
            &lt;SPAN class="string"&gt;"GOLF"&lt;/SPAN&gt;,
            &lt;SPAN class="number"&gt;24&lt;/SPAN&gt;
        ],
        [
            &lt;SPAN class="string"&gt;"A5066"&lt;/SPAN&gt;,
            &lt;SPAN class="string"&gt;"GOLF"&lt;/SPAN&gt;,
            &lt;SPAN class="number"&gt;24&lt;/SPAN&gt;
        ]
    ],
    &lt;SPAN class="key"&gt;"columns":&lt;/SPAN&gt; [
        {
            &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"bi694"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"label":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"obs"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"type":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"string"&lt;/SPAN&gt;
        },
        {
            &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"bi697"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"label":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"MODELO"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"type":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"string"&lt;/SPAN&gt;
        },
        {
            &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"bi698"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"label":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"APLAZ"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"type":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"number"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"usage":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"categorical"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"format":&lt;/SPAN&gt; {
                &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"COMMA"&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"width":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;12&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"precision":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;2&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"formatString":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"COMMA12.2"&lt;/SPAN&gt;
            }
        }
    ],
    &lt;SPAN class="key"&gt;"parameters":&lt;/SPAN&gt; [
        {
            &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"pr52"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"label":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"target_column_name"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"dataType":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"string"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"value":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"adjustment"&lt;/SPAN&gt;
        },
        {
            &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"pr663"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"label":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"adjustment"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"dataType":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"number"&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"value":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;0.02&lt;/SPAN&gt;,
            &lt;SPAN class="key"&gt;"format":&lt;/SPAN&gt; {
                &lt;SPAN class="key"&gt;"name":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"PERCENT"&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"width":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;12&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"precision":&lt;/SPAN&gt; &lt;SPAN class="number"&gt;0&lt;/SPAN&gt;,
                &lt;SPAN class="key"&gt;"formatString":&lt;/SPAN&gt; &lt;SPAN class="string"&gt;"PERCENT12."&lt;/SPAN&gt;
            }
        }
    ]
}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 13:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Data-driven-content-in-VA-how-to-pass-parameters-amp-vars-in/m-p/653203#M13823</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2020-06-04T13:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven-content in VA: how to pass parameters &amp; vars in order to update a cas table</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Data-driven-content-in-VA-how-to-pass-parameters-amp-vars-in/m-p/653228#M13824</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that based on your description. It can be achieved using the DDC object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would do based on your description is add a calculated measure to the table in VA. The calculated measure would evaluate the existing measure multiplied by the adjustment factor. The measure doesn't have to be displayed in the report but it can then be passed to the DDC object. This will then allow the DDC object to generate the correct call to a SAS Viya job that will update the source table in CAS or in a database. I think this should clearly meet your expectations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find some ideas on how it can be implemented in&amp;nbsp;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4138-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4138-2020.pdf&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Let me know if you have questions.&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Xavier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 13:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Data-driven-content-in-VA-how-to-pass-parameters-amp-vars-in/m-p/653228#M13824</guid>
      <dc:creator>XavierBizoux</dc:creator>
      <dc:date>2020-06-04T13:49:34Z</dc:date>
    </item>
  </channel>
</rss>

