<?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 fields as a chart's dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314088#M1192524</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 solve such a problem with different loading the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tablename:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sales' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ﻿location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Cost' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = cost;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'netrevenue' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = netrevenue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than your dimension in the chart bar is type and the expression is location. Use the unqualify above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, it is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 07:56:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-24T07:56:12Z</dc:date>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314087#M1192523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to have fields as dimensions of a bar chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g. i have sales, cost, netrevenue and location of table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dimensions would be field1, field2 and field3 while the expression would be the locationfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i can compare values of field1, field2 and field3 easily since their bars are side by side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;location1 location2 location3&amp;nbsp;&amp;nbsp;&amp;nbsp; location1 location2 location3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location1 location2 location3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sales&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netrevenue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;location1, location2 and location3 are values of the field location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know that it is simple to have sales, cost and netrevenue as the expression with location as the dimension but is it possible in the scenario i have described above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 09:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314087#M1192523</guid>
      <dc:creator />
      <dc:date>2011-06-23T09:34:21Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314088#M1192524</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 solve such a problem with different loading the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tablename:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sales' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ﻿location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Cost' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = cost;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'netrevenue' AS type&lt;/P&gt;&lt;P&gt;RESIDENT table1&lt;/P&gt;&lt;P&gt;WHERE field = netrevenue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than your dimension in the chart bar is type and the expression is location. Use the unqualify above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, it is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 07:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314088#M1192524</guid>
      <dc:creator />
      <dc:date>2011-06-24T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314089#M1192525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vicky thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the field name directly in the WHERE condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in addition, i understand that we could selectively enable/disable expressions by using macros but can we do it for dimensions too? for e.g., wheni select Sales on the list box, only the Sales dimension will appear...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314089#M1192525</guid>
      <dc:creator />
      <dc:date>2011-06-28T09:42:53Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314090#M1192526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you consider using a different chart type such as scatter chart or bubble chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314090#M1192526</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-28T09:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314091#M1192527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming this dummy script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;CROSSTABLE (Item, Value) LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Location, Sales, Net, Cost&lt;/P&gt;&lt;P&gt;ES, 100, 80, 20&lt;/P&gt;&lt;P&gt;NL, 200, 150, 50&lt;/P&gt;&lt;P&gt;UK, 150, 90, 60&lt;/P&gt;&lt;P&gt;FR, 120, 100, 20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can now create a new bar chart with Item and Location (in that order) as Dimensions and Sum(Value) as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Location and Item in two listboxes you can analyze, for example, only Cost of different locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 10:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314091#M1192527</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-28T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314092#M1192528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi miguel thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how is a cross table different from what vicky has suggested above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already have location, sales, net and cost as fields in table why do i need smth like your dummy script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 12:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314092#M1192528</guid>
      <dc:creator />
      <dc:date>2011-06-28T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314093#M1192529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kris thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didnt consider using the 2 charts u've mentioned because i dun think they would be appealing to who will eventually be looking at it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 12:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314093#M1192529</guid>
      <dc:creator />
      <dc:date>2011-06-28T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314094#M1192530</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;Depending on your data volume and data set, that will load faster, and is cleaner that joining several tables, since the information comes from the source with no need of joining or creating new fields. You can load the same data later on the script using different field names if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to try and see which one fits best your needs and renders your chart as expected. If you already have it, feel free to ignore my suggestion. I've used that crosstable code in an example application getting the results as you have described. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you already have it, please mark &lt;A _jive_internal="true" href="https://community.qlik.com/people/vicky_qlik"&gt;vicky_qlik&lt;/A&gt;'s &lt;A _jive_internal="true" href="https://community.qlik.com/message/127177#127177"&gt;post&lt;/A&gt; as answer so more users can get the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 12:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314094#M1192530</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-28T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314095#M1192531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm not really sure how i could apply it to my situation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for vicky's suggestion, it only has the location and string stating the type of field, where is it gonna get the value of sales/cost/netrevenue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your suggestion, what does the Item and Value in the brackets mean? how do i use it if i'm loading from a DB instead of specifying value explicitly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 15:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314095#M1192531</guid>
      <dc:creator />
      <dc:date>2011-06-28T15:58:36Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314096#M1192532</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;yeah, why should I not use it in a where clause? &lt;/P&gt;&lt;P&gt;The dimension in the chart is the "new" field called type. This field only includes the three words, so that you can read them above the axis and have the locations for each "word".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, you have to add a field to each LOAD, which includes the numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have the following example:&lt;BR /&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Location, Sales, Net, Cost&lt;BR /&gt;ES, 100, 80, 20&lt;BR /&gt;NL, 200, 150, 50&lt;BR /&gt;UK, 150, 90, 60&lt;BR /&gt;FR, 120, 100, 20&lt;BR /&gt;];&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the script above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location, Number, Type&lt;/P&gt;&lt;P&gt;ES, 100, 'Sales'&lt;/P&gt;&lt;P&gt;NL, 200, 'Sales'&lt;/P&gt;&lt;P&gt;UK, 150, 'Sales',&lt;/P&gt;&lt;P&gt;FR, 120, 'Sales'&lt;/P&gt;&lt;P&gt;ES, 80, 'Net'&lt;/P&gt;&lt;P&gt;NL, 150, 'Net'&lt;/P&gt;&lt;P&gt;UK, 90, 'Net',&lt;/P&gt;&lt;P&gt;FR, 100, 'Net'&lt;/P&gt;&lt;P&gt;ES, 20, 'Cost'&lt;/P&gt;&lt;P&gt;NL, 50, 'Cost'&lt;/P&gt;&lt;P&gt;UK, 60, 'Cost',&lt;/P&gt;&lt;P&gt;FR, 20, 'Cost'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, then your dimension in chart is type and location and the expression is Sum(Number). I can't try it out, I'm not at work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 17:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314096#M1192532</guid>
      <dc:creator />
      <dc:date>2011-06-28T17:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314097#M1192533</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 code above is just an example on how to get a crosstable load working and the results it will return. I don't know your database, but it should work anyway tweaking the script a little.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for clarification sake, the crosstable above will return a table with three columns, one with Location, the other with Item (where possible values are "Sales", "Net" and "Cost") and the other one Value, storing all the amounts in the script, very similar to what Vicky describes above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, it's just an idea. If that doesn't fit your requirements or is more complex than the other solution, forget about it. I'll attach a very simple example application tomorrow morning for your perusal, just in case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 21:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314097#M1192533</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-28T21:17:31Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314098#M1192534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think i understand vicky suggestion for my initial objective&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if now,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;i need the dimension in weeks&lt;/LI&gt;&lt;LI&gt;for each week, there would be X number of stacked bars depending on the X number of locations i selected from a list box or another object&lt;/LI&gt;&lt;LI&gt;for each stacked bar, it will consist of sales/costs/netrevenue&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how could i modify the script further, or do i even need another script now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: i already have a date field that works properly in previous charts to show trends in weeks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 01:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314098#M1192534</guid>
      <dc:creator />
      <dc:date>2011-06-29T01:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314099#M1192535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you use the WHERE condition with the field name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have a field name SALES im supposed to say WHERE field=SALES?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried that and it tells me field not found,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Field not found - &amp;lt;field&amp;gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;UTILIZATION_WEEKLY2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `90-000` as Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'PMFG' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY&lt;/P&gt;&lt;P&gt;WHERE field = `90-000`&lt;/P&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my original table,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;tUTILIZATION_WEEKLY:&lt;/P&gt;&lt;P&gt;LOAD `START_DATETIME`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `10-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `20-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `30-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `40-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `50-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `60-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `70-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `80-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `90-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `A0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `B0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `C0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `D0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `E0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `F0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `TOTAL_TIME`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `PRODUCTIVE_MFG_LOSS`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'A' as Site;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM A.`UTILIZATION_WEEKLY`;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the script i used,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;UTILIZATION_WEEKLY2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `90-000` as Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'PMFG' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY&lt;/P&gt;&lt;P&gt;WHERE field = `90-000`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCTIVE_MFG_LOSS as Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'SITELOSS' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY&lt;/P&gt;&lt;P&gt;WHERE field = PRODUCTIVE_MFG_LOSS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 02:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314099#M1192535</guid>
      <dc:creator />
      <dc:date>2011-06-29T02:47:08Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314100#M1192536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script you would do WHERE SALES = 'XXX'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds more like you are working on a chart though? In that case you would want to implement either some IF logic or Set Analysis should you need to limit the calculation to a subset of 'Sales'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a chart you should just need to set your dimension to the same date field thats in your other chart &amp;amp; then add sum(sales), sum([net revenue]), etc... in a stacked bar chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post a sample of your dataset &amp;amp; description of what you are trying to accomplish &amp;amp; we can likely clarify better what you need do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 03:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314100#M1192536</guid>
      <dc:creator />
      <dc:date>2011-06-29T03:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314101#M1192537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no im not trying to do a conditional load like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im modifying from what vicky has suggested above...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the chart it's not jus a single bar on each week but multiple bars depending on the number locations i've selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i selected 3 locations i have have 3 bars for each of the week and each bar has is stacked with the sales/costs/netrevenue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 03:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314101#M1192537</guid>
      <dc:creator />
      <dc:date>2011-06-29T03:36:31Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314102#M1192538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;field&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is right, because you haven't got this name in your table. Are '90-000' ect. your fieldnames? Then you have write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE '90-000' = value (always WHERE field name = field value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value is, what you see, if you load your data in a table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: field name = Sales, field values = 200,144,155,188,24,265&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now is the condition: WHERE Sales &amp;gt; 150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you load all data with 155,188,200,265&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 05:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314102#M1192538</guid>
      <dc:creator />
      <dc:date>2011-06-29T05:12:10Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314103#M1192539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i understand how the mathematical operators work in a WHERE condition but now how you directly use the fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes 90-000 etc are my fieldnames...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values under x0-000 (where x is from 1-9 and A-F) are just integers which i will use to calculate stuffs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE field = '90-000' does not work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 07:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314103#M1192539</guid>
      <dc:creator />
      <dc:date>2011-06-29T07:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314104#M1192540</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;According to your script above, "90-000" is not the field name, but the value. The field name is "Value". So the script should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;UTILIZATION_WEEKLY2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '90-000' as Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'PMFG' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY&lt;/P&gt;&lt;P&gt;WHERE Value = '90-000';&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both values and field names are case sensitive, so "Value" and "value" can be different fields in the same table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 07:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314104#M1192540</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-29T07:45:50Z</dc:date>
    </item>
    <item>
      <title>fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314105#M1192541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh i have to follow the "'90-000' as Value" i typed above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thought the WHERE field = '90-000' was talking about the resident table instead of this new table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 08:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314105#M1192541</guid>
      <dc:creator />
      <dc:date>2011-06-29T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: fields as a chart's dimension</title>
      <link>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314106#M1192542</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 script above loads from the resident table tUTILIZATION_WEEKLY those records where field "Value" are equal to "90-000". Anyway, it souns very confusing to me. According to your original script, the load should be as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;tUTILIZATION_WEEKLY:&lt;/P&gt;&lt;P&gt;LOAD `START_DATETIME`, // all these are fieldnames coming from the A.UTILIZATION_PWEEKLY table in your database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `10-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `20-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `30-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `40-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `50-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `60-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `70-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `80-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `90-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `A0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `B0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `C0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `D0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `E0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `F0-000`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `TOTAL_TIME`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `PRODUCTIVE_MFG_LOSS`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'A' as Site;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM A.`UTILIZATION_WEEKLY`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResidentLoadTable1:&lt;/P&gt;&lt;P&gt;LOAD Site, // this field will always have value "A"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME, // this field exists in the resident table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "90-000" AS Value, // this field exists in the resident table, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I always use "" or [] to mark field names in QlikView when they have special chars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'PMFG' as Type, // this is a new field you are creating in this table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME // this field exists in the resident table&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY; &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need the WHERE in this case. This table loads, based on the previous one, only the values in field "90-000" (now called "Value" in this new table) as "PMFG" as Type. You are already using this new "Type" field, so you don't need to specify which data you want to get from the resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following one should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; START_DATETIME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCTIVE_MFG_LOSS as Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'SITELOSS' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_TIME&lt;/P&gt;&lt;P&gt;RESIDENT tUTILIZATION_WEEKLY;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, Value is filled with values from original field "PRODUCTIVE_MFG_LOSS", and stored and loaded into the "Value" field. Again, there's no need to use the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps to understand how this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I'm still thinking of using the crosstable load here, now that I know your main table, because it makes a lot of sense to me, but nevermind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 08:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fields-as-a-chart-s-dimension/m-p/314106#M1192542</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-29T08:51:10Z</dc:date>
    </item>
  </channel>
</rss>

