Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

FACT & dimension

i have a fact table and dimension table .

how to combine it?

9 Replies
MK_QSL
MVP
MVP

There should be some common field between them...

Consider that you have fact table ... Sales having below fields

CustomerID

SalesDate

SalesQty

SalesAmout etc etc

and a Dimension Table Customer with below fields..

ID

Name

Country etc etc.

rename the Customer Table's ID field as CustomerID, which will now create an association between Sales and Customer Table..

Not applicable
Author

Hi, manish

its good but i want to show the two tables into a single table in datamodel

its join or concateneate

Not applicable
Author

Hi, manish

its good but i want to show the two tables into a single table in datamodel

its join or concateneate

MK_QSL
MVP
MVP

For my example

Sales:

Load

     CustomerID,    

     SalesDate,

     SalesQty,

     SalesAmout

From TableName....

Left Join (Sales)

Load

     ID     as CustomerID,

     Name,

     Country

From TableName ....

Not applicable
Author

if we have no common fields then?

MK_QSL
MVP
MVP

Not possible to link them... ....

Let us know your tables and their fields you are talking about..

Not applicable
Author

It all depends on How the tables are related and what is your requirement on the UI to represnt the data

Not applicable
Author

It all depends on How the tables are related and what is your requirement on the UI to represnt the data

Not applicable
Author

You can do either of one depends on the Tables data attributes.