Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

Data Model Issue

Hi Community,

I have query regarding data model.

I have product table with productname and sales field, but i dont have month field as like :

but i want to add month field in that table like :

How can i achieve this, please help me.

Thanks,

Villyee

Labels (1)
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Table1:

LOAD ProductName, Sales

FROM ...

JOIN (Table1)

LOAD * INLINE [

Month

Jan

Feb

Mar

];


talk is cheap, supply exceeds demand
Anonymous
Not applicable

Would something like this help ?

Data :

LOAD * INLINE [

    ProductName, Sales

    A, 100

    B, 150

    C, 120

];

outer join (Data)

LOAD * INLINE [

    Month

    Jan

    Feb

    Mar

];

mohammadkhatimi
Partner - Specialist
Partner - Specialist

Table1:

LOAD ProductName, Sales

FROM ...

JOIN (Table1)

LOAD * INLINE [

Month

Jan

Feb

Mar

Apr

May

];

Hope this Helps you.

Regards,

Mohammad