<?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: Curve chart in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350718#M574632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create another field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(Date) as Year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this to inside the dimension. Now in your dimension there are two field Month and Year. Promote and demote the dimension to get your required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in expression write Sum(Sales). No need for two expression, one will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 08:53:45 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2012-06-13T08:53:45Z</dc:date>
    <item>
      <title>Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350713#M574627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi the community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My purpose is to display 2 curves in the same chart according .&lt;/P&gt;&lt;P&gt;I have one dimension witch is the date going from january to december(in a monthly basis: 01/01/2011;01/02/2011......01/12/2011). Each curve should represent a specific year, 1 curve for 2011 and 1 curve for 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to display the 2 curves in the same chart using 2 expressions (1 expression for each curve) but the problem is that i have the 1st curve (for 2011) followed by the second curve (for 2012). what i want is to have the 2 curves starting from the same origin (january). see the attached snapshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve this problem ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350713#M574627</guid>
      <dc:creator />
      <dc:date>2012-06-13T08:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350714#M574628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is because you are trying to add the date field. Add the month field and you will get the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Date) as Month&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;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350714#M574628</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-06-13T08:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350715#M574629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for the answer Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you mean at the load table step in the script editor ? or at the graphic properties step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350715#M574629</guid>
      <dc:creator />
      <dc:date>2012-06-13T08:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350716#M574630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script itself and then add the month as dimension. For testing purpose yu can add it in the graphic properties and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350716#M574630</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-06-13T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350717#M574631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried what you said in the load step in the script editor and in the graph i have the message "no data to display".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After troulebshooting, i understood it is because of the formulas used in the expressions.&lt;/P&gt;&lt;P&gt;In fact, for each expression (each represented by 1 curve), i have a "IF" statement as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1st curve(2011 sales):&lt;/P&gt;&lt;P&gt;if(year(date)=2011), sum(sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2st curve(2012 sales):&lt;/P&gt;&lt;P&gt;if(year(date)=2012), sum(sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that if a load only Month in the editor script QV could not perform the function YEAR() in the "IF" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what is your advice to have only the month dimension in the graph and be able to do the "IF" statement depending the year 2011 and 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350717#M574631</guid>
      <dc:creator />
      <dc:date>2012-06-13T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350718#M574632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create another field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(Date) as Year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this to inside the dimension. Now in your dimension there are two field Month and Year. Promote and demote the dimension to get your required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in expression write Sum(Sales). No need for two expression, one will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350718#M574632</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-06-13T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350719#M574633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Deepak it worked !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can you explain me "what is behind the scene".&lt;/P&gt;&lt;P&gt;I want to know how QV makes the difference between values in 2011 and 2012 to display 2 different curves with only one expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank for all and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 09:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350719#M574633</guid>
      <dc:creator />
      <dc:date>2012-06-13T09:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350720#M574634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a general scenario, even in excel (pivot tables) it will work in the same way.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By adding the dimesion we are breaking the expression into different parts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got my point. Also do mark the correct answer so that others can also get help from this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 09:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350720#M574634</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-06-13T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Curve chart in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350721#M574635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a lot Deepak !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 09:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Curve-chart-in-qlikview/m-p/350721#M574635</guid>
      <dc:creator />
      <dc:date>2012-06-13T09:46:00Z</dc:date>
    </item>
  </channel>
</rss>

