<?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: Line Chart Issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743564#M1046820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great point... monthname() function would be better.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a mix of both&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Month(Date)) &amp;amp; '/' &amp;amp; year(Date) as MonthYear, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 20:38:27 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-11-13T20:38:27Z</dc:date>
    <item>
      <title>Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743561#M1046813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I'm VERY new to QlikView and need to create a bunch of stuff but what I'm currently stuck on is needing to create a line chart where the x-axis will display date and the y-axis will display unique count of people. Here's my issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The chart needs to count distinct people and plot the total distinct count of people by month.&lt;/P&gt;&lt;P&gt;2) The raw date format is currently MM/DD/YYYY hh:mm:ss AM/PM and I want it to display as Jan-2014 and group the unique count of people in each month (right now it is grouped by month, day, year, hour, minute and second)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the line chart I included these expressions:&lt;/P&gt;&lt;P&gt;count( DISTINCT [people_field])&lt;/P&gt;&lt;P&gt;date([date_field],'MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual formulas seem to work if I create them in text boxes but not working in a line chart. My two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) How do I count distinct people and&lt;/P&gt;&lt;P&gt;2) How do I change the associated date to be just month and year and aggregate all the people within a month so it plots correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you please help me get the chart properties right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 18:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743561#M1046813</guid>
      <dc:creator />
      <dc:date>2014-11-13T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743562#M1046814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be handy to create some Year and Month buckets in the load script as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; otherfields,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;from &amp;lt;source&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to &lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; otherfields,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;from &amp;lt;source&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your line chart, add Month as a DIMENSION , remove your existing month expression but keep your customer expression (it looks OK). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR you could just create a calculated dimension with the syntax&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But better to add in the load script as Year and Month are very common buckets/dimensions to use. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 19:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743562#M1046814</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-13T19:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743563#M1046815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Coke is better...&lt;/P&gt;&lt;P&gt;I hope you understood what Jonathan Poole wrote (because it is correct) but watch out that Month(Date) Returns a string value of the month although it can be formatted as a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 20:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743563#M1046815</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-13T20:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743564#M1046820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great point... monthname() function would be better.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a mix of both&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Month(Date)) &amp;amp; '/' &amp;amp; year(Date) as MonthYear, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 20:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743564#M1046820</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-13T20:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743565#M1046822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jonathan!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 20:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743565#M1046822</guid>
      <dc:creator />
      <dc:date>2014-11-13T20:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743566#M1046824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh - if I didn't need your help so much I might have to respond to the Coke comment &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Since I am at your mercy and anyone else willing to help me, I will just say thank you so much for your fast response and sharing your QV intelligence. I really appreciate it. I will set up the date tables as you and Jonathan have suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 20:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743566#M1046824</guid>
      <dc:creator />
      <dc:date>2014-11-13T20:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743567#M1046825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I prefer Pepsi (or is it Dos XX ?)&amp;nbsp; but had to poke some fun to the seriousness of the blog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 23:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743567#M1046825</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-13T23:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743568#M1046826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew I liked you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 17:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Issues/m-p/743568#M1046826</guid>
      <dc:creator />
      <dc:date>2014-11-14T17:58:13Z</dc:date>
    </item>
  </channel>
</rss>

