<?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: Creating a field value from multiples values in a dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981957#M81035</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198364"&gt;@ishafate&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You could also map the category in your table with a mapping table.&lt;BR /&gt;This table you can enrich in the future if you want to add more categories.&lt;/P&gt;
&lt;P&gt;MapFruitCategory:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt;Fruit, Category&lt;BR /&gt;Red grape, Red fruits&lt;BR /&gt;Red apple, Red fruits&lt;BR /&gt;];&lt;BR /&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*, ApplyMap('MapFruitCategory', Fruit, Fruit)&amp;nbsp; &amp;nbsp; &amp;nbsp;AS Category&lt;BR /&gt;;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Fruit, Quantity&lt;BR /&gt;Red grape, 10&lt;BR /&gt;Red apple, 15&lt;BR /&gt;Pineapple, 10&lt;BR /&gt;Banana, 15&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Ruben&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:09:51 GMT</pubDate>
    <dc:creator>Ruhulessin</dc:creator>
    <dc:date>2022-09-16T12:09:51Z</dc:date>
    <item>
      <title>Creating a field value from multiples values in a dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981910#M81028</link>
      <description>&lt;P&gt;Hi all&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dimension called 'Fruits' and measure 'quantity'&lt;/P&gt;
&lt;P&gt;In that I have list of fruit names and i am counting the quantity&lt;/P&gt;
&lt;P&gt;Red Grape. 10&lt;/P&gt;
&lt;P&gt;Red apple, 15&lt;/P&gt;
&lt;P&gt;pineapple 10&lt;/P&gt;
&lt;P&gt;banana 15&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;What I want to do is to have a red fruits as a category and show the rest of the fruits as individual and then use measure 'quantity' to count them&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thats:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Red fruits 25&lt;/P&gt;
&lt;P&gt;Pineapple 10&lt;/P&gt;
&lt;P&gt;Banana&amp;nbsp; 15&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would I do this in Qlik?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981910#M81028</guid>
      <dc:creator>ishafate</dc:creator>
      <dc:date>2022-09-16T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a field value from multiples values in a dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981917#M81029</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198364"&gt;@ishafate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Above example a simple IF statement would work.&lt;/P&gt;
&lt;P&gt;In Script&lt;/P&gt;
&lt;P&gt;If(Left(&lt;SPAN&gt;Fruits,3) = 'Red',&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'Red Fruits',&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Fruits&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;)&amp;nbsp; as&amp;nbsp;Fruits.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981917#M81029</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2022-09-16T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a field value from multiples values in a dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981946#M81033</link>
      <description>&lt;P&gt;dimension&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if( wildMatch(upper(FieldName,)*RED*')&amp;gt;0,'RED','Individual') as NewDimesion&amp;nbsp; &amp;nbsp;// in Script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use New DImension in&amp;nbsp; Chart or Table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and expression&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( FruitQuantity)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981946#M81033</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2022-09-16T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a field value from multiples values in a dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981957#M81035</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198364"&gt;@ishafate&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You could also map the category in your table with a mapping table.&lt;BR /&gt;This table you can enrich in the future if you want to add more categories.&lt;/P&gt;
&lt;P&gt;MapFruitCategory:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt;Fruit, Category&lt;BR /&gt;Red grape, Red fruits&lt;BR /&gt;Red apple, Red fruits&lt;BR /&gt;];&lt;BR /&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*, ApplyMap('MapFruitCategory', Fruit, Fruit)&amp;nbsp; &amp;nbsp; &amp;nbsp;AS Category&lt;BR /&gt;;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Fruit, Quantity&lt;BR /&gt;Red grape, 10&lt;BR /&gt;Red apple, 15&lt;BR /&gt;Pineapple, 10&lt;BR /&gt;Banana, 15&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Ruben&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981957#M81035</guid>
      <dc:creator>Ruhulessin</dc:creator>
      <dc:date>2022-09-16T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a field value from multiples values in a dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981963#M81036</link>
      <description>&lt;P&gt;Hi, Try this , you will get your desired Output&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Temp:
load Fruit_1, sum(Qty) as Qty Group By Fruit_1;
load *, if(wildMatch(Fruit,'Red*'),'Red Fruits',Fruit) as Fruit_1;

load * Inline [
Fruit, Qty
Red Apple, 10
Red Grapes, 15
Banana, 20
Pineapple,15
];
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-field-value-from-multiples-values-in-a-dimension/m-p/1981963#M81036</guid>
      <dc:creator>Chintam</dc:creator>
      <dc:date>2022-09-16T12:34:43Z</dc:date>
    </item>
  </channel>
</rss>

