<?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 Visual Analytics: Let user choose multiple variables displayed to graph in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474066#M10565</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I think you can do this by using parameters and calculated measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example you can have one list box with one selection for each combination (and one parameter assigned to the list box) or one listbox for each measure (and one parameter for each measure/list box).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your calculated measures check the value of the parameter(s) and either set the value to the original measure or to missing, something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure a_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'A' then a else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure b_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'B' then b else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure c_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'C' then c else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then use these calculated variables in your graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Might work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another way is to transform your data and create a dimension containing the measures (a,b and c) and then stack your graph on that dimension...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 13:31:12 GMT</pubDate>
    <dc:creator>FredrikE</dc:creator>
    <dc:date>2018-06-28T13:31:12Z</dc:date>
    <item>
      <title>SAS Visual Analytics: Let user choose multiple variables displayed to graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474059#M10564</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with &lt;STRONG&gt;SAS Visual Analytics 7.4&lt;/STRONG&gt;. I would like to know is it possible to let user to define the variables to show in a graph? I have seen solutions where parameters were used to display one measure but I want user to define the measures to be displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Originally my data is like the example below. I have an ID variable, three measures and a categorical variable indicating time of measurement. I would like present these result ideally in a trellis plot where each subject would be displayed in a separate graph, but VA doesn't support this. On the X-axis I have the Time variable, on the Y-axis I would have the measurements chosen by the user. User would be able to select A, B and C or A and C or only B etc. from List object. Is this possible to implement with a line graph?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ID | A | B | C | Time&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;---+---+----+--+-------&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;A1 | 2 | 4 | 5 | After&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;A1 | 7 | 3 | 8 | Before&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;B4 | 1 | 4 | 5 | After&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;B4 | 5 | 3 | 8 | Before&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C3 | 2 | 4 | 5 | After&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C3 | 2 | 2 | 8 | Before&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't hesitate to ask more info if needed.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474059#M10564</guid>
      <dc:creator>Laine</dc:creator>
      <dc:date>2018-06-28T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics: Let user choose multiple variables displayed to graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474066#M10565</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I think you can do this by using parameters and calculated measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example you can have one list box with one selection for each combination (and one parameter assigned to the list box) or one listbox for each measure (and one parameter for each measure/list box).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your calculated measures check the value of the parameter(s) and either set the value to the original measure or to missing, something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure a_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'A' then a else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure b_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'B' then b else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculated measure c_calc:&lt;/P&gt;
&lt;P&gt;IF parameter1 = 'C' then c else .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then use these calculated variables in your graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Might work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another way is to transform your data and create a dimension containing the measures (a,b and c) and then stack your graph on that dimension...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474066#M10565</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-06-28T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics: Let user choose multiple variables displayed to graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474369#M10572</link>
      <description>This worked! Thank you very much Fredrik!&lt;BR /&gt;&lt;BR /&gt;- Laine</description>
      <pubDate>Fri, 29 Jun 2018 07:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Let-user-choose-multiple-variables/m-p/474369#M10572</guid>
      <dc:creator>Laine</dc:creator>
      <dc:date>2018-06-29T07:47:57Z</dc:date>
    </item>
  </channel>
</rss>

