<?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 present different time dimension in one Graph in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723302#M14690</link>
    <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;I tried what u said and still could't make it. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I'm working with VA 7.5.</description>
    <pubDate>Wed, 03 Mar 2021 22:14:18 GMT</pubDate>
    <dc:creator>fj181</dc:creator>
    <dc:date>2021-03-03T22:14:18Z</dc:date>
    <item>
      <title>How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/720158#M14664</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a request to present a Line Char with different time dimensions, and give the possibility to user to choose between them.&lt;BR /&gt;&lt;BR /&gt;Anyone have any suggestion?&lt;BR /&gt;&lt;BR /&gt;I try to create a custom graph with two line charts, with one share role to measure between them, and category role independent.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SASCVA.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54874i0FD51A91E609AC0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASCVA.PNG" alt="SASCVA.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And my intend is to filter the graph just showing one time dimension when the user choose between dimension.&lt;BR /&gt;&lt;BR /&gt;I tried to use a if then statement with a parameter but VA did't accept variable in date format.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SASCVA_2.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54875i7D329C18EE280E43/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASCVA_2.PNG" alt="SASCVA_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 11:59:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/720158#M14664</guid>
      <dc:creator>fj181</dc:creator>
      <dc:date>2021-02-18T11:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/721582#M14671</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to get this working on a VA 8.5 deployment using the same approach you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My expression looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression.gif" style="width: 348px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55118i42388C63CE8636E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="expression.gif" alt="expression.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you created your parameter, did you select the Multiple values box?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, try changing the list control in your report to a button bar or drop-down list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 14:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/721582#M14671</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-02-24T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/721912#M14679</link>
      <description>I think the date format is the problem.&lt;BR /&gt;Is it possible to create two text objects containing day/week and then use them and the format string?&lt;BR /&gt;//Fredrik</description>
      <pubDate>Thu, 25 Feb 2021 15:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/721912#M14679</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2021-02-25T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723302#M14690</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;I tried what u said and still could't make it. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I'm working with VA 7.5.</description>
      <pubDate>Wed, 03 Mar 2021 22:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723302#M14690</guid>
      <dc:creator>fj181</dc:creator>
      <dc:date>2021-03-03T22:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723303#M14691</link>
      <description>Hi Fredrik,&lt;BR /&gt;&lt;BR /&gt;I had the same thought the error pointed out to date format &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Can you explain me your idea?&lt;BR /&gt;"Is it possible to create two text objects containing day/week and then use them and the format string?"&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Wed, 03 Mar 2021 22:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723303#M14691</guid>
      <dc:creator>fj181</dc:creator>
      <dc:date>2021-03-03T22:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723307#M14692</link>
      <description>&lt;P&gt;I was able to get the same expression working on a 7.5 deployment. Maybe Fredrik is right about the date format being an issue? To troubleshoot, you might want to try using some different data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 22:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/723307#M14692</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-03-03T22:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to present different time dimension in one Graph</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/732498#M14803</link>
      <description>&lt;P&gt;Sorry for late answer, you might already found a fix, but anyways:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a textvariable for weekday:&lt;/P&gt;
&lt;P&gt;IF ( DayOfWeek('date'n) = 1 )&lt;BR /&gt;RETURN 'Sunday'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( DayOfWeek('date'n) = 2 )&lt;BR /&gt;RETURN 'Monday'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( DayOfWeek('date'n) = 3 )&lt;BR /&gt;RETURN 'Tuesday'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( DayOfWeek('date'n) = 4 )&lt;BR /&gt;RETURN 'Wednesday'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( DayOfWeek('date'n) = 5 )&lt;BR /&gt;RETURN 'Thursday'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( DayOfWeek('date'n) = 6 )&lt;BR /&gt;RETURN 'Friday'&lt;BR /&gt;ELSE 'Saturday' ) ) ) ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and one for date:&lt;/P&gt;
&lt;P&gt;Format('date'n[Raw], 'YYMMDD8.')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And use them instead of the date variables, should work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 14:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-present-different-time-dimension-in-one-Graph/m-p/732498#M14803</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2021-04-09T14:25:11Z</dc:date>
    </item>
  </channel>
</rss>

