<?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 Graph Against Months With Two Different Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205280#M501727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;Rather than selecting diMonth from a list box, have you tried using it as a chart dimension?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 07:04:46 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2010-11-30T07:04:46Z</dc:date>
    <item>
      <title>Graph Against Months With Two Different Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205277#M501724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table for purchases and a table for upgrades. Both tables have their own date fields like this: PurchaseMonth and UpgradeMonth. What I would like to do is show a graph that sums both Purchases and Upgrades across months. For the dimensions field i'm using PurchaseMonth. Here's what I have for the expression:&lt;/P&gt;&lt;P&gt;Sum( PurchaseSales ) + Sum( {$&amp;lt;UpgradeMonth=PurchaseMonth&amp;gt;} UpgradeSales)&lt;/P&gt;&lt;P&gt;The problem i'm having is the UpgradeSales aren't getting added into the chart just the Purchase sales. I believe this is because I am using PurchaseMonth as the dimension. I've been messing around with the set analysis with no luck. I'm thinking I might need to create some sort of month table that isn't linked to either sales or purchases then graph against that value. Not sure how to do that though.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 17:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205277#M501724</guid>
      <dc:creator />
      <dc:date>2010-11-29T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Graph Against Months With Two Different Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205278#M501725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;The problem is that the set analysis is applied to the whole data set (ie before the dimensions are applied). So the second part of your expression is looking for upgrades in the same month as the purchase.&lt;/P&gt;&lt;P&gt;I think your best bet is to use a date island, and link sales &amp;amp; upgrades with Sum..if statements, like this...&lt;/P&gt;&lt;P&gt;&lt;B&gt;Dimension:&lt;/B&gt; the month from the date island (eg diMonth).&lt;/P&gt;&lt;P&gt;&lt;B&gt;Expression:&lt;/B&gt; Sum(If(PurchaseMonth = diMonth, Sales)) + Sum(If(UpgradeMonth = diMonth, UpgradeSales))&lt;/P&gt;&lt;P&gt;For more info on setting up date islands, do a search on this site for - you should be able to find several examples that will help you.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 18:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205278#M501725</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-11-29T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Graph Against Months With Two Different Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205279#M501726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;Thanks for replying. I have tried your solution and i do get good numbers. My only problem is it wont display all months at one time. I created a diMonth list box and the chart only displays anything when a selected a particular month in this listbox. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 21:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205279#M501726</guid>
      <dc:creator />
      <dc:date>2010-11-29T21:03:57Z</dc:date>
    </item>
    <item>
      <title>Graph Against Months With Two Different Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205280#M501727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;Rather than selecting diMonth from a list box, have you tried using it as a chart dimension?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 07:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205280#M501727</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-11-30T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Graph Against Months With Two Different Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205281#M501728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan, thanks for your post, specifically noting that set analysis is applied to the whole data set (ie before the dimensions are applied).&amp;nbsp;&amp;nbsp; The Sum(if(field=dimension) alternative is beautiful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Against-Months-With-Two-Different-Fields/m-p/205281#M501728</guid>
      <dc:creator>bobdawes</dc:creator>
      <dc:date>2011-09-22T16:06:23Z</dc:date>
    </item>
  </channel>
</rss>

