
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Data modelling
After loading all tables i got this data model please help me to do data model
- Tags:
- new_to_qlikview
Accepted Solutions

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Naveen,
Things to follow while creating datamodel.
1. Load only the required fields. I think fields like Phone, ContactNumber, Address, Postal Code, Country is not going to use for Analysis. If you really require rename the fields like below
Customer Table:
ContactNumber AS CustomerContactNumber
Address AS CustomerAddress
City AS CustomerCity
PostalCode AS CustomerPostalCode
Country AS CustomerCountry
Supplier Table:
ContactNumber AS SupplierContactNumber
Address AS SupplierAddress
City AS SupplierCity
PostalCode AS SupplierPostalCode
Country AS SupplierCountry
2. Load only the required tables.
This will solve most of your datamodel issues.
Hope this helps you.
Regards,
jagan.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
Change the Customer table information by adding Customer prefix in Address, city, postal code and country.
ex: Customer_Address
Same thing applicable for supplier. ex:Supplier_Address
In shipper table, rename the phone as "Shipper_phone". Shipper ID is join with order table. So you can able to get the shipper phone and name information.
Please close the thread by marking correct answer & give likes if you like the post.

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Naveen,
Things to follow while creating datamodel.
1. Load only the required fields. I think fields like Phone, ContactNumber, Address, Postal Code, Country is not going to use for Analysis. If you really require rename the fields like below
Customer Table:
ContactNumber AS CustomerContactNumber
Address AS CustomerAddress
City AS CustomerCity
PostalCode AS CustomerPostalCode
Country AS CustomerCountry
Supplier Table:
ContactNumber AS SupplierContactNumber
Address AS SupplierAddress
City AS SupplierCity
PostalCode AS SupplierPostalCode
Country AS SupplierCountry
2. Load only the required tables.
This will solve most of your datamodel issues.
Hope this helps you.
Regards,
jagan.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Rename your suppliers attributes from Supplier Table except SupplerID will resolve your issue.
Regards
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sai,
Use below Script. It may useful.
Category:
LOAD CategoryID,
CategoryName,
Description
FROM
(ooxml, embedded labels, table is Category);
Customer:
LOAD CustomerID,
ContactNumber as Customer_ContactNumber,
Address as Customer_Address,
City as Customer_City,
PostalCode as Customer_PostalCode,
Country as Customer_Country,
CustomerName
FROM
(ooxml, embedded labels, table is Customer);
Employee:
LOAD EmployeeID,
LastName,
FirstName,
BirthDate,
Photo,
Notes
FROM
(ooxml, embedded labels, table is Employee);
Order:
LOAD EmployeeID,
ShipperID,
CustomerID,
OrderID,
OrderDate
FROM
(ooxml, embedded labels, table is Order);
OrderDetail:
LOAD OrderID,
ProductID,
OrderDetailID,
Quantity
FROM
(ooxml, embedded labels, table is OrderDetail);
Product:
LOAD CategoryID,
ProductID,
SupplierID,
ProductName,
Unit,
Price
FROM
(ooxml, embedded labels, table is Product);
Shipper:
LOAD ShipperID,
Phone,
ShipperName
FROM
(ooxml, embedded labels, table is Shipper);
Supplier:
LOAD SupplierID,
Phone as Supplier_Phone,
ContactNumber as Supplier_ContactNumber,
Address as Supplier_Address,
City as Supplier_City,
PostalCode as Supplier_PostalCode,
Country as Supplier_Country,
SupplierName
FROM
(ooxml, embedded labels, table is Supplier);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use Qualify/Unqualify options during Suppliers/Customers tables load.
qualify *;
Unqualify CustomerID,CustomerName;
Customers:
Load * from Customers;
Unqualify *;
qualify *;
Unqualify SupplierID,SupplierName;
Supplier:
Load * from Supplier;
Unqualify *;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for ur valuable time.........here i don't have any fact table.... should i create it or no need?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9666982227 please ping me in whats app bro...i need ur help

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there is no fact table, then no need to load any tables.
My suggestion for you is, before learning Qlikview you have to study some basic concepts of Datawarehousing like Dimension, Measure, Fact Table, Dimension etc.
This helps you in understanding the Qlikview concepts easily.
Regards,
Jagan.
