<?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: How to pass data item value in the parameter in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/644594#M13682</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing a similar scenario where i want to pass data from a measure to a parameter. Do you know if this is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 01 May 2020 19:29:10 GMT</pubDate>
    <dc:creator>Surya_Ravindran</dc:creator>
    <dc:date>2020-05-01T19:29:10Z</dc:date>
    <item>
      <title>How to pass data item value in the parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/204764#M1912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanna ask if passing data item value to parameter is possible in SAS VA? Here's my scenario... I have 2 different data sources in the report. Let say the first data source is &lt;STRONG&gt;Summary Data Source&lt;/STRONG&gt; and the other one is the &lt;STRONG&gt;Details Data Source&lt;/STRONG&gt;. Now, I want to calculate the percentage, the calculation would be.. (Data Item 1 / (Total Count + Data Item 2)). However, The &lt;STRONG&gt;Data Item 1&lt;/STRONG&gt; and &lt;STRONG&gt;Data Item 2&lt;/STRONG&gt; are from &lt;STRONG&gt;Details Data Source&lt;/STRONG&gt; and the &lt;STRONG&gt;Total Count&lt;/STRONG&gt; is from &lt;STRONG&gt;Summary Data Source&lt;/STRONG&gt;. At first, to get the desired result I joined the 2 Data Sources but I am not satisfied with the logic of &lt;SPAN style="font-size: 13.3333330154419px;"&gt;(join) data source&lt;/SPAN&gt; as I used CASE WHEN statement (it is too long..). However, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;I got the correct calculation using the first solution solution. Now, I have 2nd solution by using Parameter (please see below).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;2nd Solution:&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;from the &lt;STRONG&gt;Summary Data Source&lt;/STRONG&gt; I created a parameter (let say &lt;STRONG&gt;'Total Count Parameter'&lt;/STRONG&gt;). then, to the Details Data Source I used the &lt;STRONG&gt;'Total Count Parameter'&lt;/STRONG&gt; in my &lt;STRONG&gt;'Aggregated Percentage Measure'&lt;/STRONG&gt; to calculate the percentage (&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;e.g:&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Data Item 1 / (&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Total Count Parameter' + Data Item 2)). Then in the Canvas I dragged Text Input and List Table objects. In Text Input object Role Tab I set the &lt;STRONG&gt;'Total Count Parameter'&lt;/STRONG&gt; as parameter and for List Table object I dragged &lt;STRONG&gt;'Aggregated Percentage Measure'&lt;/STRONG&gt;. The calculation was correct when User key in the value in Text Input object. However, the User don't want to key in the value in the Text Input they want to change the 'Aggregated Percentage Measure' interactively. Now, I am thinking how to pass the data item value to parameter. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope anyone can answer my question. How to pass data item value in the parameter in SAS VA?? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 08:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/204764#M1912</guid>
      <dc:creator>Carrot17</dc:creator>
      <dc:date>2015-06-12T08:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass data item value in the parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/228322#M2627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Full automatic way probably is not possible. You can make some iprovement using button-bar (filled with total value) instead text field to pass value to parameter. After click parameter will get desired value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Robert R.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2015 15:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/228322#M2627</guid>
      <dc:creator>RR2809</dc:creator>
      <dc:date>2015-10-03T15:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass data item value in the parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/228359#M2629</link>
      <description>&lt;P&gt;This post about using External Links may assist you by understanding how parameters are used to communicate to Twitter, Google, and Bing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://bi-notes.com/2015/10/sas-visual-analytics-create-external-links-in-sas-va/" target="_self"&gt;3 Simple Steps for Linking to External Data from Your Visual Analytics Report&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2015 20:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/228359#M2629</guid>
      <dc:creator>TriciaAanderud</dc:creator>
      <dc:date>2015-10-04T20:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass data item value in the parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/644594#M13682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing a similar scenario where i want to pass data from a measure to a parameter. Do you know if this is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 19:29:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-pass-data-item-value-in-the-parameter/m-p/644594#M13682</guid>
      <dc:creator>Surya_Ravindran</dc:creator>
      <dc:date>2020-05-01T19:29:10Z</dc:date>
    </item>
  </channel>
</rss>

