Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

Nope. Unless you use ActiveDocument.ClearAll.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Nope. Unless you use ActiveDocument.ClearAll.


talk is cheap, supply exceeds demand
Not applicable
Author

That seemed to fix it.  Thanks.