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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to choose 'suppress when value is Null' option in Macro?

Dear all,

I want to choose 'suppress when value is Null' option in Macro. How can I write the code?

In Chart properties->Dimensions->Setting for selected dimension------->'suppress when value is Null'

1 Solution

Accepted Solutions
Not applicable
Author


set chart = ActiveDocument.Activesheet.CreateBarChart
chart.AddDimension "ProductType"
chart.AddExpression "sum(Amount)"
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).NullSuppression = false
chart.SetProperties cp

View solution in original post

2 Replies
Not applicable
Author

here , how to choose the option in macro script.?

Not applicable
Author


set chart = ActiveDocument.Activesheet.CreateBarChart
chart.AddDimension "ProductType"
chart.AddExpression "sum(Amount)"
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).NullSuppression = false
chart.SetProperties cp