Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to put 2 different values for 1 variable in the LoadScript of a report.
I am using the syntax with let -
LET Customer_name ='XXXX';
LET Customer_name ='YYYY';
But when I load data, I have data only for one customer but not the second one as well.
@LearnFreak Why under one same name? cant we use 2 different variables? And how are you planning to use them in the script?
I want to load data only for those 2 customers....
@LearnFreak then in that case you can use inline load, something like below:
Table1:
Load * Inline [
Customer_name
XXXX
YYYY
];
I tried another way and it worked...
I created 2 variables variable 1 and variable 2 and in the Load statement I used OR for both variables and it loaded data perfectly well 🙂