You can create variables in the script in the Data load editor. Or you can use the qsVariable extension. The latter is probably easier to use. You can define the variable and add alternative values for it. You can then use the variable as dimension just like in Qlikview, i.e. =$(vMyVariable).