Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

dreamer78692
Contributor

Add calculated dimension via a macro

Hi,

I currently have the following which works:

chart.AddDimension "ScatterDate"

And now I am trying to add a calculated dimension like so:

chart.AddDimension "=Date(ScatterDate)"

However, this does not work, nothing is added to the chart.

Any assistance willl be greatly appreciated.

KInd Regards

Dreamer78692

Tags (3)
2 Replies
er_mohit
Honored Contributor II

Re: Add calculated dimension via a macro

chart.AddDimension "=Date(ScatterDate,'DD-MM-YYYY')"

or whatever format you want write that

hope it helps

dreamer78692
Contributor

Re: Add calculated dimension via a macro

Hi,

Thanks for the response.

It is still not being added to the chart.

Community Browser