<?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 - make a line chart where one measure is affected by user input and another one unaffected in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930420#M18068</link>
    <description>&lt;P&gt;Hey friends!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aiming to compare a departments KPI to an overall KPI which is that of the whole organization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, I want to make a line chart in SAS VA, where one of the measures is affected by user input through lists and button bars, choosing the department in focus. In the &lt;U&gt;same line chart&lt;/U&gt;, I want to show another measure as well - an index which is the average KPI for the whole company. This should therefore remain unaffected by the users choices with regards to input through lists and button bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can I make it happen, either by some techincal or designwise adjustment?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 12:27:48 GMT</pubDate>
    <dc:creator>yiyhio</dc:creator>
    <dc:date>2024-05-31T12:27:48Z</dc:date>
    <item>
      <title>SAS VA - make a line chart where one measure is affected by user input and another one unaffected</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930420#M18068</link>
      <description>&lt;P&gt;Hey friends!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aiming to compare a departments KPI to an overall KPI which is that of the whole organization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, I want to make a line chart in SAS VA, where one of the measures is affected by user input through lists and button bars, choosing the department in focus. In the &lt;U&gt;same line chart&lt;/U&gt;, I want to show another measure as well - an index which is the average KPI for the whole company. This should therefore remain unaffected by the users choices with regards to input through lists and button bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can I make it happen, either by some techincal or designwise adjustment?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 12:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930420#M18068</guid>
      <dc:creator>yiyhio</dc:creator>
      <dc:date>2024-05-31T12:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA - make a line chart where one measure is affected by user input and another one unaffecte</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930432#M18069</link>
      <description>&lt;P&gt;To achieve this, the only way is to have your lists and button bars set parameters, and then use those parameters in a calculated item that returns the first "filtered measure", if that makes sense. These lists and button bars should not filter the line chart at all, so that will keep the company KPI from being impacted.&lt;/P&gt;
&lt;P&gt;That way, as users adjust the lists and button bars, the values that are selected go directly into the calculation for the first measure and only the first measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Using a simple example, suppose you have a drop down list that sets Department. You create a parameter called "Department Paramenter" and assign it to the drop down list.&lt;BR /&gt;Then you create a calculated item, we'll say "Department KPI" and that will look something like:&lt;BR /&gt;If (Department = Department Parameter)&lt;BR /&gt;Return KPI&lt;BR /&gt;Else DifferentMeasure&lt;BR /&gt;&lt;BR /&gt;Then in your Line Chart, use Department KPI and Company KPI. Do not create the action from the drop down to the line chart. As you change Department, it will recalculate just Department KPI and not impact Company KPI.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 14:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930432#M18069</guid>
      <dc:creator>HunterT_SAS</dc:creator>
      <dc:date>2024-05-31T14:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA - make a line chart where one measure is affected by user input and another one unaffecte</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930603#M18075</link>
      <description>Thanks, Hunter! I wasn't able to replicate your solution, but made it work some other way. By altering the input dataset, and doing a group by per month I just feeded in the monthly KPI in each and every row of the dataset. To avoid duplication when in VA, I just choose the number to be 'Average' instead of 'Summarize. Et voilá - one line affected by lists and button bars, another totally unaffected : ))&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2024 12:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-make-a-line-chart-where-one-measure-is-affected-by-user/m-p/930603#M18075</guid>
      <dc:creator>yiyhio</dc:creator>
      <dc:date>2024-06-03T12:53:51Z</dc:date>
    </item>
  </channel>
</rss>

