<?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 values in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642473#M730975</link>
    <description>&lt;P&gt;Hi! Just paste the expression provided by StarinieriG as a calculated dimension (not as expression).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 09:55:58 GMT</pubDate>
    <dc:creator>jaibau1993</dc:creator>
    <dc:date>2019-11-04T09:55:58Z</dc:date>
    <item>
      <title>Grouping values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642432#M730972</link>
      <description>&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;I would like some help with grouping four values from one dimension into two groups so that I can perform some analysis on them.&lt;/P&gt;&lt;P&gt;I have a field named 'fielfOfStudy' and it contains 4 different values, 'Science', 'Physics', 'English' and 'Social studies'.&lt;/P&gt;&lt;P&gt;I would like to create two groups, one that contain Science and Physics and one that contains the other two.&lt;/P&gt;&lt;P&gt;I've been messing around with the Aggr function but I can't quite find a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To give some context. I'm building a bar&amp;nbsp; chart that shows the % split between the two groups that I'm trying to build. I have the code down on that 100 % bar chart but I don't know how to group the values.&lt;/P&gt;&lt;P&gt;Any help is appreciated&lt;/P&gt;&lt;P&gt;Casper&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642432#M730972</guid>
      <dc:creator>CanOls</dc:creator>
      <dc:date>2024-11-16T19:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642439#M730973</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;try with this expression&lt;/P&gt;&lt;P&gt;=Aggr(If(Match(fielfOfStudy,'Science','Physics')&amp;gt;0,'Group 1','Group 2'),fielfOfStudy)&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 08:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642439#M730973</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-11-04T08:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642469#M730974</link>
      <description>&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution looks promising but I don't know how to implement it.&lt;/P&gt;&lt;P&gt;This is what I had beforehand. This creates a bar chart where each field's percentage split is show out of a hundred. Can you give me a hint as how to implement your solution in my expression so that I can perform it by the group basis?&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;= sum ( {&amp;lt;&lt;BR /&gt;&amp;nbsp; fieldOfStudy = {[Science] , [Physics] , [Englsh] , [Social studies] }&amp;nbsp; &amp;gt;} [studyData])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;sum ( Total &amp;lt;Year&amp;gt;&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&amp;nbsp; {&amp;lt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&amp;nbsp; &lt;FONT&gt;fieldOfStudy = {[Science] , [Physics] , [Englsh] , [Social studies] }&amp;nbsp; &amp;gt;} [studyData])&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;Any help is appreciated&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;Casper&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 09:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642469#M730974</guid>
      <dc:creator>CanOls</dc:creator>
      <dc:date>2019-11-04T09:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642473#M730975</link>
      <description>&lt;P&gt;Hi! Just paste the expression provided by StarinieriG as a calculated dimension (not as expression).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 09:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642473#M730975</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-11-04T09:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642503#M730976</link>
      <description>&lt;P&gt;That did the trick.&lt;/P&gt;&lt;P&gt;I appreciate that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 11:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-values-in-expression/m-p/1642503#M730976</guid>
      <dc:creator>CanOls</dc:creator>
      <dc:date>2019-11-04T11:38:53Z</dc:date>
    </item>
  </channel>
</rss>

