<?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 Case 931 How to make my table model look nice ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744274#M591029</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have below Table model :-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulyeo11_0-1600256294149.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40647i1ABD653F9489A2DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulyeo11_0-1600256294149.png" alt="paulyeo11_0-1600256294149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Question is how to make the 3 Box combine into one Box. So that it look very neat and nice.&lt;/P&gt;&lt;P&gt;Below is the script :-&lt;/P&gt;&lt;P&gt;// Step 1 Create Raw Data&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer/Vendor, Customer Name, Email, E-Mail&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg, sales@supercom.com.sg&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg,&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg,&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg, kimhong.chong@gvt.com.sg&lt;BR /&gt;CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;// Step 2 Remove input table and Create Tmp Table and rename email field to email list. remove repeated email address.&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;load [Customer/Vendor], [Customer Name], Email as [E-Mail List] resident Input ;&lt;BR /&gt;concatenate load [Customer/Vendor], [Customer Name], [E-Mail] as [E-Mail List] resident Input ;&lt;/P&gt;&lt;P&gt;drop table Input;&lt;/P&gt;&lt;P&gt;// Step 3 Remove Tmp table and Create a Raw Date table for load one distinct company with email listing.&lt;/P&gt;&lt;P&gt;[Raw data]:&lt;BR /&gt;noconcatenate&lt;/P&gt;&lt;P&gt;load distinct [Customer/Vendor], [Customer Name],[E-Mail List] resident Tmp;&lt;/P&gt;&lt;P&gt;drop table Tmp;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load [Customer Name],count([E-Mail List]) as Ctmp resident [Raw data] where len(trim([E-Mail List]))&amp;gt;0 group by [Customer Name] ;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load [Customer/Vendor],[Customer Name],[E-Mail List],if(len(Ctmp)=0,'Y','') as Flag resident [Raw data];&lt;/P&gt;&lt;P&gt;drop table [Raw data];&lt;/P&gt;&lt;P&gt;Input_Sales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer/Vendor, Customer Name,Row Total (SGD)&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,7&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,6&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED&lt;BR /&gt;CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Hope some one can advise.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 11:39:33 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2020-09-16T11:39:33Z</dc:date>
    <item>
      <title>Case 931 How to make my table model look nice ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744274#M591029</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have below Table model :-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulyeo11_0-1600256294149.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40647i1ABD653F9489A2DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulyeo11_0-1600256294149.png" alt="paulyeo11_0-1600256294149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Question is how to make the 3 Box combine into one Box. So that it look very neat and nice.&lt;/P&gt;&lt;P&gt;Below is the script :-&lt;/P&gt;&lt;P&gt;// Step 1 Create Raw Data&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer/Vendor, Customer Name, Email, E-Mail&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg, sales@supercom.com.sg&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg,&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg,&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg, kimhong.chong@gvt.com.sg&lt;BR /&gt;CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;// Step 2 Remove input table and Create Tmp Table and rename email field to email list. remove repeated email address.&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;load [Customer/Vendor], [Customer Name], Email as [E-Mail List] resident Input ;&lt;BR /&gt;concatenate load [Customer/Vendor], [Customer Name], [E-Mail] as [E-Mail List] resident Input ;&lt;/P&gt;&lt;P&gt;drop table Input;&lt;/P&gt;&lt;P&gt;// Step 3 Remove Tmp table and Create a Raw Date table for load one distinct company with email listing.&lt;/P&gt;&lt;P&gt;[Raw data]:&lt;BR /&gt;noconcatenate&lt;/P&gt;&lt;P&gt;load distinct [Customer/Vendor], [Customer Name],[E-Mail List] resident Tmp;&lt;/P&gt;&lt;P&gt;drop table Tmp;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load [Customer Name],count([E-Mail List]) as Ctmp resident [Raw data] where len(trim([E-Mail List]))&amp;gt;0 group by [Customer Name] ;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load [Customer/Vendor],[Customer Name],[E-Mail List],if(len(Ctmp)=0,'Y','') as Flag resident [Raw data];&lt;/P&gt;&lt;P&gt;drop table [Raw data];&lt;/P&gt;&lt;P&gt;Input_Sales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer/Vendor, Customer Name,Row Total (SGD)&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,7&lt;BR /&gt;CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,6&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED&lt;BR /&gt;CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED&lt;BR /&gt;CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Hope some one can advise.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 11:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744274#M591029</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-09-16T11:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Case 931 How to make my table model look nice ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744282#M591030</link>
      <description>&lt;P&gt;like ?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Input:

LOAD * INLINE [
Customer/Vendor, Customer Name, Email, E-Mail
CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg, sales@supercom.com.sg
CET00837-SGD, SUPER COMPONENTS (S) PTE LTD, sales@supercom.com.sg,
CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg,
CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED, contact@gvt.com.sg, kimhong.chong@gvt.com.sg
CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD
];

// Step 2 Remove input table and Create Tmp Table and rename email field to email list. remove repeated email address.

Tmp:

load [Customer/Vendor], [Customer Name], Email as [E-Mail List] resident Input ;
concatenate load [Customer/Vendor], [Customer Name], [E-Mail] as [E-Mail List] resident Input ;

drop table Input;

// Step 3 Remove Tmp table and Create a Raw Date table for load one distinct company with email listing.

[Raw data]:
noconcatenate

load distinct [Customer/Vendor], [Customer Name],[E-Mail List] resident Tmp;

drop table Tmp;

left join

load [Customer Name],count([E-Mail List]) as Ctmp resident [Raw data] where len(trim([E-Mail List]))&amp;gt;0 group by [Customer Name] ;

Final:

load [Customer/Vendor],[Customer Name],[E-Mail List],if(len(Ctmp)=0,'Y','') as Flag resident [Raw data];

drop table [Raw data];

join


LOAD * INLINE [
Customer/Vendor, Customer Name,Row Total (SGD)
CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,7
CET00837-SGD, SUPER COMPONENTS (S) PTE LTD,6
CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED
CET01610-USD, GRAND VENTURE TECHNOLOGY LIMITED
CET01999-USD,CONVERGENT SYSTEMS (S) PTE LTD
];&lt;/LI-CODE&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6240"&gt;@paulyeo11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 11:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744282#M591030</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-16T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Case 931 How to make my table model look nice ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744522#M591031</link>
      <description>&lt;P&gt;wow very interesting , just replace with Join and it work. you are ready expert.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 01:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-931-How-to-make-my-table-model-look-nice/m-p/1744522#M591031</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-09-17T01:21:56Z</dc:date>
    </item>
  </channel>
</rss>

