Can you please suggest how to assign Cals dynamically in qlikview
You can do this by following steps:
QMC -> System -> Setup -> Licenses -> Qlikview Server -> Client Access Licenses-> Enable All Dynamic CAL Assignment option.
Apart from what balrajahlawat suggested, keep in mind the flow of License allocation.
Go through the below post for more details.
QlikView CAL Access Flow
Session and Usage CALs provide something that can be called "dynamic (re-)assignment". The others only provide you with dynamic "first-time" assignment. Once assigned, Named and Document CALs stay assigned until you (manually) remove the assignment.
Retrieving data ...