Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

atafsson
New Contributor III

Concatenate variable-value

Hi,

I'd like to concatenate the value from a variable into a table. How do I do??

I tried this, but it does'nt work:

LET Domain1 = 'COMPANYNAME';

LET User1 = 'USERNAME1';

TAB:

LOAD * INLINE [

    domain2, user2

    DOMÄNTEST, ANVTEST
]
;

Concatenate (TAB)
load '$(Domain1)' as domain2,
         '$(User1)' as
user2
;

Tags (2)
1 Solution

Accepted Solutions

Re: Concatenate variable-value

Hi

Try like this

LET Domain1 = 'COMPANYNAME';

LET User1 = 'USERNAME1';

TAB:

         LOAD * INLINE [

    domain2, user2

    DOMÄNTEST, ANVTEST

];

load '$(Domain1)' as domain2,

         '$(User1)' as user2 Resident TAB;

Hope it helps

5 Replies

Re: Concatenate variable-value

Hi

Try like this

LET Domain1 = 'COMPANYNAME';

LET User1 = 'USERNAME1';

TAB:

         LOAD * INLINE [

    domain2, user2

    DOMÄNTEST, ANVTEST

];

load '$(Domain1)' as domain2,

         '$(User1)' as user2 Resident TAB;

Hope it helps

atafsson
New Contributor III

Re: Concatenate variable-value

Thank you Mayil!

srikanthsri1
Valued Contributor

Re: Concatenate variable-value

i have same requirement but bit different. i want field values of list boxes changes upon selection of different buttons (using variable)

the reason why i need this is i'm conditionally enabling the expresions based of list box fields

plz find the attached sample application

Thanks in Advance

have a good day

Re: Concatenate variable-value

HI

Are you want something like attached file?

srikanthsri1
Valued Contributor

Re: Concatenate variable-value

thanks got it

Community Browser