Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
everest226
Creator III
Creator III

Inline months

I have a table AAA source which has field  month as JN, Fb, MR , how do i load inline to show January , February and linked to that field  

2 Replies
Bill_Britt
Former Employee
Former Employee

HI,

You can add an inline table

 

LOAD * INLINE [
AAA, Months
JN, January
FB, February
MR, March
];

 

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Vegar
MVP
MVP

 I support @Bill_Britt  proposal using an inline, but I would probably create the Month value as an dual() to assure a better sort order of the field in my application.

Months:
LOAD 
   AAA,  
   DUAL(Month, No) as Month
INLINE [
   AAA, Month, No
   JN, January, 1
   FB, February,2
   MR, March,3
   AP, April, 4
   ...
];