<?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 Grouping/Aggregating based on variance % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521346#M599265</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a table with 3 columns like below (CRM, Brand as measures and Var as%)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample.PNG" style="width: 246px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2260i16305F749E989ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample.PNG" alt="Sample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to group this into a table which counts the unique CRM ID's and groups them by Brand based on their variance&lt;/P&gt;&lt;P&gt;Below is a sample of that (it does not have the exact figures in there, these are just a guide)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample2.PNG" style="width: 712px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2261i629B50F54B2D701C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample2.PNG" alt="Sample2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we do this with a QlikView load scipt?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the XLS data as an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:57:14 GMT</pubDate>
    <dc:creator>m_monfort</dc:creator>
    <dc:date>2024-11-16T04:57:14Z</dc:date>
    <item>
      <title>Grouping/Aggregating based on variance %</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521346#M599265</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a table with 3 columns like below (CRM, Brand as measures and Var as%)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample.PNG" style="width: 246px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2260i16305F749E989ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample.PNG" alt="Sample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to group this into a table which counts the unique CRM ID's and groups them by Brand based on their variance&lt;/P&gt;&lt;P&gt;Below is a sample of that (it does not have the exact figures in there, these are just a guide)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample2.PNG" style="width: 712px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2261i629B50F54B2D701C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample2.PNG" alt="Sample2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we do this with a QlikView load scipt?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the XLS data as an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521346#M599265</guid>
      <dc:creator>m_monfort</dc:creator>
      <dc:date>2024-11-16T04:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping/Aggregating based on variance %</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521366#M599266</link>
      <description>&lt;P&gt;Hi, there&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;[Sheet1]:&lt;BR /&gt;LOAD [CRM ID],&lt;BR /&gt;[Brand],&lt;BR /&gt;[Bgt Var %],&lt;BR /&gt;if([Bgt Var %] &amp;lt;-0.2, '&amp;lt;-20%',if([Bgt Var %]&amp;gt;=-0.2 and [Bgt Var %]&amp;lt; -0.1,'-20% to -10%','-10% to 0')) as "Bgt Var% Range"&lt;BR /&gt;FROM [lib://AttachedFiles/Sample.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then in pivot table, drag the new column and brand as dimension, count(distinct [CRM ID]) &amp;nbsp;as measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 750px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2264iDBBA17883A9E17BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ZZ&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 04:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521366#M599266</guid>
      <dc:creator>zzyjordan</dc:creator>
      <dc:date>2018-12-17T04:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping/Aggregating based on variance %</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521905#M599267</link>
      <description>&lt;P&gt;Thanks very much! that works fine&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 05:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521905#M599267</guid>
      <dc:creator>m_monfort</dc:creator>
      <dc:date>2018-12-18T05:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping/Aggregating based on variance %</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521919#M599268</link>
      <description>You are welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;ZZ</description>
      <pubDate>Tue, 18 Dec 2018 06:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Aggregating-based-on-variance/m-p/1521919#M599268</guid>
      <dc:creator>zzyjordan</dc:creator>
      <dc:date>2018-12-18T06:23:44Z</dc:date>
    </item>
  </channel>
</rss>

