<?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 show only last month - but give the user the possibility to filter other months in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203462#M1877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the feel what you want, you have to add one "list object" in obove snapshot of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this solution could help you :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a calculated Item "Month Number" as" Month(DatePart(calldate))"&lt;/P&gt;&lt;P&gt;2) Create another calculated Item "Present Month Indicator" as :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ( Month Number = Month(DatePart(Now())) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE 0&lt;/P&gt;&lt;P&gt;3) Create a Custom Category "Month Name" based on "Month Number" created in step 1 and create 12 labels as jan, feb, mar etc and assign the corresponding values from "Month Number" distinct Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the design part of the report :-&lt;/P&gt;&lt;P&gt;a) Add list object and assign the category as "Month Name" that we created in step 3 and apply a advanced filter as "present month indicator &amp;lt;&amp;gt; 0".&lt;/P&gt;&lt;P&gt;b) Uncheck the "Required" in the properties of list object.&lt;/P&gt;&lt;P&gt;c) Now simply give the interaction from "List object" ----&amp;gt; "Drop Down List" and from "Drop Down List"----&amp;gt; "Treemap".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So whenever the month changes, that particular month will be displayed in the list and the drop down list will contain the "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;calldate" for the same month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now if user wants to pick from other month, they can just uncheck the month name in the "List object".&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;Hope so, this helps you if I understood your requirement correctly.&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;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Abhishek &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 07:48:05 GMT</pubDate>
    <dc:creator>avvy</dc:creator>
    <dc:date>2015-06-12T07:48:05Z</dc:date>
    <item>
      <title>How to show only last month - but give the user the possibility to filter other months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203460#M1875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want my DropDownList to show always the latest month by default. But the user should still be able to pick an other month. I don't want to resave my report each month to have the latest month there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P1.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10799_P1.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P2.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10800_P2.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 14:33:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203460#M1875</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2015-06-11T14:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only last month - but give the user the possibility to filter other months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203461#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Discussed this with SAS Development, during a user meeting 2 weeks ago. Its a new request but not in yet.&lt;/P&gt;&lt;P&gt;The idea is to have it parameter controlled, so a parameter could calculate the defaults for an object.&amp;nbsp; (or two for a slider slider bar) etc.&lt;/P&gt;&lt;P&gt;I also face the same issue to often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is the option to make a DropDownList depending on a parameter (to reduce selectable options) but thats not what you expect.&amp;nbsp; (as far as I understand)&lt;/P&gt;&lt;P&gt;So you could automaticaly only have the dates from the actual month present.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 14:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203461#M1876</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2015-06-11T14:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only last month - but give the user the possibility to filter other months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203462#M1877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the feel what you want, you have to add one "list object" in obove snapshot of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this solution could help you :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a calculated Item "Month Number" as" Month(DatePart(calldate))"&lt;/P&gt;&lt;P&gt;2) Create another calculated Item "Present Month Indicator" as :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ( Month Number = Month(DatePart(Now())) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE 0&lt;/P&gt;&lt;P&gt;3) Create a Custom Category "Month Name" based on "Month Number" created in step 1 and create 12 labels as jan, feb, mar etc and assign the corresponding values from "Month Number" distinct Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the design part of the report :-&lt;/P&gt;&lt;P&gt;a) Add list object and assign the category as "Month Name" that we created in step 3 and apply a advanced filter as "present month indicator &amp;lt;&amp;gt; 0".&lt;/P&gt;&lt;P&gt;b) Uncheck the "Required" in the properties of list object.&lt;/P&gt;&lt;P&gt;c) Now simply give the interaction from "List object" ----&amp;gt; "Drop Down List" and from "Drop Down List"----&amp;gt; "Treemap".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So whenever the month changes, that particular month will be displayed in the list and the drop down list will contain the "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;calldate" for the same month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now if user wants to pick from other month, they can just uncheck the month name in the "List object".&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;Hope so, this helps you if I understood your requirement correctly.&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;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Abhishek &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 07:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203462#M1877</guid>
      <dc:creator>avvy</dc:creator>
      <dc:date>2015-06-12T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only last month - but give the user the possibility to filter other months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203463#M1878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make the dropdown as required field and then right click and sort it by descending order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should be able to show the latest month on the top.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 15:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/203463#M1878</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2015-07-16T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only last month - but give the user the possibility to filter other months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/317550#M5975</link>
      <description>&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution but still&amp;nbsp;have one problem. Maybe you can help me out with this last issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have a "list filter month number1" that is filtered by the present month indicator as you mentioned.&lt;/P&gt;&lt;P&gt;Also this "list filter month number1" filters a second filter&amp;nbsp;"filter month&amp;nbsp;number2". "Filter month number2"&amp;nbsp;filters the object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "filter month number 1" does not change immediately &amp;nbsp;into the new month (for example last 1 december) as the present month indicator changes. It still gives the&amp;nbsp;old month (november) and the user has to click the filter to change it into (december).&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the end user still has to click the filter that he/she can also use a 'normal' filter and choose the last month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to make sure that the end user does not have to click the first filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 11:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-show-only-last-month-but-give-the-user-the-possibility-to/m-p/317550#M5975</guid>
      <dc:creator>MirjamvanMoll</dc:creator>
      <dc:date>2016-12-08T11:00:14Z</dc:date>
    </item>
  </channel>
</rss>

