Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to use variable values as field name??

hi there,

i want to use variable values as a filed name. is it possible??

if yes please share your ideas.

thank you

4 Replies
krishnacbe
Partner
Partner

Yes we can use the values as field name.

But explain what is your requirement to give more details.

lnimeshkrish
Contributor II
Contributor II

Define the variable in the name field or write the variable expression in the name field.

Clever_Anjos
Employee
Employee

LET myvar='afield';

LOAD

    field1,

    $(myvar) as [$(myvar)]

from yourqvd(qvd);

Not applicable
Author

ok,  i have variables and If i want use to use it for calculation can i use it like this

=XIRR(($(vValue2))($(vValue)))

vVlaue and vValue2 are the variable holding date and amount.