<?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: How do I create a bar chart using only expressions on the axes? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846032#M1018446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could add the Aging Bucket calculation into your LOAD Script, then this calculation would become a dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 13:35:15 GMT</pubDate>
    <dc:creator>mphekin12</dc:creator>
    <dc:date>2015-04-02T13:35:15Z</dc:date>
    <item>
      <title>How do I create a bar chart using only expressions on the axes?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846031#M1018445</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'm fairly new to QlikView and I'm really struggling with creating a bar chart using only 2 expressions and no dimensions.&amp;nbsp; I really hope someone can help me.&amp;nbsp; I've tried so many different ways, (including, changing one of the expressions to a dimension), but really there are too many to list here.&amp;nbsp; Instead, let me show you what I'm trying to do in the hope that someone can offer me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Summary: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm trying to graphically show how open sales orders are aged so that we can get a handle on backlog and plan future resource requirements.&amp;nbsp; One of the ways we want to do this is to see the quantity of metal on open sales orders and how much of that quantity is due to ship, and/or ready to ship, based on some pre-defined aging buckets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly below is ultimately what I want the chart to look like.&amp;nbsp; Below that, I've also show a screen shot of what the straight table data looks like and below that I have given a brief overview of what's represented in that data.&amp;nbsp;&amp;nbsp; I'm also attaching an excel file with the desired chart and data table (not sure if that will help, but I'm attaching anyway).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/82796_pastedImage_20.png" style="max-height: 900px; max-width: 1200px;" /&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;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/82789_pastedImage_0.png" style="width: 593px; height: 341px; float: none;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; text-decoration: underline; font-family: 'Arial',sans-serif;"&gt;&lt;STRONG&gt;Dimensions: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;Customer Code and Customer Name are dimensions from the SOHeader table; Order Number, Line No, Item, Description and Sched Ship Date are dimensions from the SOLines table; Metal Type is from the Qlty_Tbl table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; text-decoration: underline; font-family: 'Arial',sans-serif;"&gt;&lt;STRONG&gt;Expressions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;Aging Bucket is an expression that references a variable which calculates the difference in the number of days between today’s date and the sched ship date.&amp;nbsp; Based on that number of days, it assigned to an aging category/bucket in the variable.&amp;nbsp; Here is the variable formula:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;if(SCHEDULED_SHIP_DATE&amp;lt;$(vToday),'1-Past Due',if(SCHEDULED_SHIP_DATE=$(vToday),'2-Today',if(SCHEDULED_SHIP_DATE&amp;gt;$(vToday) AND SCHEDULED_SHIP_DATE&amp;lt;($(vToday)+6),'3-Due w/in 5 Days','4-Due Beyond 5 Days')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;All the remaining columns are expressions that reference a variable.&amp;nbsp; For example, Silver OZ Not Picked has a formula as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;if (Qlty_Tbl.METAL_TYPE='S' AND QTY_PICKED=0,QTY_ORDERED*Products.QUALITY_CODE1_WEIGHT*Qlty_Tbl.FINENESS_FACTOR*Qlty_Tbl.FINENESS_MULT,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-no-proof: yes; line-height: 107%; color: #000000; font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;For Picked OZ, the only part of the formula that changes is the QTY_PICKED&amp;lt;&amp;gt;0.&amp;nbsp; For Gold versus Silver, the only part of the formula that changes is Qlty_Tbl.METAL_TYPE=’G’.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846031#M1018445</guid>
      <dc:creator />
      <dc:date>2015-04-02T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a bar chart using only expressions on the axes?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846032#M1018446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could add the Aging Bucket calculation into your LOAD Script, then this calculation would become a dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846032#M1018446</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2015-04-02T13:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a bar chart using only expressions on the axes?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846033#M1018447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I don't have access to the script which is why I did it as a variable.&amp;nbsp; In any event, when I change the chart to a stacked versus grouped column it works as expected. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-bar-chart-using-only-expressions-on-the-axes/m-p/846033#M1018447</guid>
      <dc:creator />
      <dc:date>2015-04-02T14:48:43Z</dc:date>
    </item>
  </channel>
</rss>

