<?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 Splitting data into 3 groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648833#M475662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a problem I can't seem to think my way around:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a dataset of trucks with&amp;nbsp; certain profits, costs and margins.&lt;/P&gt;&lt;P&gt;To analyse these trucks, i will need to split them up into 3 groups:&lt;/P&gt;&lt;P&gt;- Best Trucks ( above&amp;nbsp; +10%&amp;nbsp; of average margin)&lt;/P&gt;&lt;P&gt;- Average Trucks (between +10% and -10% of average margin)&lt;/P&gt;&lt;P&gt;- Not so good Trucks. (below -10% of average margin)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to create a field that when i click on 'average', the set with margin between +10% and -10% is filtered (on the same way as when you select a specific month in the dataset).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I figured i would have to use avg(TOTAL Margin), but i don't know how to make a field using the statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be awesome if you can help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 07:43:53 GMT</pubDate>
    <dc:creator>dickelsa</dc:creator>
    <dc:date>2014-07-10T07:43:53Z</dc:date>
    <item>
      <title>Splitting data into 3 groups</title>
      <link>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648833#M475662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a problem I can't seem to think my way around:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a dataset of trucks with&amp;nbsp; certain profits, costs and margins.&lt;/P&gt;&lt;P&gt;To analyse these trucks, i will need to split them up into 3 groups:&lt;/P&gt;&lt;P&gt;- Best Trucks ( above&amp;nbsp; +10%&amp;nbsp; of average margin)&lt;/P&gt;&lt;P&gt;- Average Trucks (between +10% and -10% of average margin)&lt;/P&gt;&lt;P&gt;- Not so good Trucks. (below -10% of average margin)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to create a field that when i click on 'average', the set with margin between +10% and -10% is filtered (on the same way as when you select a specific month in the dataset).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I figured i would have to use avg(TOTAL Margin), but i don't know how to make a field using the statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be awesome if you can help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 07:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648833#M475662</guid>
      <dc:creator>dickelsa</dc:creator>
      <dc:date>2014-07-10T07:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting data into 3 groups</title>
      <link>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648834#M475663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the avg margin in script itself using resident load&lt;/P&gt;&lt;P&gt;Create an avg at truck level with group by using another resident load&lt;/P&gt;&lt;P&gt;now join the 2nd to the first and create a flag ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide sample data to work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 08:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648834#M475663</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-10T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting data into 3 groups</title>
      <link>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648835#M475664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it, but you cannot use the 'total'statement in the script.&lt;/P&gt;&lt;P&gt;see attached files in original message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that 'Omzet' = Profit, 'Kosten'=Costs and 'BrutoMarge'= Margin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 08:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Splitting-data-into-3-groups/m-p/648835#M475664</guid>
      <dc:creator>dickelsa</dc:creator>
      <dc:date>2014-07-10T08:18:04Z</dc:date>
    </item>
  </channel>
</rss>

