<?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/1313198#M822951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(AGGR(if(Count(DISTINCT TOTAL &amp;lt;ID&amp;gt; Customer)&amp;gt;1,1,0),Customer,ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jul 2017 09:50:39 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-07-29T09:50:39Z</dc:date>
    <item>
      <title>Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313197#M822950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;I have the data as shown below,&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 443px; height: 70px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;C1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;C2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;C1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;C2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="171805" alt="Screenshot_20.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171805_Screenshot_20.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want the no. of Fields which has same IDs. Both fields have same IDs but from different customers in the above bar chart.&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/Bar-chart/m-p/1313197#M822950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313198#M822951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(AGGR(if(Count(DISTINCT TOTAL &amp;lt;ID&amp;gt; Customer)&amp;gt;1,1,0),Customer,ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 09:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313198#M822951</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-29T09:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313199#M822952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you have close your earlier Thread!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 09:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313199#M822952</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-29T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313200#M822953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vineeth, It's working.. but when I make a selection in Customer, there is no value in the chart. Could you please explain this expression in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't understand it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 10:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313200#M822953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-31T10:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313201#M822954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;sum(AGGR(if(Count(&lt;STRONG&gt;{&amp;lt;Customer&amp;gt;}&lt;/STRONG&gt;DISTINCT TOTAL &amp;lt;ID&amp;gt; Customer)&amp;gt;1,1,0),Field,Customer,ID))&lt;/SPAN&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;To understand how its working do the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ID as Dimension and below expression to count how many times the ID field is Repeated for different customer&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Customer&amp;gt;}DISTINCT&amp;nbsp; TOTAL&amp;nbsp; Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;{&amp;lt;Customer&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DISTINCT TOTAL &amp;lt;ID&amp;gt; Customer)&amp;gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; gives us the same view by ID field&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 10:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313201#M822954</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-31T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313202#M822955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Vineeth. But I have one more doubt on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume instead of using this expression in charts directly (in run time), I store this expression in the script using SET or LET function in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now could you tell me which method will take loading issues in the front end from below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Writing expressions in the charts directly - first data will be fetched into the model and then the expression will be processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Store those expressions in the script using SET or LET functions - Expressions are processed and will be stored in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please say which method is preferable and also please intimate whether above mentioned 2 points are correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 10:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313202#M822955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-31T10:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313203#M822956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also Vineeth, I need to know whether this expression can be done as a dimension by script wise rather than an expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 12:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/1313203#M822956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-31T12:41:49Z</dc:date>
    </item>
  </channel>
</rss>

