<?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 Converting a date field to mesure and then creating a first (min) and last (max) date of observation in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Converting-a-date-field-to-mesure-and-then-creating-a-first-min/m-p/550199#M12243</link>
    <description>&lt;P&gt;Hi! I am using SAS 7.4 at the moment, we will migrate soon, but I have a date field that I am trying to turn into 2 columns: first date and last date when an observation was seen. I have tried agg. measure and calc item but I get type mismatch because of the date field. I figured I could change the date format (into a measure?) first and then build the other 2 custom categories. Any input on how to best perform all these steps or if my logic is wrong for the outcome I need? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example data set:&lt;/P&gt;&lt;P&gt;Process Error 1&amp;nbsp; &amp;nbsp;Severity 1&amp;nbsp; First Date Observed&amp;nbsp; &amp;nbsp;Last date Observed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For columns, I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;1-minor error (to be used in the process error column (cat)&lt;/P&gt;&lt;P&gt;2-severity (cat)&lt;/P&gt;&lt;P&gt;3-localdate (cat)&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 12:47:19 GMT</pubDate>
    <dc:creator>shakira214</dc:creator>
    <dc:date>2019-04-11T12:47:19Z</dc:date>
    <item>
      <title>Converting a date field to mesure and then creating a first (min) and last (max) date of observation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Converting-a-date-field-to-mesure-and-then-creating-a-first-min/m-p/550199#M12243</link>
      <description>&lt;P&gt;Hi! I am using SAS 7.4 at the moment, we will migrate soon, but I have a date field that I am trying to turn into 2 columns: first date and last date when an observation was seen. I have tried agg. measure and calc item but I get type mismatch because of the date field. I figured I could change the date format (into a measure?) first and then build the other 2 custom categories. Any input on how to best perform all these steps or if my logic is wrong for the outcome I need? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example data set:&lt;/P&gt;&lt;P&gt;Process Error 1&amp;nbsp; &amp;nbsp;Severity 1&amp;nbsp; First Date Observed&amp;nbsp; &amp;nbsp;Last date Observed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For columns, I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;1-minor error (to be used in the process error column (cat)&lt;/P&gt;&lt;P&gt;2-severity (cat)&lt;/P&gt;&lt;P&gt;3-localdate (cat)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 12:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Converting-a-date-field-to-mesure-and-then-creating-a-first-min/m-p/550199#M12243</guid>
      <dc:creator>shakira214</dc:creator>
      <dc:date>2019-04-11T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a date field to mesure and then creating a first (min) and last (max) date of observa</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Converting-a-date-field-to-mesure-and-then-creating-a-first-min/m-p/557079#M12427</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/111734"&gt;@shakira214&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please clarify&amp;nbsp;do you want to create a min and max date for certain specific groups?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Observed.PNG" style="width: 597px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29301i8058ED152322505B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Observed.PNG" alt="Observed.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Petri&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 12:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Converting-a-date-field-to-mesure-and-then-creating-a-first-min/m-p/557079#M12427</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2019-05-08T12:17:01Z</dc:date>
    </item>
  </channel>
</rss>

