Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

2 Replies
er_mohit
Master II
Master II

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

or whatever format you want write that

hope it helps

Anonymous
Not applicable
Author

Hi,

Thanks for the response.

It is still not being added to the chart.