<?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 Greater than using Date in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508149#M73705</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to know on how to write a date function/formula and see only values and data related from 2022&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please guide me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 17:01:16 GMT</pubDate>
    <dc:creator>penalah</dc:creator>
    <dc:date>2023-06-09T17:01:16Z</dc:date>
    <item>
      <title>Greater than using Date</title>
      <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508149#M73705</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to know on how to write a date function/formula and see only values and data related from 2022&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please guide me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:01:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508149#M73705</guid>
      <dc:creator>penalah</dc:creator>
      <dc:date>2023-06-09T17:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than using Date</title>
      <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508182#M73706</link>
      <description>&lt;P&gt;Use the Year() function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current data table() &amp;lt;&amp;lt; select where( Year(:Date) == 2022);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 18:08:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508182#M73706</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-06-13T18:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than using Date</title>
      <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508346#M73714</link>
      <description>&lt;P&gt;Here is the thing, I have the below where condition and it works it just selects those 4 related data&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where(&lt;BR /&gt;In List(&lt;BR /&gt;Column( "id", "t1" ),&lt;BR /&gt;{"12346", "13456B", "14659R", "19086A"}&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;amp; In List (&lt;/P&gt;&lt;P&gt;Column( "date", "t2" ),&lt;/P&gt;&lt;P&gt;{"2022"}&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;but when I use the same to write the date it's not populating as I need&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried like using &amp;gt;31Dec2021, year{2022}, &amp;gt;2021&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know what am I doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 19:06:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508346#M73714</guid>
      <dc:creator>penalah</dc:creator>
      <dc:date>2022-06-13T19:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than using Date</title>
      <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508426#M73718</link>
      <description>&lt;P&gt;We need a little more information.&amp;nbsp; Perhaps a sample of your data table, and the code you're using?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 19:42:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508426#M73718</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2022-06-13T19:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than using Date</title>
      <link>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508450#M73720</link>
      <description>&lt;P&gt;Hello, will this do? and in this code what I am looking is how to write date function in where statement for date1 so I can see only 2022 data and not the older ones&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please let me know if that makes any sense&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New SQL Query(
    Version( 130 ),
    Connection( "ODBC:DSN=\!"\!";Description=\!"\!";UID=\!"\!";PWD=\!"\!";APP=JMP;DATABASE=\!"\!";" ),
    QueryName( "13Jun2022" ),
    Select(
        Column( "class", "t2" ),
        Column( "ID", "t2", Alias( "Attribute" ) ),
        Column( "no", "t5", Alias( "Number" ) ),
        Column( "text", "t2" ),
        Column( "value", "t2" ),
        Column( "units", "t2" ),
        Column( "Date1", "t5", Numeric Format( "ddMonyyyy", "-1", "NO", "" ), Field Width( 23 ) ),
        Column( "condition", "t2", Alias( "Condition" ) ),
        Column( "label", "t2" ),
        Column( "typeid", "t2" ),
        Column( "list", "t2" ),
        Column( "date2", "t2", Numeric Format( "ddMonyyyy", "-1", "NO", "" ), Field Width( 23 ) ),
        Column( "id", "t4" ),
        Column( "date3", "t5", Numeric Format( "ddMonyyyy", "-1", "NO", "" ), Field Width( 23 ) ),
        Column( "date4", "t2", Numeric Format( "ddMonyyyy", "-1", "NO", "" ), Field Width( 23 ) ),
        Column( "testing", "t2", Numeric Format( "ddMonyyyy", "-1", "NO", "" ), Field Width( 23 ) )
    ),
    From(
        Table( "1", Schema( "DB" ), Alias( "t2" ) ),
        Table( "id", Schema( "DB" ), Alias( "t4" ), Join( Type( Left Outer ), EQ( Column( "id", "t2" ), Column( "id", "t4" ) ) ) ),
        Table(
            "batch",
            Schema( "DB" ),
            Alias( "t5" ),
            Join( Type( Left Outer ), EQ( Column( "batch", "t2" ), Column( "batch", "t5" ) ) )
        )
    ),
    Where(
        In List(
            Column( "id", "t4" ),
            {"12340", "12345A", "12345S", "12345A"},
            UI( SelectListFilter( ListBox, Base( "Categorical" ) ) )
        ) &amp;amp; In List( Column( "class", "t2" ), {"Q", "M"}, UI( SelectListFilter( ListBox, Base( "Categorical" ) ) ) ) &amp;amp;
        In List( Column( "batch", "t5" ), {"A", "I", "P", "R"}, UI( SelectListFilter( ListBox, Base( "Categorical" ) ) ) )
    ),
    Order By(
        Column( "no", "t5", Order( "Ascending" ) ),
        Column( "id", "t2", Order( "Ascending" ) ),
        Column( "label", "t2", Order( "Ascending" ) )
    )
) &amp;lt;&amp;lt; Modify;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 20:50:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Greater-than-using-Date/m-p/508450#M73720</guid>
      <dc:creator>penalah</dc:creator>
      <dc:date>2022-06-13T20:50:18Z</dc:date>
    </item>
  </channel>
</rss>

