Skip to main content
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 - Specialist III
Partner - Specialist III

Yes we can use the values as field name.

But explain what is your requirement to give more details.

Anonymous
Not applicable
Author

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.