Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

geogou1973
New Contributor II

How can i read data from the fields of a chart

Hello.

I have a script code that reads data from a chart. This code reads only the first column.

Because i don't understand the code, how can i read and the other columns.

I attached an example.

Thank you in advance.

6 Replies

Re: How can i read data from the fields of a chart

The action is performed by a macro,

go in tools and edit module, you will see the code that let you copy first row content

Hope it helps

geogou1973
New Contributor II

Re: How can i read data from the fields of a chart

Can you explain what do you mean ?

In the script i have in the module i want to read the data of the second and third column of the chart and shown them in a msgbox.

Re: How can i read data from the fields of a chart

In the table prices add simply an expression and set its value to 1.

Now you will see in the table on the right all the values selected in the list box on the left and if you click test button messagebox will show all values

geogou1973
New Contributor II

Re: How can i read data from the fields of a chart

I don't understand you again.

Can you send me the script with the attached file with the changes ?

Re: Re: How can i read data from the fields of a chart

Here it is, just press test button ...

geogou1973
New Contributor II

Re: How can i read data from the fields of a chart

Alessandro maybe i was not so clear.

I want to read the data that have in the chart in the example i send reads the store "101" and returns it in msagbox also i want i want in another module script to read

the data of the other column  Item_id "999999" and in another script to read the data of the fourth column new_price _id "10,80"

Community Browser