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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

how to create Key with Inline Data?

Hi guys,

i wonder how to create key for Inline Data????

Customer_Details:

LOAD * INLINE [

    CustomerID, State, Customer

    C001, State A, Company A

    C002, State B, Company B

    C003, State C, Company C

    C004, State D, Company D

the CustomerID, Customer fields are available in another table. so i wanted to create something like:

CustomerID & '|' & Customer  as key? where should i add in this line?


Rgds


Jim

1 Solution

Accepted Solutions
sunny_talwar

May be in the preceding load:

Customer_Details:

LOAD *,

         CustomerID & '|' & Customer  as Key

INLINE [

    CustomerID, State, Customer

    C001, State A, Company A

    C002, State B, Company B

    C003, State C, Company C

    C004, State D, Company D

];

View solution in original post

2 Replies
sunny_talwar

May be in the preceding load:

Customer_Details:

LOAD *,

         CustomerID & '|' & Customer  as Key

INLINE [

    CustomerID, State, Customer

    C001, State A, Company A

    C002, State B, Company B

    C003, State C, Company C

    C004, State D, Company D

];

jim_chan
Specialist
Specialist
Author

Hello Sunny ,

I seee......

Thank you !

Rgds,

Jim