Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ajithsachin
Partner - Contributor II
Partner - Contributor II

Field Values As Variables

Hi..

     I have a load statement

    

     LOAD * INLINE [

         variable_name

         var_first

         var_second

         var_third

     ];

     i have created the three variables in qlikview application with value 1,2,3 respectively.

     i want to display all the variables value in a pivot table.Variable names i will get from the field 'variable_name'

     i want to convert the fields as variables value.

     Can anybody help please..

5 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

Hi, check the attached sample...

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

Thanks Fernando..

Is it possible to show the values of variables from the filed 'variable'.so that i can load n number of variables with out changing the expression in the design part..

fosuzuki
Partner - Specialist III
Partner - Specialist III

No, you can't...

Maybe you can use Inputfields instead of variables... What is your requirement?

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

i am creating a qv document for Return Of Investment kind of project.

in that around 60 variables are there , that user can change from front end.

in this case i have to create the inputfield manualy around 60 tmes.

is there any other way to do that..?

fosuzuki
Partner - Specialist III
Partner - Specialist III

I don't understand when you state: "I have to create the inputfield manually around 60 times"... I think it is possible to do it in both ways: variables and inputfields. Either way, you will have to manually create all the 60 variables or inputfields...