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

Clear dimensions with expressions using macro

Hi,

I need to create a trigger which clears data in my straight table each time a selection in my multi box is made.

I've implemented a macro with the following types of expressions:

     ActiveDocument.GetSheetObject("LB01").Clear

     ActiveDocument.GetSheetObject("CH01").ClearMemberFields

My dimensions with dates have been edited to suit a particular format, and these dimensions are the only fields which don't get cleared when using the .ClearMemberFields command.

Is there another command which clears dimensions which are expressions of the original fields?

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Nope. Unless you use ActiveDocument.ClearAll.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Nope. Unless you use ActiveDocument.ClearAll.


talk is cheap, supply exceeds demand
Not applicable
Author

That seemed to fix it.  Thanks.