<?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: Grouping of Column values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949709#M975202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I couldnt upload the file here,so I created another thread Called grouping filed values.Can you please look into it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 15:24:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-01T15:24:58Z</dc:date>
    <item>
      <title>Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949703#M975196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have a column called States.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;STATES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; GA&lt;/P&gt;&lt;P&gt;MI&lt;/P&gt;&lt;P&gt;SFO,SAN,WD,MI&lt;/P&gt;&lt;P&gt;MD;SAN&lt;/P&gt;&lt;P&gt;FL&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Note:I have , and ; and space within the values.&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SFO,SAN,WD,MI has ',' in between where as &lt;SPAN style="font-size: 13.3333330154419px;"&gt;MD;SAN has ';' in between and also &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;before GA there is a space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can I group this column values as below.SFO and SAN should fall under CAL.So,here new row called CAL gets created for SFO and SAN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;STATES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GA&lt;/P&gt;&lt;P&gt;MI&lt;/P&gt;&lt;P&gt;WD&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;P&gt;FL&lt;/P&gt;&lt;P&gt;CAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 13:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949703#M975196</guid>
      <dc:creator />
      <dc:date>2015-09-01T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949704#M975197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;per your example &lt;/P&gt;&lt;P&gt;you can use this script &lt;/P&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;&lt;P&gt;/////////////replacing value for sfo and san////////////////&lt;/P&gt;&lt;P&gt;load if(match(STATES,'SFO','SAN')&amp;gt;0,'CAL',STATES) AS STATES;&lt;/P&gt;&lt;P&gt;/////////////creating one value from raw data/////////////&lt;/P&gt;&lt;P&gt;load subfield(replace(trim(STATES),';',','),',') AS STATES;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SFO,SAN,WD,MI"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MD;SAN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FL&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 13:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949704#M975197</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-09-01T13:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949705#M975198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.Here I am losing all&amp;nbsp; other dimensions once I reload the script.STATES is displaying exactly how I want.&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;load if(match(STATES,'SFO','SAN')&amp;gt;0,'CAL',STATES)&amp;nbsp; AS STATES;&lt;/SPAN&gt;&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; line-height: 1.5em;"&gt;load subfield(replace(trim(STATES),';',','),',') AS STATES;&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; line-height: 1.5em;"&gt;Can I combine these 2 script something like below ?&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; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;load if(match(STATES,'SFO','SAN')&amp;gt;0,'CAL',STATES)&amp;nbsp;&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;subfield(replace(trim(STATES),';',','),',') &lt;/SPAN&gt;AS STATES;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 13:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949705#M975198</guid>
      <dc:creator />
      <dc:date>2015-09-01T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949706#M975199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map11:&lt;/P&gt;&lt;P&gt;Mapping load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;from ,to&lt;/P&gt;&lt;P&gt;SFO,CAL&lt;/P&gt;&lt;P&gt;SAN,CAL&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaaa:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&amp;nbsp; Distinct subfield(MapSubString('map11',replace(trim(STATES),';',',')),',') AS STATES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SFO,SAN,WD,MI"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MD;SAN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 14:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949706#M975199</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-01T14:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949707#M975200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same thing here too.This is removing all other dimensions.Only I see is STATES dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 14:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949707#M975200</guid>
      <dc:creator />
      <dc:date>2015-09-01T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949708#M975201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you pl post a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 14:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949708#M975201</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-01T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping of Column values</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949709#M975202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I couldnt upload the file here,so I created another thread Called grouping filed values.Can you please look into it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 15:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-of-Column-values/m-p/949709#M975202</guid>
      <dc:creator />
      <dc:date>2015-09-01T15:24:58Z</dc:date>
    </item>
  </channel>
</rss>

