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: 
Not applicable

Adding all the fields of table to table box object dynamically!

Hi All,

Instead of adding the field manually. I would like to add all the fields from its respective table and create the table box. Can someone help me out to achieve this please.

sub create_chart()


set Sheet=ActiveDocument.ActiveSheet

set chart = Sheet.CreateStraightTable
chart.AddDimension "Product"
chart.AddExpression "sum(Amount)"

end sub

Thanks,
Attitude

0 Replies