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: 
santhoo_san
Partner - Creator II
Partner - Creator II

Detach a table/Graph using condition

Hi,

Can any one suggest, how to detach a table / graph based on condition.

I want to detach a single table on a tab on selection that table, it should detach only if I select that table otherwise it should be attached to the data. I dont wish to use the 'Detach' or 'Detached' option every time. Is there a way to do this by using some conditions?

Thanks

Santhosh

1 Reply
bluishjoe
Contributor III
Contributor III

You could do it with a macro, using this instruction to detach

ActiveDocument.GetSheetObject("YOUR_OBJECT_CODE").Detach

and this to attach again

ActiveDocument.GetSheetObject("YOUR_OBJECT_CODE").Attach