Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Concat set and let variables

Hi all,

hopefully should be simple fix here.

I have, say 3 variables in the below arrangement

Let vToken = '123ABC'

Let vName = 'Sam'

Set vHash = =only({< [Date] = {$(vToday)}>}Hash);

i want to then concatenate them into a single variable, this is how i do it but its not working.

Let vData = vToken & vName & vHash

however this returns 123ABCSam=only({< [Date] = {$(vToday)}>}Hash).

does anyone know where ive gone wrong?

1 Solution

Accepted Solutions
Not applicable

for use a only on script you need agregate something

example

load Distinc Hash from ... where date = today();

let vHash = peek('Hash',table) ;

Let vData = vToken & vName & vHash

View solution in original post

4 Replies
ecolomer
Master II
Master II

Not applicable

for use a only on script you need agregate something

example

load Distinc Hash from ... where date = today();

let vHash = peek('Hash',table) ;

Let vData = vToken & vName & vHash

samuel_brierley
Creator
Creator
Author

Thanks that's got it.

a decent solution