<?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: Creating Inline table using Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708349#M1077751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was very helpful, using this method I was able to link my quarters and get rid of the extra month names in the list box, but I am not able to order the month list box in order starting with July as month 1.&lt;/P&gt;&lt;P&gt;I went under the sort tab of the properties box, but none of the settings achieve this. When I sort by Original Load Order it is a very odd order, Going, Jun, May, Sep, Feb, Oct, Jan, Apr, Nov, Dec, Mar, Jul, Aug&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 18:22:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-18T18:22:03Z</dc:date>
    <item>
      <title>Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708347#M1077745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating an Inline table Using a field that already exists, Month. This is so I can order them according to my Fiscal Calendar. My Inline table looks like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ap, Month, Quarter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Jul, Q1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Aug, Q1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Sep, Q1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, Oct, Q2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, Nov, Q2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, Dec, Q2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, Jan, Q3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, Feb, Q3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9, Mar, Q3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10, Apr, Q4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, May, Q4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12, Jun, Q4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I load it, it does not work exactly right..&amp;nbsp; on another tab, I have :&lt;/P&gt;&lt;P&gt;Month("ORDER_DATE") as Month&lt;/P&gt;&lt;P&gt;so in the list box, I have doubled names of months, with the ones from the inline table not doing anything with my data as if there is no link between the two. In the table viewer, it says my inline table is linked to my main table via Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what I have said, can anyone point out what I may be doing incorrectly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708347#M1077745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-18T18:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708348#M1077748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Months are Duals in QlikView. so really Dual('Jul',7) as Month is the way to define it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a very neat way to make QlikView sort it the way you want;&lt;/P&gt;&lt;P&gt;At the start of your script create an inline table:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;InitMonths:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;BR /&gt;Month&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then at the end of your script write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table InitMonths;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now when you want to sort your months you select Load Order - Original.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708348#M1077748</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-07-18T18:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708349#M1077751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was very helpful, using this method I was able to link my quarters and get rid of the extra month names in the list box, but I am not able to order the month list box in order starting with July as month 1.&lt;/P&gt;&lt;P&gt;I went under the sort tab of the properties box, but none of the settings achieve this. When I sort by Original Load Order it is a very odd order, Going, Jun, May, Sep, Feb, Oct, Jan, Apr, Nov, Dec, Mar, Jul, Aug&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708349#M1077751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-18T18:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708350#M1077752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this not do what you want?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LoadOrder.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/62673_LoadOrder.PNG" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708350#M1077752</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-07-18T18:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708351#M1077753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is but the order (according to the way they are listed in the inline table) should be &lt;/P&gt;&lt;P&gt;Jul, Aug, Sep, Oct, Nov, Dec, Jan, Feb, Mar, Apr, May, Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but instead it is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jun, May, Sep, Feb, Oct, Jan, Apr, Nov, Dec, Mar, Jul, Aug.. which is not in any order that I can see.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708351#M1077753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-18T18:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708352#M1077755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm. Ok.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let's try something else. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table (Table1) where you have &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month("ORDER_DATE") as Month&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Create another field:&lt;BR /&gt;Num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month("ORDER_DATE")) as MonthNum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then add this at the end.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;left join(Table1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthSort, MonthNum&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 7&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 8&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 9&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 10&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 11&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 12&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, 2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9, 3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10, 4&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12, 6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use sort by expression and have the expression = [MonthSort]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont want the extra field MonthNum to stay in your data model add the folloing line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop field MonthNum;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708352#M1077755</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-07-18T18:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Inline table using Months</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708353#M1077758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright it didn't work, but I was able to use what you did there and then add monthname as a column and use that in the listbox, and that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 19:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Inline-table-using-Months/m-p/708353#M1077758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-18T19:07:37Z</dc:date>
    </item>
  </channel>
</rss>

