<?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: Help With Line Chart - plotting line from multiple fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456268#M562705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gah, that data is in a lousy format. You need to fix the data so your weeks end up in one field and the values in another. You can use the crosstable function for that in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;crosstable(Week,Value,1)&lt;/P&gt;&lt;P&gt;load Product, "Week 1", "Week 2", "Week 3", "Week 4", "Week 5" &lt;/P&gt;&lt;P&gt;from &lt;EM&gt;...yoursource...&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will give you a table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Product, Week, Value&lt;/P&gt;&lt;P&gt;Product A, Week 1, 2&lt;/P&gt;&lt;P&gt;Product A, Week 2, 4&lt;/P&gt;&lt;P&gt;Product A, Week 3, 8&lt;/P&gt;&lt;P&gt;&lt;EM&gt;... etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use Week and Product as dimensions and sum(Value) as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 18:10:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-02-20T18:10:25Z</dc:date>
    <item>
      <title>Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456263#M562700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I create a line graph for data contained in multiple fields ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a line chart with 2 lines (Product A &amp;amp; Product B) plotting the 5 weekly sales buckets.&lt;/P&gt;&lt;P&gt;Product_A, week1,week2,week3,week4,week5&lt;/P&gt;&lt;P&gt;Product_B, week1,week2,week3,week4,week5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456263#M562700</guid>
      <dc:creator />
      <dc:date>2013-02-20T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456264#M562701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use week as your first dimension and product as the second. You'll get a line for every possible product value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456264#M562701</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-20T17:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456265#M562702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do I put in the Expressions definition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456265#M562702</guid>
      <dc:creator />
      <dc:date>2013-02-20T17:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456266#M562703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max(Koala_Bear_Count) maybe? Sorry, but my mind reading extension broke down. I'm afraid you'll have to tell us what you want to show in your line chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456266#M562703</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-20T17:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456267#M562704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the graph I am trying to create.The data fields are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product_Name, Week_1, Week_2, Week_3, Week_4, Week_5&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33719" class="jive-image-thumbnail jive-image" onclick="" alt="Sample_Graph.jpg" src="https://community.qlik.com/legacyfs/online/33719_Sample_Graph.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456267#M562704</guid>
      <dc:creator />
      <dc:date>2013-02-20T17:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456268#M562705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gah, that data is in a lousy format. You need to fix the data so your weeks end up in one field and the values in another. You can use the crosstable function for that in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;crosstable(Week,Value,1)&lt;/P&gt;&lt;P&gt;load Product, "Week 1", "Week 2", "Week 3", "Week 4", "Week 5" &lt;/P&gt;&lt;P&gt;from &lt;EM&gt;...yoursource...&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will give you a table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Product, Week, Value&lt;/P&gt;&lt;P&gt;Product A, Week 1, 2&lt;/P&gt;&lt;P&gt;Product A, Week 2, 4&lt;/P&gt;&lt;P&gt;Product A, Week 3, 8&lt;/P&gt;&lt;P&gt;&lt;EM&gt;... etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use Week and Product as dimensions and sum(Value) as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456268#M562705</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-20T18:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Line Chart - plotting line from multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456269#M562706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The crosstable load was the way to go.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 20:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-With-Line-Chart-plotting-line-from-multiple-fields/m-p/456269#M562706</guid>
      <dc:creator />
      <dc:date>2013-02-20T20:49:28Z</dc:date>
    </item>
  </channel>
</rss>

