<?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 Regrouping Dimension values using ApplyMap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1523321#M508627</link>
    <description>&lt;P&gt;Hi Qlikview enthusiasts,&lt;/P&gt;&lt;P&gt;Just a quick question on how to regroup dimension values in a field to new values, using the ApplyMap() function and saved it as a new variable. I have re-loaded the script and unfortunately the variable does not show what I want:&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="1.PNG" style="width: 381px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2529i646829AFF9706FC2/image-dimensions/381x235?v=v2" width="381" height="235" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the following Tiers on the left to be regrouped into the ones on the right, done using the ApplyMap() function. In QV, currently my newly created dimension does not function as I want it to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="new created dim.PNG" style="width: 319px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2528i0AC9ED8A23CA8CAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="new created dim.PNG" alt="new created dim.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that I can do it by nesting multiple IF() statements in the load script but I want to avoid that. Please help, thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:54:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:54:48Z</dc:date>
    <item>
      <title>Regrouping Dimension values using ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1523321#M508627</link>
      <description>&lt;P&gt;Hi Qlikview enthusiasts,&lt;/P&gt;&lt;P&gt;Just a quick question on how to regroup dimension values in a field to new values, using the ApplyMap() function and saved it as a new variable. I have re-loaded the script and unfortunately the variable does not show what I want:&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="1.PNG" style="width: 381px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2529i646829AFF9706FC2/image-dimensions/381x235?v=v2" width="381" height="235" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the following Tiers on the left to be regrouped into the ones on the right, done using the ApplyMap() function. In QV, currently my newly created dimension does not function as I want it to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="new created dim.PNG" style="width: 319px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2528i0AC9ED8A23CA8CAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="new created dim.PNG" alt="new created dim.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that I can do it by nesting multiple IF() statements in the load script but I want to avoid that. Please help, thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1523321#M508627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regrouping Dimension values using ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1523345#M508628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At the beginig you can map your groups and insert them with ApplyMap function as:&lt;/P&gt;&lt;PRE&gt;Map_Group:
Mapping Load * Inline [Tier ,Group
Less than $5K	,Less than $200K
$5KM -&amp;lt; $10K	,Less than $200K
$10K -&amp;lt; $30K	,Less than $200K
$30K -&amp;lt; $200K	,Less than $200K
$200K -&amp;lt; $500K	,$200K -&amp;lt; $500K
$500K		,$200K -&amp;lt; $500K
$500K -&amp;lt; $800K	,$500K -&amp;lt; $1M
$800K -&amp;lt; $1M	,$500K -&amp;lt; $1M
$1M -&amp;lt; $3M	,$1M -&amp;lt; $3M
$3M -&amp;lt; $5M	,$3M -&amp;lt; $5M
$5M -&amp;lt; $8M	,$5M -&amp;lt; $6M
$8M -&amp;lt; $278M	,&amp;gt;$8M
$278M or above	,&amp;gt;$8M
];

Data: Load *, ApplyMap('Map_Group',Tier,'N/A') as Group From ...;&lt;/PRE&gt;&lt;P&gt;This is running right for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ag+&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 07:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1523345#M508628</guid>
      <dc:creator>albert_guito</dc:creator>
      <dc:date>2018-12-21T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regrouping Dimension values using ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1524178#M508629</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Does this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Data: Load *, ApplyMap('Map_Group',Tier,'N/A') as Group From ...;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;represent the code that I load my table with? and then place the ApplyMap code before that part of the script?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 01:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1524178#M508629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-27T01:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regrouping Dimension values using ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1524181#M508630</link>
      <description>If data tables has group field, yes the condition will satisfy..</description>
      <pubDate>Thu, 27 Dec 2018 01:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regrouping-Dimension-values-using-ApplyMap/m-p/1524181#M508630</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-12-27T01:26:01Z</dc:date>
    </item>
  </channel>
</rss>

