<?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: Arranging a stacked bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127202#M913476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to create the correct order of your categories when creating them in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either create a load order that is correct, e.g. by creating an INLINE table before you are loading your categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;Very bad&lt;/P&gt;&lt;P&gt;Bad&lt;/P&gt;&lt;P&gt;Regular&lt;/P&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then load your other tables. You can drop the INLINE table at the end of your script, if you want.&lt;/P&gt;&lt;P&gt;Then set the sort order of Category to load order on Sort tab of your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or create a dual value when creating / loading your Categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Category, Match(Category, 'Very bad','Bad','Regular','Good')+1 ) as Category,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then sort the Category values numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Jun 2016 10:10:53 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-05T10:10:53Z</dc:date>
    <item>
      <title>Arranging a stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127201#M913475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am a beginner in Qlikview and i want to make a question and see if you can help me .How can I arrange a stacked bar chart in the folllowing order by category from Very bad , bad , regular and good?.&lt;/P&gt;&lt;P&gt;In the attached image, the categories are in spanish. &lt;/P&gt;&lt;P&gt;Regards from Chile&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126878_chart.jpg" style="height: 324px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127201#M913475</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Arranging a stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127202#M913476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to create the correct order of your categories when creating them in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either create a load order that is correct, e.g. by creating an INLINE table before you are loading your categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;Very bad&lt;/P&gt;&lt;P&gt;Bad&lt;/P&gt;&lt;P&gt;Regular&lt;/P&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then load your other tables. You can drop the INLINE table at the end of your script, if you want.&lt;/P&gt;&lt;P&gt;Then set the sort order of Category to load order on Sort tab of your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or create a dual value when creating / loading your Categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Category, Match(Category, 'Very bad','Bad','Regular','Good')+1 ) as Category,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then sort the Category values numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 10:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127202#M913476</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-05T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arranging a stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127203#M913477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you very much for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 15:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Arranging-a-stacked-bar-chart/m-p/1127203#M913477</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2016-06-05T15:33:48Z</dc:date>
    </item>
  </channel>
</rss>

