<?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 User filtering on aggregated measures in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244413#M3155</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a table that shows the total revenue per customer (aggregated measure).&lt;/P&gt;&lt;P&gt;Now I would like to add a filter (slider) where the report-user can filter on for example all customer with a total revenue more than € 100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found how I can add this filter in the right pane under the tab 'Filters', but I can't seem to figure out how to add this kind of filter to the report itself -- so it's accessible and controlable by the report-user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to add this kind of filter&amp;nbsp;based on the aggregated measure&amp;nbsp;to the report?&lt;/P&gt;&lt;P&gt;I'm new to VA, and this question is bugging me...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2016 12:43:07 GMT</pubDate>
    <dc:creator>lottevd</dc:creator>
    <dc:date>2016-01-19T12:43:07Z</dc:date>
    <item>
      <title>User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244413#M3155</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a table that shows the total revenue per customer (aggregated measure).&lt;/P&gt;&lt;P&gt;Now I would like to add a filter (slider) where the report-user can filter on for example all customer with a total revenue more than € 100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found how I can add this filter in the right pane under the tab 'Filters', but I can't seem to figure out how to add this kind of filter to the report itself -- so it's accessible and controlable by the report-user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to add this kind of filter&amp;nbsp;based on the aggregated measure&amp;nbsp;to the report?&lt;/P&gt;&lt;P&gt;I'm new to VA, and this question is bugging me...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 12:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244413#M3155</guid>
      <dc:creator>lottevd</dc:creator>
      <dc:date>2016-01-19T12:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244543#M3158</link>
      <description>&lt;P&gt;Hello Lotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add a slider control to your report as a report prompt. In VA 7.3 you can also use a slider as&amp;nbsp;a section prompt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add a slider control as a prompt, select the Objects tab in the left panel and find Slider under the Controls group. Drag the Slider to the part of the report where it says "Drag controls here to create a report prompt" or&amp;nbsp;&lt;SPAN&gt;"Drag controls here to create a section&amp;nbsp;prompt".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now right-click the slider and select &lt;STRONG&gt;Add Measure&lt;/STRONG&gt; and choose your aggregated measure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does that work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sam&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 20:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244543#M3158</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-01-19T20:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244643#M3160</link>
      <description>&lt;P&gt;Hey Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, this is only partly what I need. I need to figure out how to populate the slider with information that is aggregated in the table.&lt;/P&gt;&lt;P&gt;For example, if customer A has had 3 visits, each worth € 10, he will be listed as 'Customer A - €30' in the table.&lt;/P&gt;&lt;P&gt;I want the slider to have an effect on the €30, not on the 3 separate €10.&lt;/P&gt;&lt;P&gt;My aggregated measure is not performing the 'group by' correctly. I need to get the group by from my table into my slider as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 11:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244643#M3160</guid>
      <dc:creator>lottevd</dc:creator>
      <dc:date>2016-01-20T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244683#M3162</link>
      <description>&lt;P&gt;Hi Lotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Properties tab for the slider, there should be an option,&amp;nbsp;&lt;STRONG&gt;Interact with the data in view&lt;/STRONG&gt;. Is this enabled?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I believe there should be an&amp;nbsp;&lt;STRONG&gt;Auto Populate&lt;/STRONG&gt; button on the properties tab that set the minimum and maximum values for the slider to match the aggregated values in your table. This exists in VA 7.3 but I am not able to check easily whether it was there in earlier version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 14:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/244683#M3162</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-01-20T14:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750195#M15046</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; It looks like it has been awhile since this thread has started, but I am running into kind of the same issue - not seeing the aggregated measure when opening the filter pane on the righthand side of the page.&amp;nbsp; Is there a way to select an aggregated measure for a filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 13:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750195#M15046</guid>
      <dc:creator>SteveDFW</dc:creator>
      <dc:date>2021-06-24T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750203#M15047</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share more about what you are trying to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What type of object are you trying to filter? In my Viya deployment I can make a filter based on an aggregated measure for a list table. I'm not sure if there might be some particular set of circumstances you are encountering where an aggregated measure can't be used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 13:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750203#M15047</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-06-24T13:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750206#M15048</link>
      <description>&lt;P&gt;These are the limitations on post-aggregate filters:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL class="xisDoc-listUnordered"&gt;
&lt;LI class="xisDoc-item"&gt;Post-aggregate filters are not available for objects that use detail data.&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;Crosstabs, time series plots, and dual axis time series plots do not support post-aggregate filters.&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;Advanced analytics objects do not support post-aggregate filters.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750206#M15048</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2021-06-24T14:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750222#M15049</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13794"&gt;@Sam_SAS&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13745"&gt;@Madelyn_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a picture of the table that I would like to filter.&amp;nbsp; I would like to filter to just see Layover-New Station =1 or Layover-Removed Station =1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="SteveDFW_0-1624545052152.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60722iC3911E15B5FC3D02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveDFW_0-1624545052152.png" alt="SteveDFW_0-1624545052152.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is similar for Layover-New Station/Layover Removed Station -&lt;/P&gt;&lt;P&gt;&lt;U&gt;Layover - Removed Station&lt;/U&gt;&lt;/P&gt;&lt;P&gt;IF ( ( ( 'Layover - Current Month Count'n = 0 ) OR (&lt;BR /&gt;'Layover - Current Month Count'n Missing ) ) AND (&lt;BR /&gt;'Layover - Previous Month Count'n &amp;gt; 0 ) )&lt;BR /&gt;RETURN 1&lt;BR /&gt;ELSE 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Layover - Current Month Count&lt;/U&gt;&lt;/P&gt;&lt;P&gt;ParallelPeriod(_Sum_, 'Layover Count'n,&lt;BR /&gt;_IgnoreAllTimeFrameFilters_, 'Effective Period'n, _ByMonth_,&lt;BR /&gt;_ByMonth_, 0, _Full_, {Date})&lt;/P&gt;&lt;P&gt;None of my aggregated measures are showing up as filter options???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750222#M15049</guid>
      <dc:creator>SteveDFW</dc:creator>
      <dc:date>2021-06-24T14:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: User filtering on aggregated measures</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750229#M15050</link>
      <description>&lt;P&gt;I think that you cannot create a filter if the aggregated item is based on a periodic operator like ParallelPeriod. Or, in the case of your Layover-Removed Station item, the expression contains an aggregated item that is based on a periodic operator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a filter for aggregated items based based on other operators such as Distinct. But the periodic operators cannot be evaluated in a filter. (Apparently. But I'm pretty sure.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll check with the dev team and see if a note can be added to the doc to explain the limitations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/User-filtering-on-aggregated-measures/m-p/750229#M15050</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-06-24T14:59:32Z</dc:date>
    </item>
  </channel>
</rss>

