<?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: Using DATEPART in Information Map Studio in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311739#M2257</link>
    <description>&lt;P&gt;Attached is the error.&amp;nbsp; Also, my limited experience with Information Map has required the &amp;lt;&amp;lt; and &amp;gt;&amp;gt; as part of the code.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 15:34:53 GMT</pubDate>
    <dc:creator>carmendee</dc:creator>
    <dc:date>2016-11-15T15:34:53Z</dc:date>
    <item>
      <title>Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311715#M2255</link>
      <description>&lt;P&gt;I am trying to add "datepart" to my date field in Information Map Studio and am getting an error when validating.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;case when &amp;lt;&amp;lt;datepart(ZW_CURRENT_DATE_DIM.CALENDAR_DATE)&amp;gt;&amp;gt; &amp;gt; '08Nov2016'd then '2nd Quarter'&lt;BR /&gt;end&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311715#M2255</guid>
      <dc:creator>carmendee</dc:creator>
      <dc:date>2016-11-15T14:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311734#M2256</link>
      <description>&lt;P&gt;Well, never used information map, so apologies if this is not the item, but why do you have &amp;lt;&amp;lt; and &amp;gt;&amp;gt; around the datepart function? &amp;nbsp;Also, it may help if you actual post a picture ot the text of what the "error" is, perhaps that isn't a date variable?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311734#M2256</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-11-15T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311739#M2257</link>
      <description>&lt;P&gt;Attached is the error.&amp;nbsp; Also, my limited experience with Information Map has required the &amp;lt;&amp;lt; and &amp;gt;&amp;gt; as part of the code.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311739#M2257</guid>
      <dc:creator>carmendee</dc:creator>
      <dc:date>2016-11-15T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311741#M2258</link>
      <description>&lt;P&gt;Confirmed calendar date is a date variable.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311741#M2258</guid>
      <dc:creator>carmendee</dc:creator>
      <dc:date>2016-11-15T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311813#M2259</link>
      <description>Please see where I attached error.&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Nov 2016 18:30:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311813#M2259</guid>
      <dc:creator>carmendee</dc:creator>
      <dc:date>2016-11-15T18:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311849#M2260</link>
      <description>&lt;P&gt;In regular SQL, using the syntax "case when", you need a = between your expression and the constant.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311849#M2260</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-15T20:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEPART in Information Map Studio</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311939#M2261</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why have you marked the post containing your error as the solution? &amp;nbsp;Also, please post the erro as either text or picture in the post, I would not download any Office files.&lt;/P&gt;
&lt;P&gt;The syntax of a case statement is:&lt;/P&gt;
&lt;P&gt;case when &amp;lt;condition&amp;gt; then &amp;lt;result&amp;gt; [when...] else &amp;lt;result&amp;gt; end&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;case &amp;lt;variable&amp;gt; when &amp;lt;value&amp;gt; then &amp;lt;result&amp;gt; [when...] else &amp;lt;result&amp;gt; end&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I say, never heard of this information map, but I have never seen any system using &amp;lt;&amp;lt; &amp;gt;&amp;gt; around variables, that is an operator in some languages.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 09:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Using-DATEPART-in-Information-Map-Studio/m-p/311939#M2261</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-11-16T09:21:46Z</dc:date>
    </item>
  </channel>
</rss>

