Databases Reference
In-Depth Information
Document navigation with alternate states
Just as with Set Analysis, the use of alternate states can become a bit confusing for
the end users if we are not careful. It is very important to develop our QlikView
documents in such a way that every state-based object is properly labeled. This will
help the user to easily identify how each calculation is being performed and the
record set it is based on.
One way we can do this is by adding current selections boxes to represent each
alternate state at any given time. Look at the image with which we started this
section and you'll see how important they are.
Clearing selections in an alternate state
By default, all of the buttons in the navigation toolbar affect all states. That is, when
we click on the Clear button, all selections from all states are cleared. Similarly, the
Back and Forward commands apply to all selections in all of the states.
However, it is possible to clear the selections in one specific state without affecting
the others. This is accomplished via a menu item found under the Clear button
drop-down menu, as shown below:
Always validate
Set expressions and alternate states can can get very complex, so it's a good practice
to always validate the results thoroughly. Here are a few ways in which we can
do that:
• When using calculations in the element list definition, take the individual
calculation out of the set expression and enter it into a text object to visualize
its result and ensure that it's what you expect.
 
Search WWH ::




Custom Search