Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi friend's my name is subbu can u pls tell me any one what is alternative state and what is use of alternative
cloud please tell me any one with examples
Hi Subbu
The following is from the QlikView Help contents.
I hope this helps.
Regards
Agis
You can use Alternate States to perform comparative analysis between sets of multiple data items, for example for basket analysis purposes. A state holds a set of selections.
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 functionality is not accessible in the load script.
Note!
Alternate States functionality is enabled by a QlikView developer and should be used with caution as it can cause great confusion with end-users as there is no automatic on-screen indication that objects or expressions are in, or reference, alternate states. It is up to the QlikView developer to provide this information to the end-user using the StateName() function.
Do the following to enable and set alternate states:
Now the QlikView developer can create new Alternate 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.
Do the following to assign a state to an object:
The object will now be independent from the rest of the document in terms of selection, unless other objects are set to the same state.
There are two states that are always available; default state and inherited. The default state is the state where most QlikView usage occurs and is represented by $. The QlikView document is always in the default state. Objects can inherit states from higher level objects, such as sheets and containers. This means that states are inherited as such: Document - Sheet - Sheet Objects. The sheets and sheet objects are always in the inherited state unless overridden by the QlikView developer.
Hi,
alternate states can be used to make comparative analysis in QlikView. In practice, you can apply "states" to multiple objects in QlikView, so one object responds to a specific user selection while another object responds to another user selection. E.g. two charts can have different facts or dimensions presented simultaneously dependent on users' selection. Users might want to perform this kind of analysis by 'comparing' two copies of a chart next to each other, instead of having all the facts on a single chart.
For example:
Chart 1: presents sum of sales, where the selected dimension is region Europe.
Chart 2: presents sum of sales, where the selected dimension is region Asia.
In this case there would be too many countries to use a single chart, it would be better to use two charts using alternate state (as it allows you to make different selections for the two charts).
Also worth knowing, altermate state is currently only available in QlikView. Comparative analysis is meant to work differently in Qlik Sense.