<?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 Creating a table from an Existing Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/994998#M962526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a View from SQL Server database. It has fields like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brand&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the help of above table I need to create a field which will display the Sales range for each Brand (Not Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Table should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brand&lt;/P&gt;&lt;P&gt;Sales Range&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sales Range, my condition would be if the Sum(Sales)&amp;gt;100 for a particular Brand then Sales Range should have the value '&amp;gt;100'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how my Table should look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 297px; height: 101px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Brand&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales Range&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TITAN&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&amp;gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;FASTRACK&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TITAN&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&amp;gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SONATA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NULL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution would be an easy one. But I'm not sure how to do this in Qlikview. Any kind of help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 10:19:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-16T10:19:43Z</dc:date>
    <item>
      <title>Creating a table from an Existing Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/994998#M962526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a View from SQL Server database. It has fields like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brand&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the help of above table I need to create a field which will display the Sales range for each Brand (Not Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Table should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brand&lt;/P&gt;&lt;P&gt;Sales Range&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sales Range, my condition would be if the Sum(Sales)&amp;gt;100 for a particular Brand then Sales Range should have the value '&amp;gt;100'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how my Table should look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 297px; height: 101px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Brand&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales Range&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TITAN&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&amp;gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;FASTRACK&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TITAN&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&amp;gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SONATA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NULL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution would be an easy one. But I'm not sure how to do this in Qlikview. Any kind of help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/994998#M962526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table from an Existing Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/994999#M962527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share some sample data....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/994999#M962527</guid>
      <dc:creator>jsingh71</dc:creator>
      <dc:date>2015-10-16T10:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table from an Existing Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/995000#M962528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try like this at script level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use preceding load to calculate Range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Brand, if(Sales &amp;gt; 100,'&amp;gt;100',Null()) as Range;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Brand, Sum(Sales) as Sale&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From &amp;lt;SQL_View_Table&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Brand;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then join with original table like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Left Join(&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;lt;SQL_View_Table&amp;gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to do the same at UI, then try with calculated dimention by using Aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-table-from-an-Existing-Table/m-p/995000#M962528</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2015-10-16T10:41:53Z</dc:date>
    </item>
  </channel>
</rss>

