<?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: Single Bar(Stacked) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422739#M157523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 17:42:10 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-04T17:42:10Z</dc:date>
    <item>
      <title>Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422734#M157518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a single stacked bar chart(attached image for the reference). Is there a way to do that?&lt;/P&gt;&lt;P&gt;I am also attaching the excel data sheet for the reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422734#M157518</guid>
      <dc:creator />
      <dc:date>2013-04-04T11:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422735#M157519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422735#M157519</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-04T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422736#M157520</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;please find attached document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 13:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422736#M157520</guid>
      <dc:creator />
      <dc:date>2013-04-04T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422737#M157521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Work around..........:) Thanks Gysbert&lt;/P&gt;&lt;P&gt;Could you Please suggest any work around for the displaying % of promotional and non-promotional thing also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 13:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422737#M157521</guid>
      <dc:creator />
      <dc:date>2013-04-04T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422738#M157522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Work around..........:) Thanks amayspatil&lt;/P&gt;&lt;P&gt;Could you Please suggest any work around for the displaying % of promotional and non-promotional thing also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422738#M157522</guid>
      <dc:creator />
      <dc:date>2013-04-04T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422739#M157523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 17:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422739#M157523</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-04T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422740#M157524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HeY Gysbert Thanks for the reply, this is what i wanted. But could you please explain the conditional dimension that you have created for the chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 05:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422740#M157524</guid>
      <dc:creator />
      <dc:date>2013-04-05T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422741#M157525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=dual(Category, FieldIndex('Payment Type',[Payment Type])*10+FieldIndex('Category',Category))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it does is create a dual value, meaning it has a text value and a numeric value. The text value is just the value of the Category dimension. The numeric value is to sort the categories correctly so the Promotional categories come first and the Non-promotional categories come after that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come to think of it, I should have calculated this in the script instead of using a calculated dimension. On the bright side, you get to learn what the fieldindex function does &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I've also used it in the expression that assigns the colors to the category segments and in the legend chart so every category will get the same color in both charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, in the qlikview in-memory database every field has a symbol table (see &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/11/20/symbol-tables-and-bit-stuffed-pointers"&gt;this blog post&lt;/A&gt;). The fieldindex function looks up the index number of the value in that symbol table. I use these index numbers to create a number to sort on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 08:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422741#M157525</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-05T08:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422742#M157526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to understand how did you sort the category data values from this expression:&lt;/P&gt;&lt;P&gt;FieldIndex('Payment Type',[Payment Type])*10+FieldIndex('Category',Category))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain this in brief?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 08:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422742#M157526</guid>
      <dc:creator />
      <dc:date>2013-04-05T08:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Single Bar(Stacked)</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422743#M157527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok......I think i got what you have explained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, just for knowledge. Can you please list the scenarios or situation or cases where we should use the following functions:&lt;/P&gt;&lt;P&gt;1.) Dual&lt;/P&gt;&lt;P&gt;2.) FieldIndex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Arun &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 10:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Bar-Stacked/m-p/422743#M157527</guid>
      <dc:creator />
      <dc:date>2013-04-05T10:34:46Z</dc:date>
    </item>
  </channel>
</rss>

