<?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 combine values as one column? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729969#M1061525</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;I have two column in excel. CustomerId, Customername, CustomerStatus and Owner. I created a pivot table with these columns. All I need is count of CustomerId when CustomerStatus= Fail1 ,Pass1 and column name as App&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count of CustomerId when CustomerStatus= Fail2,Promote and column name as Rej&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anyone help me how to do this. I used Mix match in script. But it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 09:48:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-18T09:48:20Z</dc:date>
    <item>
      <title>How to combine values as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729969#M1061525</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;I have two column in excel. CustomerId, Customername, CustomerStatus and Owner. I created a pivot table with these columns. All I need is count of CustomerId when CustomerStatus= Fail1 ,Pass1 and column name as App&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count of CustomerId when CustomerStatus= Fail2,Promote and column name as Rej&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anyone help me how to do this. I used Mix match in script. But it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 09:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729969#M1061525</guid>
      <dc:creator />
      <dc:date>2014-09-18T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values in as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729970#M1061526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 09:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729970#M1061526</guid>
      <dc:creator />
      <dc:date>2014-09-18T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values in as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729971#M1061527</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load CustomerId, Count(CustomerId) as App From Tablename Where&lt;/P&gt;&lt;P&gt;WildMatch(CustomerStatus,'Fail1' ,'Pass1') Group by CustomerId;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load CustomerId, Count(CustomerId) as Rej From Tablename Where WildMatch(CustomerStatus,'Fail2' ,'Promote') Group by CustomerId;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 09:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729971#M1061527</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-09-18T09:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729972#M1061528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of below two in Script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MixMatch(CustomerStatus,'Fail1','Pass1'),CustomerStatus)&amp;nbsp; as App,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MixMatch(CustomerStatus,'Fail2','Promote'),CustomerStatus) as Rej, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use a single expression as&lt;/P&gt;&lt;P&gt;If(MixMatch(CustomerStatus,'Fail1','Pass1'),'App', 'Rej') as Flag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Remove App and Rej from the Pivot table and Use Flag instead...&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 10:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729972#M1061528</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-18T10:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729973#M1061529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. for two values it is working. how can I change this script if I have more than two values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I,e actually I have in data as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fail1&lt;/P&gt;&lt;P&gt;Fail2&lt;/P&gt;&lt;P&gt;Pass1&lt;/P&gt;&lt;P&gt;Promote&lt;/P&gt;&lt;P&gt;Promote1&lt;/P&gt;&lt;P&gt;Promote2&lt;/P&gt;&lt;P&gt;Promote3&lt;/P&gt;&lt;P&gt;Promote4&lt;/P&gt;&lt;P&gt;Promote5&lt;/P&gt;&lt;P&gt;Promote6464&lt;/P&gt;&lt;P&gt;Promote56456&lt;/P&gt;&lt;P&gt;Promote23&lt;/P&gt;&lt;P&gt;Promote24&lt;/P&gt;&lt;P&gt;Stamp&lt;/P&gt;&lt;P&gt;Stamp1&lt;/P&gt;&lt;P&gt;Stamp2&lt;/P&gt;&lt;P&gt;Stamp34&lt;/P&gt;&lt;P&gt;Stamp56&lt;/P&gt;&lt;P&gt;Stamp12&lt;/P&gt;&lt;P&gt;Stamp34&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want &lt;/P&gt;&lt;P&gt;Fail1&lt;/P&gt;&lt;P&gt;Fail2&lt;/P&gt;&lt;P&gt;Pass1&lt;/P&gt;&lt;P&gt;Promote&lt;/P&gt;&lt;P&gt;Promote1&lt;/P&gt;&lt;P&gt;Promote2&lt;/P&gt;&lt;P&gt;Promote3&lt;/P&gt;&lt;P&gt;Promote4&lt;/P&gt;&lt;P&gt;Stamp2&lt;/P&gt;&lt;P&gt;Stamp34&amp;nbsp;&amp;nbsp; as one group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Promote5&lt;/P&gt;&lt;P&gt;Promote23&amp;nbsp;&amp;nbsp; as second group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Promote6464&lt;/P&gt;&lt;P&gt;Promote56456&lt;/P&gt;&lt;P&gt;Stamp34&lt;/P&gt;&lt;P&gt;Stamp56&lt;/P&gt;&lt;P&gt;Stamp12&lt;/P&gt;&lt;P&gt;Stamp34&lt;/P&gt;&lt;P&gt;Promote24&amp;nbsp;&amp;nbsp; as other group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to change this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 10:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729973#M1061529</guid>
      <dc:creator />
      <dc:date>2014-09-18T10:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729974#M1061530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Nested If function...&lt;/P&gt;&lt;P&gt;IF(Match(YourFieldName,'Fail1','Fail2','Pass1','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Promote' etc etc....&lt;/SPAN&gt;.....),'Name1',&lt;/P&gt;&lt;P&gt;IF(Match(YourFieldName,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Promote5','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Promote23'), 'Name2'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Name3')) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;UPDATE: FULL CODE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF(Match(FieldName,'Promote5','Promote23'), 'Name3',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Match(FieldName,'Promote6464','Promote56456','Stamp34','Stamp56','Stamp12','Stamp34','Promote24'),'Name2', 'Name1')) as Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 10:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729974#M1061530</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-18T10:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine values as one column?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729975#M1061531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 10:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-values-as-one-column/m-p/729975#M1061531</guid>
      <dc:creator />
      <dc:date>2014-09-18T10:38:05Z</dc:date>
    </item>
  </channel>
</rss>

