<?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: Categorizing Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516446#M457401</link>
    <description>&lt;P&gt;still getting error.&amp;nbsp; Unfortunately I do not have access to add any tables. I only have access to the front end so that I can build and edit tables and charts.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 18:56:25 GMT</pubDate>
    <dc:creator>kdsonntag</dc:creator>
    <dc:date>2018-12-04T18:56:25Z</dc:date>
    <item>
      <title>Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516439#M457399</link>
      <description>&lt;P&gt;I am working to develop a pie chart and need to categorize or group text data and change the labels for the chart.&lt;/P&gt;&lt;P&gt;The data is as below&lt;/P&gt;&lt;P&gt;Zip Codes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Needs to be displayed as&lt;/P&gt;&lt;P&gt;99999&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;On Street&lt;/P&gt;&lt;P&gt;77777&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Shelter&lt;/P&gt;&lt;P&gt;66666&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Shelter&lt;/P&gt;&lt;P&gt;all others&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not Homeless&lt;/P&gt;&lt;P&gt;Dimension:??????&lt;/P&gt;&lt;P&gt;Expr: count(DISTINCT [Client ID])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should return a pie chart with three sections: On Street,&amp;nbsp;Shelter, Not Homeless&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried this dimension, getting error:&lt;/P&gt;&lt;P&gt;=Aggr(If(Client.ZipCode NE=99999, 'On Street',&lt;BR /&gt;if(client.zipcode ne= 66666 or 77777, 'Shelter', 'Not Homeless')))&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516439#M457399</guid>
      <dc:creator>kdsonntag</dc:creator>
      <dc:date>2018-12-04T18:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516443#M457400</link>
      <description>&lt;P&gt;You should do this in the script and use a mapping table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need to do it in the chart though you can use an IF statement in the dimension&lt;/P&gt;&lt;P&gt;=if([Zip Codes] = '99999','Homeless',&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;if([Zip Codes] = '77777', or [Zip Codes] = '66666','Shelter',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'Not Homeless'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516443#M457400</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-12-04T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516446#M457401</link>
      <description>&lt;P&gt;still getting error.&amp;nbsp; Unfortunately I do not have access to add any tables. I only have access to the front end so that I can build and edit tables and charts.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516446#M457401</guid>
      <dc:creator>kdsonntag</dc:creator>
      <dc:date>2018-12-04T18:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516454#M457402</link>
      <description>&lt;P&gt;Here is a sample..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516454#M457402</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-12-04T19:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516464#M457403</link>
      <description>&lt;P&gt;Sorry, I can't open this file. I only have access to the end-user web-based interface provided by a 3rd party vendor. I cannot open qlik files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516464#M457403</guid>
      <dc:creator>kdsonntag</dc:creator>
      <dc:date>2018-12-04T19:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Categorizing Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516467#M457404</link>
      <description>&lt;P&gt;OK, well this is what i have done..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;=If([Zip Codes]='99999', 'On Street',&lt;BR /&gt;if([Zip Codes]='77777' or [Zip Codes]='66666', 'Shelter',&lt;BR /&gt;'Not Homeless'&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;count(DISTINCT [Client ID])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;obviously you have to change the field names&amp;nbsp;to match yours.&lt;/P&gt;&lt;P&gt;But the above works for me as you can see..&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-inline" image-alt="Capture.JPG" style="width: 467px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1601i22A6296E948FD026/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorizing-Fields/m-p/1516467#M457404</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-12-04T19:51:32Z</dc:date>
    </item>
  </channel>
</rss>

