Discussion board where members can get started with Qlik Sense.
I am building a new dashboard, so here I need to make up the numbers for simulation. But I am new to LOAD scripts.
For the desired result, I want to insert the random numbers in the column of 'Yield'.
What should the LOAD script look like to make it happen? It's possibly to be done in one table, instead of creating two and combining them together?
What if the data source (i.e. Customer, Product) is from Excel file, what LOAD script should I put on, to fill in the random numbers in column 'Yield' ?
Any reference link or document that specializes in LOAD script? Appreciate the help!
Desired result :
LOAD * INLINE [
Rand()*(1-0.80) + 0.80 as RandomNumber
You can add calculated fields to load part of Inline script.
,Rand()*(1-0.80) + 0.80 as Yield
Hope it helps.
View solution in original post
Thanks! Can't believe that's so easy!