<?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 create dynamic date filter in SAS VA 7.3 in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561895#M12544</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30500"&gt;@anuragraishines&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is definitely doable. Here are the steps I did to achieve this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create parameter&lt;BR /&gt;Name: &lt;EM&gt;&lt;FONT color="#FF6600"&gt;par_MaxDate_Text&lt;/FONT&gt;&lt;BR /&gt;&lt;/EM&gt;Type: &lt;EM&gt;Character&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Create list of dates for Drop-Down List&lt;BR /&gt;The dates need to be in Character/String format - not Date format. &lt;BR /&gt;The structure should be &lt;FONT color="#808080"&gt;&lt;FONT color="#000080"&gt;YYYY/MM&lt;/FONT&gt; &lt;FONT color="#000000"&gt;(not MM/YYYY)&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;because otherwise it will not sort correctly when applied to Drop-Down List. &lt;BR /&gt;Name of the variable:&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date_text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;There are at least three ways to achieve this:&amp;nbsp;&lt;BR /&gt;Firstly you can add a new variable to your source data if possible. &lt;BR /&gt;Secondly you could create a new dummy table with single variable &lt;FONT color="#000000"&gt;including all the dates needed in &lt;FONT color="#000080"&gt;YYYY/MM&lt;/FONT&gt; character format. &lt;BR /&gt;Thirdly you can utilize a &lt;FONT color="#808080"&gt;&lt;EM&gt;new calculated column&lt;/EM&gt;&lt;/FONT&gt; that creates the needed text variable from your &lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date&lt;/EM&gt;&lt;/FONT&gt; variable.&lt;BR /&gt;Here is how I did it:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CalculatedItem.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29795i08F56804A2FA4B44/image-size/large?v=v2&amp;amp;px=999" role="button" title="CalculatedItem.PNG" alt="CalculatedItem.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;
&lt;PRE&gt;Concatenate(Concatenate(Format(Year('service_date'n), 'BEST4.'), '/'), Format(Month('service_date'n), 'Z2.0'))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;Define your Drop-Down list roles:&lt;BR /&gt;Category = &lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date_text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;Parameter =&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;par_MaxDate_Text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Create a new date variable &lt;FONT color="#FF6600"&gt;&lt;EM&gt;parameter_as_date&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;from the parameter&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;par_MaxDate_Text&lt;BR /&gt;&lt;/EM&gt;&lt;FONT color="#000000"&gt;As this gets it's value from parameter each row will have the same value.&lt;BR /&gt;Here is how I did it:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Param.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29840i2B340AFA8447C314/image-size/large?v=v2&amp;amp;px=999" role="button" title="Param.PNG" alt="Param.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;DateFromMDY(Parse(Substring('par_MaxDate_Text'p, 6, 2), 'NUMX5.'), 1, Parse(Substring('par_MaxDate_Text'p, 1, 4), 'NUMX5.'))&lt;/PRE&gt;
&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Create a new filter for your chart:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdvFilter.PNG" style="width: 358px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29798i9BFAF9BABACF62A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="AdvFilter.PNG" alt="AdvFilter.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;( 'parameter_as_date'n Missing ) OR ( 'service_date'n &amp;lt;= 'parameter_as_date'n )&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Here's some example pics from my work:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29799i8B193CA49FC81A3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example1.PNG" alt="Example1.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Let me know what you think?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Best regards,&lt;BR /&gt;Petri Roine&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:06 GMT</pubDate>
    <dc:creator>PetriRoine</dc:creator>
    <dc:date>2019-05-29T09:18:06Z</dc:date>
    <item>
      <title>How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561774#M12539</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My data has 3 years of data(2017,2018 &amp;amp; 2019) and I have a field service_date in date format. I have to provide date selection drop down and if I select May-2019 than graph should show data from Jan-2017 till May-2019. If Jan-2018 is selected in drop down than data should be from Jan-17 till Jan-2018.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know date parameter are not available in SAS VA 7.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any workaround for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is bit urgent quick response will be highly appreciated!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Anurag Rai&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 17:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561774#M12539</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-05-27T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561849#M12541</link>
      <description>&lt;P&gt;Hi Anurag !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first thought i suggest you can use Custom categories. you can create custom categories accordingly your need based on Date column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since it will take lot of manual efforts. you can also create flag for your dates &amp;amp; based on that flag you can create custom categories in VA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flags should be created in ETL part so that you need not to do any manual stuff in VA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 04:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561849#M12541</guid>
      <dc:creator>ASHISH2525</dc:creator>
      <dc:date>2019-05-28T04:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561895#M12544</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30500"&gt;@anuragraishines&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is definitely doable. Here are the steps I did to achieve this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create parameter&lt;BR /&gt;Name: &lt;EM&gt;&lt;FONT color="#FF6600"&gt;par_MaxDate_Text&lt;/FONT&gt;&lt;BR /&gt;&lt;/EM&gt;Type: &lt;EM&gt;Character&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Create list of dates for Drop-Down List&lt;BR /&gt;The dates need to be in Character/String format - not Date format. &lt;BR /&gt;The structure should be &lt;FONT color="#808080"&gt;&lt;FONT color="#000080"&gt;YYYY/MM&lt;/FONT&gt; &lt;FONT color="#000000"&gt;(not MM/YYYY)&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;because otherwise it will not sort correctly when applied to Drop-Down List. &lt;BR /&gt;Name of the variable:&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date_text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;There are at least three ways to achieve this:&amp;nbsp;&lt;BR /&gt;Firstly you can add a new variable to your source data if possible. &lt;BR /&gt;Secondly you could create a new dummy table with single variable &lt;FONT color="#000000"&gt;including all the dates needed in &lt;FONT color="#000080"&gt;YYYY/MM&lt;/FONT&gt; character format. &lt;BR /&gt;Thirdly you can utilize a &lt;FONT color="#808080"&gt;&lt;EM&gt;new calculated column&lt;/EM&gt;&lt;/FONT&gt; that creates the needed text variable from your &lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date&lt;/EM&gt;&lt;/FONT&gt; variable.&lt;BR /&gt;Here is how I did it:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CalculatedItem.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29795i08F56804A2FA4B44/image-size/large?v=v2&amp;amp;px=999" role="button" title="CalculatedItem.PNG" alt="CalculatedItem.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;
&lt;PRE&gt;Concatenate(Concatenate(Format(Year('service_date'n), 'BEST4.'), '/'), Format(Month('service_date'n), 'Z2.0'))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;Define your Drop-Down list roles:&lt;BR /&gt;Category = &lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date_text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;Parameter =&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;par_MaxDate_Text&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Create a new date variable &lt;FONT color="#FF6600"&gt;&lt;EM&gt;parameter_as_date&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;from the parameter&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;par_MaxDate_Text&lt;BR /&gt;&lt;/EM&gt;&lt;FONT color="#000000"&gt;As this gets it's value from parameter each row will have the same value.&lt;BR /&gt;Here is how I did it:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Param.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29840i2B340AFA8447C314/image-size/large?v=v2&amp;amp;px=999" role="button" title="Param.PNG" alt="Param.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;DateFromMDY(Parse(Substring('par_MaxDate_Text'p, 6, 2), 'NUMX5.'), 1, Parse(Substring('par_MaxDate_Text'p, 1, 4), 'NUMX5.'))&lt;/PRE&gt;
&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Create a new filter for your chart:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdvFilter.PNG" style="width: 358px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29798i9BFAF9BABACF62A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="AdvFilter.PNG" alt="AdvFilter.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;( 'parameter_as_date'n Missing ) OR ( 'service_date'n &amp;lt;= 'parameter_as_date'n )&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Here's some example pics from my work:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29799i8B193CA49FC81A3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example1.PNG" alt="Example1.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Let me know what you think?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Best regards,&lt;BR /&gt;Petri Roine&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/561895#M12544</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2019-05-29T09:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562092#M12556</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_8" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/106261" target="_self"&gt;PetriRoine&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks for the prompt reply!!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Till step 3 I can understand but in step you mentioned "&lt;SPAN&gt;Create a new date variable&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;service_date_text&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;from the parameter&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;FONT color="#ff6600"&gt;par_MaxDate_Text &lt;/FONT&gt;&lt;FONT color="#000000"&gt;" What does &lt;STRONG&gt;from&lt;/STRONG&gt; the parameter means here and in the screen shot you have created same field "&lt;FONT color="#FF6600"&gt;service_date_text&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;" with same format as Character but you have mentioned for date variable.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;And what is "parameter_as_date" i believe in 4th step you are creating this field.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Anurag&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 19:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562092#M12556</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-05-28T19:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562206#M12557</link>
      <description>You are absolutely correct. The step #4 wasn't right. I have now fixed that. Apologies for the trouble.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Petri</description>
      <pubDate>Wed, 29 May 2019 09:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562206#M12557</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2019-05-29T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562326#M12559</link>
      <description>&lt;P&gt;Hi PetriRoine,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks alot for the solution you saved my day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never thought in the lines of converting parameter values to use it in advance filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Earlier this kind of requirement I have completed by having the dates in numeric format unfortunately this time etl is not in my hand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it have a performance impact while using your approach when dealing with close to 40 millions records???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Anurag&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562326#M12559</guid>
      <dc:creator>anuragraishines</dc:creator>
      <dc:date>2019-05-29T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic date filter in SAS VA 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562804#M12565</link>
      <description>&lt;P&gt;Yes, it has an impact to performance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This solution requires two calculated items: &lt;EM&gt;&lt;FONT color="#FF6600"&gt;service_date_text&lt;/FONT&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;FONT color="#FF6600"&gt;parameter_as_date&lt;/FONT&gt;&lt;/EM&gt;. Each of these need processing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculated items are not permanently added into data source tables - they are calculated on the fly when you open the report. This means every calculated item takes some processing time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, if you can populate the Drop-Down list from a separate table having only single variable with distinct values, then you are going to save processing time. Firstly you save time by not having to process distinct date values from 40M rows of data: Secondly you save time by not having to create calculated item&amp;nbsp;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;service_date_text&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color="#FF6600"&gt; &lt;FONT color="#000000"&gt;when opening the report.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;To see the performance effect I would simply use timer on my phone. Three timings opening the original report. Then three timings opening the report with this dynamic date filter.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Best regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Petri&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 09:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-create-dynamic-date-filter-in-SAS-VA-7-3/m-p/562804#M12565</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2019-05-31T09:53:23Z</dc:date>
    </item>
  </channel>
</rss>

