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: 
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.