Sometimes you may have some data that you want to store just within the load script and not have a completely separate data source. You can use an inline table to do this:

TableName:<br></br>
Load * inline<br></br>
[<br></br>
Month,Quarter<br></br>
1,Q1<br></br>
2,Q1<br></br>
3,Q1<br></br>
4,Q2<br></br>
5,Q2<br></br>
6,Q2<br></br>
7,Q3<br></br>
8,Q3<br></br>
9,Q3<br></br>
10,Q4<br></br>
11,Q4<br></br>
12,Q4<br></br>
];```

 

As you can see the fields are comma seperated. This goes directly in the load script and will show up as a new table called ‘TableName’ in your table viewer. You can do all the standard Qlik Load Script functions in the Load * statement.