<?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 sort week number across year using JSL (JMP12)? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/35046#M20685</link>
    <description>&lt;P&gt;Are you asking, what is the JSL to do this chart?&amp;nbsp; If this is your question, just go ahead and interactively create the chart, then go to the red triangle, click on it and got to Save the Script.&amp;nbsp; You will get the code required to regenerate the chart.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 20:22:22 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-01-27T20:22:22Z</dc:date>
    <item>
      <title>How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34708#M20494</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have data by week number from Oct 2016 to the current week.&amp;nbsp; I want to show the week numbers in correct order on the X-axis on bar chart going from week 48, 49, 50, 51, 1,2,3 etc. Or value ordering for WeekNumber column in the order of time stamp can help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I created Year as another column&amp;nbsp;and used Year axis along with WeekNum on Bar chart. But it didn't work as expected. please see the attached charts. Left one is the one I am getting right now, and the right one is the desired one. For a small dataset, we can reorder the WW values but it's tedious for a large data set.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am using JMP12, it will be a big help if anyone can suggest a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarCharts.PNG" style="width: 445px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4861i91753F3EC0346382/image-dimensions/445x249?v=v2" width="445" height="249" role="button" title="BarCharts.PNG" alt="BarCharts.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 03:28:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34708#M20494</guid>
      <dc:creator>Priyank</dc:creator>
      <dc:date>2017-01-19T03:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34716#M20502</link>
      <description>&lt;P&gt;Without seeing what you want your final product to look like, I will guess that what you may need to do is to change the Year and work week moding types to ordinal.&amp;nbsp; Assuming the year and word week columns are numeric that should make the axis work out the way you want it to.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 01:57:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34716#M20502</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-01-19T01:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34718#M20503</link>
      <description>&lt;P&gt;Thanks Jim. Yes, WW and Year are in numeric. but it didnt work out with ordinal modeling types for these columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached chart. Desired chart is in the right and the one i am getting is in the left. Notice the week numbers. I had to reorder the week numbers to 49, 50, 51, 52, 1, 2.. which is quite tedious with large data set. Also i want to put it in script.&amp;nbsp;&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="BarCharts.PNG" style="width: 563px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4859iC9A89AE9F199A530/image-dimensions/563x315?v=v2" width="563" height="315" role="button" title="BarCharts.PNG" alt="BarCharts.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 03:24:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34718#M20503</guid>
      <dc:creator>Priyank</dc:creator>
      <dc:date>2017-01-19T03:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34722#M20504</link>
      <description>&lt;P&gt;If you use Chart Builder, setting Year and Work Week to Ordinal and dragging both of them at the same time to the X axis and then drag the Y variable to the Y axis you will get the below chart&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="work week.PNG" style="width: 921px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4862i06CF9BA5C65612A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="work week.PNG" alt="work week.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 03:53:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/34722#M20504</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-01-19T03:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/35023#M20673</link>
      <description>&lt;P&gt;Thanks so much for the help Jim. It worked.&lt;/P&gt;&lt;P&gt;Now i have to add this capability into my script. Was looking on web but didnt&amp;nbsp;find any solution. Please let me know if you can suggest something. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 08:04:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/35023#M20673</guid>
      <dc:creator>Priyank</dc:creator>
      <dc:date>2017-01-27T08:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort week number across year using JSL (JMP12)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/35046#M20685</link>
      <description>&lt;P&gt;Are you asking, what is the JSL to do this chart?&amp;nbsp; If this is your question, just go ahead and interactively create the chart, then go to the red triangle, click on it and got to Save the Script.&amp;nbsp; You will get the code required to regenerate the chart.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:22:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/35046#M20685</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-01-27T20:22:22Z</dc:date>
    </item>
    <item>
      <title>Re:How to customize the WW in JMP14?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/347476#M59826</link>
      <description>&lt;P&gt;I have data I am looking at and I want work week to start in October that is Oct 1 will be WW1.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 22:58:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-sort-week-number-across-year-using-JSL-JMP12/m-p/347476#M59826</guid>
      <dc:creator>fannah</dc:creator>
      <dc:date>2021-01-11T22:58:30Z</dc:date>
    </item>
  </channel>
</rss>

