<?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 How to get Distinct Values in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263013#M846605</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;Can Some one help me with my Question below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Multiple Rows in table Box like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProjectID&amp;nbsp; [Total Service Credit Balance in Hours] as Field Names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project 1-- 280 Hours&lt;/P&gt;&lt;P&gt;project 1&amp;nbsp; -280 hours&lt;/P&gt;&lt;P&gt;Project 1--280 Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project 2--156 Hours&lt;/P&gt;&lt;P&gt;Project 2 --156 Hours&lt;/P&gt;&lt;P&gt;Project 2--156 Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to value of both projects as 436 so i tried to write like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(AGGR(SUM(DISTINCT [Total Service Credit Balance in Hours]),[Project ID])) in Chart Properties expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it works when i select for single project ID in filters , and if i remove filter i am not getting any values in my Chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me here , Please Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;HK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dunnalahk123</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to get Distinct Values in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263013#M846605</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;Can Some one help me with my Question below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Multiple Rows in table Box like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProjectID&amp;nbsp; [Total Service Credit Balance in Hours] as Field Names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project 1-- 280 Hours&lt;/P&gt;&lt;P&gt;project 1&amp;nbsp; -280 hours&lt;/P&gt;&lt;P&gt;Project 1--280 Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project 2--156 Hours&lt;/P&gt;&lt;P&gt;Project 2 --156 Hours&lt;/P&gt;&lt;P&gt;Project 2--156 Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to value of both projects as 436 so i tried to write like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(AGGR(SUM(DISTINCT [Total Service Credit Balance in Hours]),[Project ID])) in Chart Properties expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it works when i select for single project ID in filters , and if i remove filter i am not getting any values in my Chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me here , Please Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;HK&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/How-to-get-Distinct-Values-in-Chart/m-p/1263013#M846605</guid>
      <dc:creator>dunnalahk123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Distinct Values in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263014#M846606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be Aggr inside sum. Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AGGR&lt;/SPAN&gt;([Total Service Credit Balance in Hours],[Project ID]))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 21:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263014#M846606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-22T21:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Distinct Values in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263015#M846607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you have an issue with the data-quality and you should solve them first before trying to bypass them with complex expressions. In your case seems a data-cleaning within the script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;upper(trim(replace(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project ID]&lt;/SPAN&gt;, '--', '-'))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project ID]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe a mapping-solution for this suitable: &lt;A href="https://community.qlik.com/qlik-blogpost/3497"&gt;Mapping … and not the geographical kind&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 08:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263015#M846607</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-23T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Distinct Values in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263016#M846608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works Fine for me?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157594_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;As Marcus says, may be&amp;nbsp; you have data quality issues in your Data Model? Pl share a sample so that we can better understand your problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Mar 2017 17:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Distinct-Values-in-Chart/m-p/1263016#M846608</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-25T17:58:09Z</dc:date>
    </item>
  </channel>
</rss>

