<?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 Date slider in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916311#M17869</link>
    <description>&lt;P&gt;It is tricky as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13794"&gt;@Sam_SAS&lt;/a&gt;&amp;nbsp;notes but it can be done. The overall process would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;1. Create your slider as normal&lt;/P&gt;
&lt;P&gt;2. Create a calculated item using the &lt;STRONG&gt;TreatAs&lt;/STRONG&gt; function to convert the Date to a numeric value. This is necessary to make sure parameters get set correctly later.&lt;/P&gt;
&lt;P&gt;3. Change the default aggregation of this calculated item to&amp;nbsp;&lt;STRONG&gt;Average&lt;/STRONG&gt; instead of the default&amp;nbsp;&lt;STRONG&gt;Sum&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;4. Add two drop down lists, both with the same Date item as your slider.&lt;/P&gt;
&lt;P&gt;5. For both drop down list options, set it to&amp;nbsp;&lt;STRONG&gt;Required&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;6. For both drop down lists, add a new parameter. One parameter is Minimum Date, the other parameter is Maximum Date.&lt;/P&gt;
&lt;P&gt;7. For the drop down list that represents Minimum Date, set a&amp;nbsp;&lt;STRONG&gt;Rank&lt;/STRONG&gt;&amp;nbsp;with Bottom Count of 1 and the By your Date Numeric calculated item.&lt;/P&gt;
&lt;P&gt;8. For the drop down list that represents Maximum Date, set a&amp;nbsp;&lt;STRONG&gt;Rank&lt;/STRONG&gt; with Top Count of 1 and By your Date Numeric calculated item.&lt;/P&gt;
&lt;P&gt;9. Create a filter interaction from the slider to both drop down lists.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The end result is as you change the slider, the drop down lists get updated to the respective min/max values and get set in the parameters. Then you can use the parameters however you'd like. You can also hide the drop down lists via a precision container if you'd like.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 15:15:34 GMT</pubDate>
    <dc:creator>HunterT_SAS</dc:creator>
    <dc:date>2024-02-15T15:15:34Z</dc:date>
    <item>
      <title>SAS Visual Analytics Date slider</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916273#M17866</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;I have date variable with date9. Format and it is used as date slider in one of my VA report. How do I find min and max ranges that we selected on date slider I wanted to create two new variable which is from date and to date dynamic way so that I can use these two variables to do another calculation.Thanks in advance</description>
      <pubDate>Thu, 15 Feb 2024 10:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916273#M17866</guid>
      <dc:creator>krishnaavm123</dc:creator>
      <dc:date>2024-02-15T10:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics Date slider</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916305#M17867</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73182"&gt;@krishnaavm123&lt;/a&gt;! This is a feature that is coming soon in Viya. You will be able to create parameters that represent the start and end range, then use them in calculations. You will no longer be restricted to assigning a single parameter to a slider, and the slider's range will be dynamically created based on the data item assigned to it. But that's just a small sliver of what you'll soon be able to do with parameters &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Stay tuned to &lt;A href="https://go.documentation.sas.com/doc/da/vacdc/v_023/vawn/n13qu07i3rkzwrn1s230ex2rppko.htm" target="_self"&gt;What's New in Visual Analytics&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 14:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916305#M17867</guid>
      <dc:creator>Stu_SAS</dc:creator>
      <dc:date>2024-02-15T14:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics Date slider</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916309#M17868</link>
      <description>&lt;P&gt;I think the workaround in the current versions would be to use two separate, single-value sliders to pick the starting and ending of the selection.&amp;nbsp; It is a tricky thing to get working, but I think it should be possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 14:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916309#M17868</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2024-02-15T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics Date slider</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916311#M17869</link>
      <description>&lt;P&gt;It is tricky as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13794"&gt;@Sam_SAS&lt;/a&gt;&amp;nbsp;notes but it can be done. The overall process would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;1. Create your slider as normal&lt;/P&gt;
&lt;P&gt;2. Create a calculated item using the &lt;STRONG&gt;TreatAs&lt;/STRONG&gt; function to convert the Date to a numeric value. This is necessary to make sure parameters get set correctly later.&lt;/P&gt;
&lt;P&gt;3. Change the default aggregation of this calculated item to&amp;nbsp;&lt;STRONG&gt;Average&lt;/STRONG&gt; instead of the default&amp;nbsp;&lt;STRONG&gt;Sum&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;4. Add two drop down lists, both with the same Date item as your slider.&lt;/P&gt;
&lt;P&gt;5. For both drop down list options, set it to&amp;nbsp;&lt;STRONG&gt;Required&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;6. For both drop down lists, add a new parameter. One parameter is Minimum Date, the other parameter is Maximum Date.&lt;/P&gt;
&lt;P&gt;7. For the drop down list that represents Minimum Date, set a&amp;nbsp;&lt;STRONG&gt;Rank&lt;/STRONG&gt;&amp;nbsp;with Bottom Count of 1 and the By your Date Numeric calculated item.&lt;/P&gt;
&lt;P&gt;8. For the drop down list that represents Maximum Date, set a&amp;nbsp;&lt;STRONG&gt;Rank&lt;/STRONG&gt; with Top Count of 1 and By your Date Numeric calculated item.&lt;/P&gt;
&lt;P&gt;9. Create a filter interaction from the slider to both drop down lists.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The end result is as you change the slider, the drop down lists get updated to the respective min/max values and get set in the parameters. Then you can use the parameters however you'd like. You can also hide the drop down lists via a precision container if you'd like.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 15:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Date-slider/m-p/916311#M17869</guid>
      <dc:creator>HunterT_SAS</dc:creator>
      <dc:date>2024-02-15T15:15:34Z</dc:date>
    </item>
  </channel>
</rss>

