Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
I'm wondering if it's possible to use a macro to show or hide expressions in a table. I want to avoid swapping between different tables. For example: Why doesn't it work to hide an object with 'objectname.hide'?
Would appreciate some help!
 
					
				
		
The API for that is a little more complicated. The expressions are in an array and it's not the easiest thing to manipulate. Check out this recent topic: http://community.qlik.com/forums/t/24957.aspx. I included an example of how to hide and show the third expression in a chart. You can modify it to fit your needs, but it may take a little fiddling to get right.
 
					
				
		
Hi,
It 's possible to add dimension or expression using Macro.
For example, you can add a dimension using follow expression :
MyObject.addDimension mySelections.Item(i).text
