Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
IMPORTANT security patches for GeoAnalytics Server available to download: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Alternate state, Detach & Unliking object

Hello All,

Can any one tell me whats difference between

Alternate state

Detach &

Unliking object

and also what option should be used when.

1 Solution

Accepted Solutions
vardhancse
Specialist III
Specialist III

Hi,

Alternate states:(Comparative analysis)

QlikView has allowed users to detach an object from the underlying data model for quite some time now.

When an object is detached that object no longer responds to user selections. The user can then re-attach

the object and it instantly updates to reflect the current state of the selections. Alternate states are similar

to this. The QlikView developer can create multiple states within a QlikView document and then apply

these states to specific objects within the document. The end-user can create copies of these objects

(server objects) and then put those objects into different states.

The most important difference between detach and alternates states is that ALL objects in a given

state will respond to user selections made in that state. Objects in a given state are not affected by

user selections in the other states.

View solution in original post

10 Replies
mohammadkhatimi
Partner
Partner

Detach (Chart)

The chart is frozen in its current state and will not change when further selections are made.
A detached chart is marked with (Detached) after the title.
The chart can be re-attached with the Attach command

vardhancse
Specialist III
Specialist III

Hi,

Alternate states:(Comparative analysis)

QlikView has allowed users to detach an object from the underlying data model for quite some time now.

When an object is detached that object no longer responds to user selections. The user can then re-attach

the object and it instantly updates to reflect the current state of the selections. Alternate states are similar

to this. The QlikView developer can create multiple states within a QlikView document and then apply

these states to specific objects within the document. The end-user can create copies of these objects

(server objects) and then put those objects into different states.

The most important difference between detach and alternates states is that ALL objects in a given

state will respond to user selections made in that state. Objects in a given state are not affected by

user selections in the other states.

mohammadkhatimi
Partner
Partner

Alternate States

QlikView allows users to detach a chart from the underlying data model. When a chart is detached, the object no longer responds to user selections. When the user re-attaches the object, it instantly updates to reflect the current state of the selections.

Alternate States are similar to this. The QlikView developer can create multiple states within a QlikView document and apply these states to specific objects within the document. The end-user can create copies of these objects (server objects) and then put those objects into different states.

The most important difference between Detach and Alternate States is that ALL objects in a given state will respond to user selections made in that state. Objects in a given state are not affected by user selections in the other states.

Alternate States are not accessible in the load script. They are a UI feature.

The developer invokes the Alternate States dialog from Alternate States... button on the Document Properties: General tab. The QlikView developer can create any number of states within the QlikView document and provides a name for each state created. Once Alternate States functionality is enabled, the QlikView developer can also create new states from within screen objects. End-users who access QlikView documents from a QlikView Server can make use of Alternate States but cannot create Alternate States.

Note:  Mostly use for Comparitive Analysis

vardhancse
Specialist III
Specialist III

We can see more details in the release notes.

Qlikview 11 build 11414 SR2 Release Notes.

PFA.

Not applicable
Author

Detach: Detach doesn't allow any selections on the object

mohammadkhatimi
Partner
Partner

Unliking object:-

Examples are in attachment

PFA.


Hope this will hepls you...!!


Regards,

Mohammad

daniel_kusiak
Creator II
Creator II

Linked objects - it means that qlikview treats objects as one object with the same properties but in a different location. Trouble is (at least for me) is that I never really can unlink object. I see that objects are linked  - (2 linked object) in caption, I click unlink object but they remain linked...

vardhancse
Specialist III
Specialist III

Coming to Unlinking:

Say we have a scenario like one text object was being repeated in the entire dashboard of sheets having some around 20.

So when ever we change the property of text object in one sheet, we need to change for all the 20 sheets.

if we copy the text object from sheet 1 and paste as linked object, then property change if text object in one sheet will reflect in all the 20 sheets.

neetha_p
Master
Master

Hi Vrushali,

Alternate State is the ability to compare multiple selections from the same data to each other. Qlikview developer can create multiple states within a QlikView document and then apply these states to specific objects within the document. This feature can be utilized to compare multiple groups of,

for example, sales. It is also useful to compare selected products vs the rest of the products. you can compare the sales of different products to sales in other countries or different product groups for a particular year 2011 side by side in the same charts.

It allows to create a named states that operates independently to each other.


Refer to :


http://www.learnqlickview.com/alternate-states-in-qlikview/

QlikView – Alternate States – part1 | Learn QlikView

See Product Grouping tab in attached document.


Detach : When a chart is detached it is frozen in its current state and will not change when further selections are made by users.By default all charts are attached and are effected by the selections in filters user makes.


Unlinking an object: Just use the context-menu of the object and go to Linked Objects => Unlink This object

Linked objects share the same object ID. If an object will be unlinked a new object ID will be assigned to the unlinked object.

When two or more objects are linked they share all properties with the exception of size, position and display state (normal, maximized, minimized).
When you change the properties of one object the change is immediately reflected in the other linked objects. Linked objects may reside on the same sheet or on different sheets.

Once object is unlinked, properties are not shared anymore and changes in properties are not reflected on other objects.


Regards

Neetha