Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Data Model Problem

Hi,

Order Header:

LOAD

            Order ID,

            Order Date,

            Customer ID,

           SalesRepID,

           Sub Total,

           Modified Date,

           Total Due 

FROM Order Header;

Item Request:

LOAD

               ItemRequestID,

               ItemRequestTypeID,

              Order ID,

              Company

              Modified Date,

              Customer Name

FROM Item Request;

Customer:

LOAD

               Customer ID,

               Customer Code,

               Customer Name,

               Modified Date

               SalesRepID

     FROM  Customer;

Order Version:

LOAD

                Version Id,

                Order ID,

               Total Due   

               Modified Date    

FROM  Order Version;

How to design Data Model?

Ramu

Please Help Me

Thank You.

8 Replies
agni_gold
Specialist III
Specialist III

  • Customer is dimension
  • Order Header  is dimension ,Left Join Order Header with Order Version to make One Dimension Order_Header
  • Item Description is your fact

agni_gold
Specialist III
Specialist III

Or send me any specific requirement, you want

engishfaque
Specialist III
Specialist III

Dear Ramanjaneyulu,

I hope you are looking for this one.

Kindly find attached App and Data Model.

Kind regards,

Ishfaque Ahmed

Not applicable
Author

Thank you

Not applicable
Author

Thank you

jonathandienst
Partner - Champion III
Partner - Champion III

How big is your data set?

The queries you posted are quite well structured and may be sufficient. QV will automatically create the associations on the common field names, but with that date I see no composite keys or a need to do any transformations.

If your data set is large (>>10 million rows or more), then some optimisation may be necessary, subject to testing.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
anat
Master
Master

PFA...

jonathandienst
Partner - Champion III
Partner - Champion III

If your question has been answered, please close off this thread by indicating an answer.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein