Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QlikView Essentials

You're reading from   QlikView Essentials Want to solve your Business Intelligence headaches? Learn how QlikView can help, and discover a powerful yet accessible BI solution that lets you harness your data

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781784397289
Length 166 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Chandraish Sinha Chandraish Sinha
Author Profile Icon Chandraish Sinha
Chandraish Sinha
Arrow right icon
View More author details
Toc

Mapping load – Territory table


The objective here is to add TerritoryDesc to the Orders table and remove the Territory table from the data model. This will help in data model cleanup as one table will be reduced:

  1. As a best practice, all mapping loads should be in one tab. This tab should be the very first tab in the script after the Main tab.

  2. Open the QlikView file QlikViewEssentials.qvw that you have been using so far. Save as QlikViewEssentials_Chap3.qvw.

  3. Invoke the script editor by pressing Ctrl + E.

  4. Create a new tab and name it Mapping. Move this tab all the way to the left by using the Promote Tab icon as highlighted in the following screenshot. It should be your tab after the Main tab.

  5. Navigate to the Dimensions tab and cut the load script of SalesTerritory and paste it in the Mapping tab.

  6. Navigate to the Mapping tab, change the comment, and name the table as Territory_Map.

  7. Prefix the load statement with the Mapping keyword. This will treat the SalesTerritory table as a mapping table. This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image