<?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 Chart count substring in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-count-substring/m-p/1566449#M441783</link>
    <description>&lt;P&gt;I have a data set that includes a pay code.&amp;nbsp; Each entry can have more than one pay code.&amp;nbsp; I want to display a count of all pay codes.&amp;nbsp; But I don't want to create a sub string in the load statement because I don't want a new row created for each instance when the data encounters a record with multiple pay codes.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="rowcount.PNG" style="width: 75px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9696i9865E0F32E997627/image-size/large?v=v2&amp;amp;px=999" role="button" title="rowcount.PNG" alt="rowcount.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="countchart.PNG" style="width: 538px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9697i70170790D8F0DF86/image-size/large?v=v2&amp;amp;px=999" role="button" title="countchart.PNG" alt="countchart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried creating a calculated dimension where&amp;nbsp;=SubField(TCF_LINE_PAY_WEB_CODE, ', ') and then doing an expression&amp;nbsp;Count({&amp;lt;METRIC_VALUE={'TCF'}&amp;gt;}Distinct INTEGRATION_ID). But when I select certain pay codes they don't align. For example, If I click pay code 4 in the chart, pay code 12 is displayed on the pie chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 13:50:44 GMT</pubDate>
    <dc:creator>justcotto</dc:creator>
    <dc:date>2019-04-08T13:50:44Z</dc:date>
    <item>
      <title>Chart count substring</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-count-substring/m-p/1566449#M441783</link>
      <description>&lt;P&gt;I have a data set that includes a pay code.&amp;nbsp; Each entry can have more than one pay code.&amp;nbsp; I want to display a count of all pay codes.&amp;nbsp; But I don't want to create a sub string in the load statement because I don't want a new row created for each instance when the data encounters a record with multiple pay codes.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="rowcount.PNG" style="width: 75px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9696i9865E0F32E997627/image-size/large?v=v2&amp;amp;px=999" role="button" title="rowcount.PNG" alt="rowcount.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="countchart.PNG" style="width: 538px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9697i70170790D8F0DF86/image-size/large?v=v2&amp;amp;px=999" role="button" title="countchart.PNG" alt="countchart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried creating a calculated dimension where&amp;nbsp;=SubField(TCF_LINE_PAY_WEB_CODE, ', ') and then doing an expression&amp;nbsp;Count({&amp;lt;METRIC_VALUE={'TCF'}&amp;gt;}Distinct INTEGRATION_ID). But when I select certain pay codes they don't align. For example, If I click pay code 4 in the chart, pay code 12 is displayed on the pie chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 13:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-count-substring/m-p/1566449#M441783</guid>
      <dc:creator>justcotto</dc:creator>
      <dc:date>2019-04-08T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Chart count substring</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-count-substring/m-p/1566462#M441784</link>
      <description>Why not move the TCF_LINE_PAY_WEB_CODE as a separate table and do the subfield in script?&lt;BR /&gt;so no duplicate rows of the main table occur</description>
      <pubDate>Mon, 08 Apr 2019 14:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-count-substring/m-p/1566462#M441784</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-08T14:16:57Z</dc:date>
    </item>
  </channel>
</rss>

