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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide expressions in a table with a macro

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!

2 Replies
Not applicable
Author

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.

Not applicable
Author

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