<?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: Mini Charts and Line Charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751198#M267844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, the cyclic group is in the line chart and consists of month, quarter and year.&amp;nbsp; It is not in the straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 07:05:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-03T07:05:37Z</dc:date>
    <item>
      <title>Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751194#M267840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a line chart and a mini chart for trending using the same expressions.&amp;nbsp; However the trending line in the mini charts is totally different from the one in the line chart.&amp;nbsp; What could be the cause of this difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2014 22:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751194#M267840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-02T22:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751195#M267841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please upload the qvw or at least a screenshot of both objects that also shows the used dimensions/expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2014 23:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751195#M267841</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-02T23:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751196#M267842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find herewith screen shots of requested information.&amp;nbsp; The dimension in all charts is month.&amp;nbsp; The line charts at the top should be the same with the two mini charts below for the current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 00:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751196#M267842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T00:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751197#M267843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be, that you also have the cyclic group (Month, ...) in the straight table and that it just shows the results of the other dimension of the cyclic group? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 00:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751197#M267843</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-03T00:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751198#M267844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, the cyclic group is in the line chart and consists of month, quarter and year.&amp;nbsp; It is not in the straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 07:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751198#M267844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T07:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751199#M267845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the only idea I have is to check again if the dimension in the mini chart settings (see screenshot) is really the same month-field that is defined within the cyclic group. It may be that you are dealing with several month-fields and that the month field in the cyclic group is just labeled as 'Month' but contains another field.&lt;IMG alt="Capture77.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70344_Capture77.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture76.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70343_Capture76.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751199#M267845</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-03T08:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751200#M267846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel, thank your very much for your contributions so far.&amp;nbsp; I have checked the issues raised and I do not seem to find any problem (see attached).&amp;nbsp; The group settings is using Month with a default field label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751200#M267846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751201#M267847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Months on the minichart seem to be sorted in descending order. Try playing with Month field sort order in Document Properties (as you can't customize dimension sort order in the minichart itself).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751201#M267847</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-11-03T12:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751202#M267848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Jakub is right...if you compare the lines it seems that the sorting is going from July to January &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751202#M267848</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-03T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751203#M267849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i have figured out what is happening.&amp;nbsp; The line chart trend line is sorted from January through to July in the right sort order and presenting the right trend line.&amp;nbsp; The mini chart month is sorted in reverse order from July through to January from my observation when i changed the mini chart mode from line with dots to bars.&amp;nbsp; How do i sort the mini chart to give me the correct trending?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751203#M267849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751204#M267850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use sort order in your script like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident xyz Order by Month asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or (what I consider as best practice): load the Field a first time just as a dimension in the right order and drop it at the end of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SortingOrderMonth_tmp:&lt;/P&gt;&lt;P&gt;LOAD Month FROM XYZ Order by Month asc; // or its already in the right order in your reference file (which could be a simple inline table with the values January to July&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then load your 'real' data LOAD ... FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and at the end:&lt;/P&gt;&lt;P&gt;Drop table SortingOrderMonth_tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the effect is that QV takes the sorting order from the first time the field is loaded and applies the order on the table with the real data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751204#M267850</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-03T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751205#M267851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an aside, if you don't want to change things at script level, change field sort order for Month on the Document Properties -&amp;gt; Sort tab. If you do change it at script level (which is indeed good practice for performance reasons), still check the sort order there, in case something is overriding the Load Order option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751205#M267851</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-11-03T13:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751206#M267852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, i changed the sort properties in the mini chart from descending to ascending under the numerical values check box and all is fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751206#M267852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751207#M267853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below my calendar script where the month dimension resides.&amp;nbsp; I have tried to implement your recommendations with the script at the bottom of my script (SortingOrderMonth_Temp) which i have commented out as there is a script error after running it.&amp;nbsp; Can you kindly assist.&amp;nbsp; Where should i place the the script within my calendar script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuartersMap:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;MAPPING&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;RowNo&lt;/SPAN&gt;() &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Month&lt;/SPAN&gt;,&lt;BR /&gt; 'Q' &amp;amp; &lt;SPAN style="color: #0433ff;"&gt;Ceil&lt;/SPAN&gt; (&lt;SPAN style="color: #0433ff;"&gt;RowNo&lt;/SPAN&gt;()/3) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Quarter&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;AUTOGENERATE&lt;/SPAN&gt; (12);&lt;BR /&gt; &lt;BR /&gt; Temp:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;min&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;[DateDispensed]&lt;/SPAN&gt;))) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;minDate&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;[DateDispensed]&lt;/SPAN&gt;))) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;maxDate&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Resident&lt;/SPAN&gt; [Main Data];&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;varMinDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Peek&lt;/SPAN&gt;('minDate', 0, 'Temp'));&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;varMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Peek&lt;/SPAN&gt;('maxDate', 0, 'Temp'));&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;Table&lt;/SPAN&gt; Temp;&lt;BR /&gt; &lt;BR /&gt; TempCalendar:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(varMinDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; + &lt;SPAN style="color: #0433ff;"&gt;IterNo&lt;/SPAN&gt;()-1 &lt;SPAN style="color: #0433ff;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Num&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(varMinDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; + &lt;SPAN style="color: #0433ff;"&gt;IterNo&lt;/SPAN&gt;() - 1) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;AutoGenerate&lt;/SPAN&gt; 1 &lt;SPAN style="color: #0433ff;"&gt;While&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(varMinDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; + &lt;SPAN style="color: #0433ff;"&gt;IterNo&lt;/SPAN&gt;() -1 &amp;lt;= &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(varMaxDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;BR /&gt; &lt;BR /&gt; MasterCalendar:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt; *,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;AutoNumber&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #941100;"&gt;Quarter&lt;/SPAN&gt;, 'QuarterID') &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;[QuarterID]&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;AutoNumber&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;Period&lt;/SPAN&gt;, 'PeriodID') &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;[PeriodID]&lt;/SPAN&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;[DateDispensed]&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) * 100 + &lt;SPAN style="color: #0433ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;[Period]&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Week&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Week&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Month&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Day&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Day&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;YearToDate&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;)*-1 &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;CurYTDFlag&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;YearToDate&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;, -1)*-1 &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;LastYTDFlag&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;InYear&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;, &lt;SPAN style="color: #0433ff;"&gt;MonthStart&lt;/SPAN&gt;(&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(varMaxDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;),-1) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;RC12&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;MonthStart&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;), 'MMM-YYYY') &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;MonthYear&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;ApplyMap&lt;/SPAN&gt;('QuartersMap', &lt;SPAN style="color: #0433ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;), &lt;SPAN style="color: #0433ff;"&gt;Null&lt;/SPAN&gt;()) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Quarter&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Week&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;)) &amp;amp; '-' &amp;amp; &lt;SPAN style="color: #0433ff;"&gt;WeekYear&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;WeekYear&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;WeekDay&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt;) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;WeekDay&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Resident&lt;/SPAN&gt; TempCalendar&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;TempDate&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;asc&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;Table&lt;/SPAN&gt; TempCalendar;&lt;BR /&gt; &lt;BR /&gt; Filtered:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Last5Year&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;Resident&lt;/SPAN&gt; [MasterCalendar] &lt;SPAN style="color: #0433ff;"&gt;Where&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt; &amp;gt;= &lt;SPAN style="color: #0433ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Today&lt;/SPAN&gt;()) - 4 &lt;SPAN style="color: #0433ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #0433ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Today&lt;/SPAN&gt;());&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #008f00;"&gt;//SortingOrderMonth_Temp:&lt;BR /&gt; //LOAD&lt;BR /&gt; //Month&lt;BR /&gt; //Resident MasterCalendar&lt;BR /&gt; //Order by Month asc;&lt;BR /&gt; //DROP Table SortingOrderMonth_Temp;&lt;BR /&gt; &lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #008f00;"&gt;////--- Remove the temporary variables&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;varMinDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;Null&lt;/SPAN&gt;();&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;varMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;Null&lt;/SPAN&gt;();&lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 18:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751207#M267853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T18:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751208#M267854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its already in the right sorting order in your case (order by TempDate asc).&lt;/P&gt;&lt;P&gt;So beside of sorting by numerical values you could also use the chart properties sorting order 'Load Order: Original'&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 00:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751208#M267854</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-04T00:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Mini Charts and Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751209#M267855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, Daniel, most appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 03:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Charts-and-Line-Charts/m-p/751209#M267855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T03:49:56Z</dc:date>
    </item>
  </channel>
</rss>

