<?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 [SAS VA] how can I filter charts based on a calculated field that is based on a parameter? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/269847#M4172</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A 2nd post, for a different problem that I have in SAS VA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the attached Excel for the problem description.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To briefly repeat it here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I have a report, in which many charts are filtered on 1 parameter (named&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;NR&lt;/STRONG&gt;&lt;/U&gt;). This is no problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now I want to make a new&amp;nbsp;tab, and filter its charts on the &lt;U&gt;&lt;STRONG&gt;entity&lt;/STRONG&gt; &lt;/U&gt;that is associated with this number. In my data, 1 entity has multiple NRs and 1 NR always has 1 entity (so based on the NR parameter, I'd like to lookup the entity and filter the charts on this)&lt;/P&gt;&lt;P&gt;- I prefer to avoid a 2nd parameter "entity", since it can be derived from NR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot get this (filtering on a calculated field based on my parameter) working in SAS VA... Is this somehow possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached an Excelfile with a sample dataset and scenario's to explain the problem better.&lt;/P&gt;&lt;P&gt;I discussed it with some colleagues too, but so far no luck (yet).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope you can shine some bright light on it, or advise me on the solution that fits my requirement best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 18:48:40 GMT</pubDate>
    <dc:creator>robertopostma</dc:creator>
    <dc:date>2016-05-11T18:48:40Z</dc:date>
    <item>
      <title>[SAS VA] how can I filter charts based on a calculated field that is based on a parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/269847#M4172</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A 2nd post, for a different problem that I have in SAS VA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the attached Excel for the problem description.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To briefly repeat it here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I have a report, in which many charts are filtered on 1 parameter (named&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;NR&lt;/STRONG&gt;&lt;/U&gt;). This is no problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now I want to make a new&amp;nbsp;tab, and filter its charts on the &lt;U&gt;&lt;STRONG&gt;entity&lt;/STRONG&gt; &lt;/U&gt;that is associated with this number. In my data, 1 entity has multiple NRs and 1 NR always has 1 entity (so based on the NR parameter, I'd like to lookup the entity and filter the charts on this)&lt;/P&gt;&lt;P&gt;- I prefer to avoid a 2nd parameter "entity", since it can be derived from NR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot get this (filtering on a calculated field based on my parameter) working in SAS VA... Is this somehow possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached an Excelfile with a sample dataset and scenario's to explain the problem better.&lt;/P&gt;&lt;P&gt;I discussed it with some colleagues too, but so far no luck (yet).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope you can shine some bright light on it, or advise me on the solution that fits my requirement best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 18:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/269847#M4172</guid>
      <dc:creator>robertopostma</dc:creator>
      <dc:date>2016-05-11T18:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: [SAS VA] how can I filter charts based on a calculated field that is based on a parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/271839#M4282</link>
      <description>&lt;P&gt;Roberto:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now re: this post of yours ...&lt;/P&gt;
&lt;P&gt;You can avoid requiring the users having to input&amp;nbsp;an additional parameter "ENTITY" but you still need to have it.&lt;/P&gt;
&lt;P&gt;It can automatically be filtered by the NR Parameter though.&amp;nbsp; And then it can automatically filter the List Table.&lt;/P&gt;
&lt;P&gt;See attached screen capture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used a Button Bar for ENTITY.&amp;nbsp; I imagine you could use other Controls as well.&lt;/P&gt;
&lt;P&gt;They key though is ...&lt;/P&gt;
&lt;P&gt;1) Don't show Frequencies for ENTITY within the Control&lt;/P&gt;
&lt;P&gt;2) Under Properties ... un-check 'Enable selection in the viewers' and check 'Required'&lt;/P&gt;
&lt;P&gt;3) For hard-coded Filter for the Control, eventhough it's displaying ENTITY, create an Advanced Filter where NR = NR_PARAM&lt;/P&gt;
&lt;P&gt;4) Under Styles for the Control, try to make it as "Invisible" as possible to the end user OR use Precision Layout for the Section and "Hide" the Control behind the List Table.&amp;nbsp; Keep in mind that my screen capture really didn't do any of this so you can see it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ted Stolarczyk, SAS Customer Loyalty team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12562i4378F80B3B971624/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="2_Param_Filter_Only_Enter_1.jpg" title="2_Param_Filter_Only_Enter_1.jpg" /&gt;</description>
      <pubDate>Thu, 19 May 2016 20:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/271839#M4282</guid>
      <dc:creator>TedStolarczyk</dc:creator>
      <dc:date>2016-05-19T20:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: [SAS VA] how can I filter charts based on a calculated field that is based on a parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/271944#M4288</link>
      <description>&lt;P&gt;Perfect! This indeed works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to see a little more about how to hide the buttonbar best, but I'm sure we'll find a way to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for answering both my questions :---)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 11:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-how-can-I-filter-charts-based-on-a-calculated-field-that/m-p/271944#M4288</guid>
      <dc:creator>robertopostma</dc:creator>
      <dc:date>2016-05-20T11:20:46Z</dc:date>
    </item>
  </channel>
</rss>

