<?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 Count total of 1s, 2s, 3s, 4s, and 5s in single expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933803#M467048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count survey results to display them in a pie chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the number of 1s, 2s, 3s, 4s, and 5s in the field [Type of PII] in one expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to do it in multiple expressions but this will not allow me to show the values on the pie chart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you know the syntax to make this work in 1 expression.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 17:50:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-15T17:50:50Z</dc:date>
    <item>
      <title>Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933803#M467048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count survey results to display them in a pie chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the number of 1s, 2s, 3s, 4s, and 5s in the field [Type of PII] in one expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to do it in multiple expressions but this will not allow me to show the values on the pie chart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you know the syntax to make this work in 1 expression.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933803#M467048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T17:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933804#M467049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Type of PII] = {'1s','2s','3s','4s','5s'}&lt;/SPAN&gt;&amp;gt;} [Type of PII])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933804#M467049</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-15T18:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933805#M467050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you set [Type of PII] as your dimension and then count([Type of PII]) as the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933805#M467050</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-12-15T18:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933806#M467051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thank you for the response.&amp;nbsp; This did not work unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933806#M467051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T18:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933807#M467052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933807#M467052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T18:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933808#M467053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to change the values in the legend.&amp;nbsp; That is, if I want "1" to represent some sort of text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933808#M467053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933809#M467054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use a calculated dimension like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Type of PII],&lt;/SPAN&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;Text1,&lt;/SPAN&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;Text2,&lt;/SPAN&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;Text3,&lt;/SPAN&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;Text4,&lt;/SPAN&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;Text5&lt;/SPAN&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;)&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Would be even better to map the values in the load script. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933809#M467054</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-15T18:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933810#M467055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a dual functionto hold both numeric and text data in the same field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikviewaddict.com/2012/12/the-qlikview-dual-function.html" title="http://www.qlikviewaddict.com/2012/12/the-qlikview-dual-function.html"&gt;QlikView Addict: QlikView Functions: dual()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933810#M467055</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-12-15T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933811#M467056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script.&amp;nbsp; How would I rename multiple values in a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 1 = General, 2 = private in field 'Type of PII'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933811#M467056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T18:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count total of 1s, 2s, 3s, 4s, and 5s in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933812#M467057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are multiple options. You can use a MAPPING table and ApplyMap() function or with few value to map maybe just like&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; [Type of PII],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Pick( &lt;SPAN style="font-size: 13.3333px;"&gt;[Type of PII]&lt;/SPAN&gt; , 'General','private'), &lt;SPAN style="font-size: 13.3333px;"&gt;[Type of PII]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; ) as &lt;SPAN style="font-size: 13.3333px;"&gt;[Type of PII Text],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM ...;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 19:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-of-1s-2s-3s-4s-and-5s-in-single-expression/m-p/933812#M467057</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-15T19:24:59Z</dc:date>
    </item>
  </channel>
</rss>

