<?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: Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750112#M1045603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes YEAR is in a bigger table, that is linked to another table.&amp;nbsp; Is that why you put Year into the inline script?&amp;nbsp; So it didn't connect due to not being capitalized.&amp;nbsp; What problems would this cause if it was connected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 15:36:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-14T15:36:59Z</dc:date>
    <item>
      <title>Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750107#M1045598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for help on a way to sort and color a graph.&amp;nbsp; Here is my user's request:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They would like the graph initially sorted by 2014, Plan, 2013.&amp;nbsp; Then, they would like to be able to drill down to month.&amp;nbsp; Using the sort functions I have not been able to meet both requirements.&amp;nbsp; I figure it will take an expression, but I cannot think of one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They have given me three colors for the initial view, but would like a calculated blue for the drill down months.&amp;nbsp; I tried an if statement for background color - if(MONTH&amp;gt;=1, RGB(0,106,182)) which work properly unless the user selects a month, then it colors the year all the same color.&amp;nbsp; Is there a dimensionality function with using the drill down field I am using (time)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="sales graph.png" class="jive-image" src="/legacyfs/online/71279_sales graph.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 14:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750107#M1045598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-14T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750108#M1045599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;this may prove useful:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 14:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750108#M1045599</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2014-11-14T14:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750109#M1045600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding sorting, you could either add a sorting field in the script (value 1 for 2013, 2 for PLAN and 3 for 2014) and then sort by that field in the sort expression. Alternatively use something like this as sort expression: WildMatch(YEAR, '2013', 'PLAN', '2014')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750109#M1045600</guid>
      <dc:creator>kristoferahlin</dc:creator>
      <dc:date>2014-11-14T15:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750110#M1045601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristofer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks the WildMatch worked great.&amp;nbsp; Could you show me how to put a sorting field into the script.&amp;nbsp; Would that be like an inline table such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year Value&lt;/P&gt;&lt;P&gt;2014 1&lt;/P&gt;&lt;P&gt;Plan 2&lt;/P&gt;&lt;P&gt;2013 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750110#M1045601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-14T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750111#M1045602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends on your current data model I would say. I assume that YEAR is a field in a bigger table?&lt;/P&gt;&lt;P&gt;In that case you could do something like this during the LOAD of that table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Fieldname 1,&lt;/P&gt;&lt;P&gt;Fieldname 2,&lt;/P&gt;&lt;P&gt;YEAR,&lt;/P&gt;&lt;P&gt;if(YEAR = '2013', '1', if(YEAR = 'PLAN', '2', if(YEAR = '2013', '3'))) as YearSort,&lt;/P&gt;&lt;P&gt;Fieldname 4&lt;/P&gt;&lt;P&gt;FROM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you might use an inline table just a you say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, YearSort&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plan, 2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then simply put YearSort as the sort expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750111#M1045602</guid>
      <dc:creator>kristoferahlin</dc:creator>
      <dc:date>2014-11-14T15:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750112#M1045603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes YEAR is in a bigger table, that is linked to another table.&amp;nbsp; Is that why you put Year into the inline script?&amp;nbsp; So it didn't connect due to not being capitalized.&amp;nbsp; What problems would this cause if it was connected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750112#M1045603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-14T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750113#M1045604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that was my mistake. YEAR should be capitalized if you use the inline table approach (provided of course that it is capitalized in the other table). They need to be connnected in order for the sort to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which approach you use might also depend on the amount of data you have in the table. Say e.g. your bigger table has several hundred thousand rows. Then adding a new sorting field might degrade performance. On the other hand, using the separate inline table clutters your data model... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750113#M1045604</guid>
      <dc:creator>kristoferahlin</dc:creator>
      <dc:date>2014-11-14T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750114#M1045605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect thank you for the great help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart/m-p/750114#M1045605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-14T15:50:03Z</dc:date>
    </item>
  </channel>
</rss>

